generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
If you look at all the places where the secret name oci-native-ingress-controller-tls is being used, they are as follows.
file: helm/oci-native-ingress-controller/templates/_helpers.tpl
line 69: {{- printf "%s-tls" (include "oci-native-ingress-controller.fullname" .) -}}
file: helm/oci-native-ingress-controller/templates/webhook.yaml
line 20: secretName: oci-native-ingress-controller-tls
file: deploy/manifests/oci-native-ingress-controller/templates/deployment.yaml
line 44: secretName: oci-native-ingress-controller-tls
file: deploy/manifests/oci-native-ingress-controller/templates/webhook.yaml
line 22: secretName: oci-native-ingress-controller-tls
Secret name is not a fixed value in _helpers.tpl, so there is an inconsistency overall.
To prevent any errors, I would like you to update them according to a single consistent rule, as shown below.
Before
file: helm/oci-native-ingress-controller/templates/_helpers.tpl
line 69: {{- printf "%s-tls" (include "oci-native-ingress-controller.fullname" .) -}}
After
file: helm/oci-native-ingress-controller/templates/_helpers.tpl
line 69: oci-native-ingress-controller-tls
Thanks.
Metadata
Metadata
Assignees
Labels
No labels