add kustomize example

This commit is contained in:
Stephan Girod
2021-03-31 17:26:56 +02:00
parent bddc753b6f
commit a4f8b430c7
8 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: simple-example
app.kubernetes.io/managed-by: kustomize
resources:
- deploymentconfig.yaml
- service.yaml
generatorOptions:
# commonLabels will not be respected by generator
labels:
app: simple-example
app.kubernetes.io/managed-by: kustomize