Skip to content

Instantly share code, notes, and snippets.

@mbigras
Last active January 25, 2023 17:35
Show Gist options
  • Select an option

  • Save mbigras/08d072d3b645a0a2b07be6c1f8a50808 to your computer and use it in GitHub Desktop.

Select an option

Save mbigras/08d072d3b645a0a2b07be6c1f8a50808 to your computer and use it in GitHub Desktop.

Revisions

  1. Max Bigras revised this gist Jan 25, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion kustomization.yaml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ generators:
    kind: ConfigMapGenerator
    apiVersion: builtin
    metadata:
    name: hello
    name: hello14958
    literals:
    - hello=world
    transformers:
  2. Max Bigras created this gist Jan 25, 2023.
    20 changes: 20 additions & 0 deletions kustomization.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    kind: Kustomization
    apiVersion: kustomize.config.k8s.io/v1beta1
    generators:
    - |
    kind: ConfigMapGenerator
    apiVersion: builtin
    metadata:
    name: hello
    literals:
    - hello=world
    transformers:
    - |
    kind: DoNothing
    apiVersion: donothing.example.com/v1alpha1
    metadata:
    name: donothing
    annotations:
    config.kubernetes.io/function: |
    exec:
    path: cat