add kustomize example
This commit is contained in:
17
kustomize/simple-example/kustomization.yaml
Normal file
17
kustomize/simple-example/kustomization.yaml
Normal 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
|
||||
Reference in New Issue
Block a user