Skip to content

Commit

Permalink
Add ingress labels and annotations (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
danduk82 authored Apr 5, 2023
1 parent e77e6f0 commit 16163ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
- name: custom-pod
repository: https://camptocamp.github.io/helm-custom-pod/
alias: geoserver
version: 0.5.0
version: 0.5.1
2 changes: 2 additions & 0 deletions examples/datadir/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ geoservercloud:
pullPolicy: IfNotPresent
geoserver:
ingress:
annotations:
my-annotation: 'coucou'
enabled: true
hostGroups:
host1:
Expand Down
6 changes: 3 additions & 3 deletions tests/expected-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ metadata:
app.kubernetes.io/managed-by: Helm
type: Opaque
data:
rabbitmq-password: "bVFUcDJMNnRhcmdGQ3BYaA=="
rabbitmq-password: "V2dhZFFWUDBFNk81dUFSSA=="

rabbitmq-erlang-cookie: "eVlGelU5RGJjbWhZTjg1T3JNblRqeE1sNE9qNVZWTTI="
rabbitmq-erlang-cookie: "dmRJNFd6WG51Q2R0Qk0zNXlERURSVFZGS3FBUUNjVnQ="
---
# Source: examples-common/templates/cm_db_jndi.yaml
# NB: this suppose that a docker postgis container
Expand Down Expand Up @@ -308,7 +308,7 @@ spec:
app.kubernetes.io/managed-by: Helm
annotations:
checksum/config: fc0b91f081a2da0a894a7149dd689d8172b001c909cc4ddd69dc0756d5a23efe
checksum/secret: 590a769fda8661b9184fd19411256e6f0d4d9866a88f4bc91c804744b2261907
checksum/secret: 9d4473c40defb95f6b1b257c2e25be1de3cf57433aa0d1aacadb383e8a4e6e3d
spec:

serviceAccountName: gs-cloud-common-rabbitmq
Expand Down
2 changes: 2 additions & 0 deletions tests/expected-datadir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,8 @@ metadata:
app.kubernetes.io/name: geoserver
app.kubernetes.io/instance: gs-cloud-datadir
app.kubernetes.io/component: main
annotations:
my-annotation: coucou
spec:
# Add tls only if ingress.tls.enabled is set to true and the other fields are complete.
rules:
Expand Down

0 comments on commit 16163ae

Please sign in to comment.