Skip to content

Instantly share code, notes, and snippets.

@flrichar
Created June 9, 2026 19:58
Show Gist options
  • Select an option

  • Save flrichar/658bb61561cd9be2cec6d4588b5fb468 to your computer and use it in GitHub Desktop.

Select an option

Save flrichar/658bb61561cd9be2cec6d4588b5fb468 to your computer and use it in GitHub Desktop.
Config Template
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- adm-kubeconfig.yaml
patches:
- target:
kind: Config
name: patched-20260609
patch: |
- op: replace
path: /clusters/0/name
value: zorbius11
- op: replace
path: /clusters/0/cluster/server
value: https://zorbius11-api.gxize.local:6443
- op: replace
path: /users/0/name
value: zorbius11-adm
- op: replace
path: /contexts/0/name
value: zorbius11
- op: replace
path: /contexts/0/context/cluster
value: zorbius11
- op: replace
path: /contexts/0/context/user
value: zorbius11-adm
- op: replace
path: /current-context
value: zorbius11
@flrichar

flrichar commented Jun 9, 2026

Copy link
Copy Markdown
Author

Might not even use this in the pipeline, we shall see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment