-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Open
Labels
mongodbon-holdIssues or Pull Requests with this label will never be considered staleIssues or Pull Requests with this label will never be considered staletech-issuesThe user has a technical issue about an applicationThe user has a technical issue about an application
Description
Name and Version
bitnami/mongodb 13.9.4
What architecture are you using?
amd64
What steps will reproduce the bug?
When setting values.yaml with the following values:
tls:
enabled: true
autoGenerated: false
replicaset:
existingSecrets:
- mongodb-tls-0
- mongodb-tls-1
- mongodb-tls-2
Each secret must have a field ca.crt
, as documented in the values.yaml
comment. However, the Jetstack cert-manager
(arguably a very common if not "standard" kubernetes application) does not produce such a field. Without the ability to inject the field manually in the helm chart, there is no integration capability out of the box.
Are you using any custom parameters or values?
values:
tls:
enabled: true
autoGenerated: false
replicaset:
existingSecrets:
- mongodb-tls-0
- mongodb-tls-1
- mongodb-tls-2
What is the expected behavior?
Either the helm chart can deploy without a ca.crt
, or it would provide a way to inject one.
What do you see instead?
The Pods fail to Init
.
Running the command:
kubectl logs mongodb-0 -n mongodb -c generate-tls-certs
I see the output:
cp: cannot stat '/certs-0/ca.crt': No such file or directory
chmod: cannot access '/certs/mongodb-ca-cert': No such file or directory
Additional information
No response
dtrts, guidou44, Alixxxxxxx and dimm0
Metadata
Metadata
Assignees
Labels
mongodbon-holdIssues or Pull Requests with this label will never be considered staleIssues or Pull Requests with this label will never be considered staletech-issuesThe user has a technical issue about an applicationThe user has a technical issue about an application