Replace Resource.options with annotations #3975
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
The field
Resource.options
is used to remember how a generated ConfigMap or Secret should behave as it propagates up a kustomization stack (merge with or replace maps or secrets with the same name).This information isn't available to an out-of-process transformer, but like all other RNode metadata (e.g. the history of previous resource names in the transformation pipeline) it should be.
https://github.com/kubernetes-sigs/kustomize/blob/master/api/resource/resource.go#L25
The text was updated successfully, but these errors were encountered: