ydb-kubernetes-operator icon indicating copy to clipboard operation
ydb-kubernetes-operator copied to clipboard

annotation for mount secret volume with custom CA certificate

Open kobzonega opened this issue 2 years ago • 0 comments
trafficstars

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • [ ] Bugfix
  • [x] Feature
  • [ ] Code style update (formatting, renaming)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Documentation content changes
  • [ ] Other (please describe):

What is the current behavior?

No way to mount custom ca-certificates bundle in container without usage of initContainer

Issue Number: YDBOPS-8714

What is the new behavior?

  • annotation ydb.tech/ca-bundle-secret with value as secretName which mount into container systemCertsDir /etc/ssl/certs

Other information

Example usage with trust-manager bundle(https://cert-manager.io/docs/tutorials/getting-started-with-trust-manager/#mount-trust-bundle-to-application-with-automatic-use))

kobzonega avatar Nov 14 '23 15:11 kobzonega