You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying out replacements (former vars) feature (kustomize version v5.4.*) to replace the configuration from source to target.
For me the source is a Kubernetes secret but already deployed in a cluster and I want to lookup the deployed secret data e.g. .spec.data.foo into the given target field.
I could successfully replace the placeholders if it is placed in a file. But I did not find how to fetch that secret from a deployed secret object. Is it really possible and how it can be achieved? Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying out
replacements
(formervars
) feature (kustomize version v5.4.*) to replace the configuration from source to target.For me the source is a Kubernetes secret but already deployed in a cluster and I want to lookup the deployed secret data e.g.
.spec.data.foo
into the given target field.I could successfully replace the placeholders if it is placed in a file. But I did not find how to fetch that secret from a deployed secret object. Is it really possible and how it can be achieved? Thanks
Beta Was this translation helpful? Give feedback.
All reactions