Open leoq-ardanlabs opened 1 year ago
Issue summary:
In values.yaml, I provide tls.crt and tls.key under certificate secrets (these values are from the example files in this repo) https://github.com/timescale/helm-charts/blob/main/tests/custom_secrets.yaml:
values.yaml
tls.crt
tls.key
tls.crt: | LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZCVENDQXUyZ0F3SUJBZ0lVWE9BR3 ... tls.key: | LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUpSQUlCQURBTkJna3Foa2lHOXcwQk ... certificateSecretName: ""
But these provided values are not being used, helm continue to create self signed certs.
This is the command I run to get the secret:
kubectl get secret -n dev ugc-go-rest-service-stats-db-certificate -o json | jq -r '.data."tls.crt"'
Not sure if this is related, but this does seem to work when using certificateSecretName
certificateSecretName
certificate: tls.crt: "" tls.key: "" certificateSecretName: "ugc-go-rest-service-stats-db-tls" # Same values, but create the secrets ahead of time
Issue summary:
In
values.yaml
, I providetls.crt
andtls.key
under certificate secrets (these values are from the example files in this repo) https://github.com/timescale/helm-charts/blob/main/tests/custom_secrets.yaml:But these provided values are not being used, helm continue to create self signed certs.
This is the command I run to get the secret:
Not sure if this is related, but this does seem to work when using
certificateSecretName