Feature state: 1.1.0
extraSecrets value in Kubedeploy allow for deploying multiple custom Secrets objects.
It also allows automatic mounting of Secretes in all containers of a Pod by definig cusom mount parametars.
extraSecrets in Kubedeploy will not deploy any Secrets objects.
However, when defining them under this value, chart will automatically prepend
kubedeploy.fullname to any defined Secret object to prevent collisions with other releases.
Define custom extraSecrets
As a result of the above example, Kubdeploy will create three extra Secrets objects named:
First Secret will also be mounted inside all of the Pod's containers at
/mnt/secret-vol0 path exposing
key as file on
type parametar can be any of the Kubernetes Types of Secret. However, it is up to the end user to define required keys in the
data parametar for the Secret type being deployed.
type is omitted, Secret type will default to
Common usecase in the above scenario would be creating and automatically mounting any configuration files or secretes your application might need during its runtime.