Commit 92c556d Suraj Banakar
committed
1 parent b3bb2a8 commit 92c556d Copy full SHA for 92c556d
File tree 2 files changed +15
-9
lines changed
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ kind: ConfigMap
2
2
apiVersion : v1
3
3
metadata :
4
4
name : pema-settings
5
- namespace : pema
5
+ # Not specifying namespace here is intentional
6
+ # Check Kustomization.yaml for more info
7
+ # namespace: pema
6
8
data :
7
9
# Your config goes here
8
10
settings : |
Original file line number Diff line number Diff line change 1
1
apiVersion : kustomize.config.k8s.io/v1beta1
2
2
kind : Kustomization
3
+ # This is to set namespace on the empty
4
+ # configmap generated by configMapGenerator in memory
3
5
namespace : pema
4
- metadata :
5
- name : pema
6
-
6
+ patchesStrategicMerge :
7
+ - configmap.yaml
7
8
resources :
8
- - deployment.yaml
9
- - configmap.yaml
10
- - service.yaml
11
- - secret.yaml
12
- - namespace.yaml
9
+ - deployment.yaml
10
+ - service.yaml
11
+ - secret.yaml
12
+ - namespace.yaml
13
+
14
+
15
+ configMapGenerator :
16
+ - name : pema-settings
You can’t perform that action at this time.
0 commit comments