add kustomize
This commit is contained in:
22
6.Addons/kustomize/overlays/dev/kustomization.yaml
Normal file
22
6.Addons/kustomize/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- namespace.yaml
|
||||
namespace: dev
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
env: dev
|
||||
patches:
|
||||
- path: configmap.yaml
|
||||
|
||||
secretGenerator:
|
||||
- name: secret
|
||||
envs:
|
||||
- foo.env
|
||||
files:
|
||||
- longsecret.txt
|
||||
literals:
|
||||
- FRUIT=apple
|
||||
- VEGETABLE=carrot
|
Reference in New Issue
Block a user