We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to create packages with config.kubernetes.io/apply-time-mutation that are independent of the namespace they are going to be deployed in.
config.kubernetes.io/apply-time-mutation
Example:
Given this configuration:
apiVersion: v1 kind: ConfigMap metadata: name: test-b annotations: config.kubernetes.io/apply-time-mutation: | - sourceRef: kind: ConfigMap name: test-a sourcePath: $.data.src targetPath: $.spec.dest token: ${value} data: dest: "${value}-bar" --- apiVersion: v1 kind: ConfigMap metadata: name: test-a data: src: "foo"
when applying it to the cluster it fails with the following error:
error: invalid object: "default_test-b__ConfigMap": invalid "config.kubernetes.io/apply-time-mutation" annotation: external dependency: /namespaces/default/ConfigMap/test-b -> /ConfigMap/test-a
and force me to explicitly define the namespace of the source resources making the package impossible to reuse in different namespaces.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to create packages with
config.kubernetes.io/apply-time-mutation
that are independent of the namespace they are going to be deployed in.Example:
Given this configuration:
when applying it to the cluster it fails with the following error:
and force me to explicitly define the namespace of the source resources making the package impossible to reuse in different namespaces.
The text was updated successfully, but these errors were encountered: