When I deploy an application that has a secret (a configuration file, for example), I want to be able to update the secret payload. I would like to be instructed how to deploy that update as well. Example workflow:
-
create secret
$ oc secret new mysecret config.yaml=/path/to/my/config.yaml
-
deploy application that mounts secret
-
update secret contents
$ vi /path/to/my/config.yaml
-
update secret object
$ oc secret update mysecret config.yaml=/path/to/my/config.yaml
secret "mysecret" updated.
To deploy the update, run "oc deploy <deploy_config> --latest" on any deployment config that references this secret.
-
User re-deploys per instruction
oc deploy <deploy_config> --latest
When I deploy an application that has a secret (a configuration file, for example), I want to be able to update the secret payload. I would like to be instructed how to deploy that update as well. Example workflow:
create secret
deploy application that mounts secret
update secret contents
update secret object
User re-deploys per instruction