Append hash to secrets #1907
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
What would you like to be added?
kubectl create secret
has the--append-hash
flag which appends a hash of the secret to the secret name. I would likekompose convert
to support this too, perhaps using a label, a flag or maybe even by default.Why is this needed?
It makes the
kompose convert -o - | kubectl apply -f -
workflow automatically deploy the pods with changed secrets.I currently work around this by post-processing the yaml using this python script:
It works but I think it would be a nice feature to have built-in as it mirrors the
kubectl
functionality around secrets.The text was updated successfully, but these errors were encountered: