Skip to content

Commit

Permalink
Add annotation on test ingress (#111)
Browse files Browse the repository at this point in the history
* Add annotation on test ingress

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
danduk82 and pre-commit-ci[bot] authored Apr 4, 2023
1 parent 114f1db commit 6aeb754
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ metadata:
app.kubernetes.io/name: custom-pod
app.kubernetes.io/instance: custom
app.kubernetes.io/component: main
annotations:
example-annotation: coucou
spec:
# Add tls only if ingress.tls.enabled is set to true and the other fields are complete.
tls:
Expand Down Expand Up @@ -583,6 +585,8 @@ metadata:
app.kubernetes.io/name: custom-pod
app.kubernetes.io/instance: custom
app.kubernetes.io/component: main
annotations:
example-annotation: coucou
spec:
# Add tls only if ingress.tls.enabled is set to true and the other fields are complete.
tls:
Expand Down
2 changes: 2 additions & 0 deletions tests/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ affinity: {}

ingress:
enabled: true
annotations:
example-annotation: 'coucou'
hostGroups:
host1:
tls:
Expand Down

0 comments on commit 6aeb754

Please sign in to comment.