Commit 0c5ed33 Suraj Banakar
committed
1 parent 5e71d4b commit 0c5ed33 Copy full SHA for 0c5ed33
File tree 6 files changed +39
-15
lines changed
6 files changed +39
-15
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ kind: ConfigMap
2
2
apiVersion : v1
3
3
metadata :
4
4
name : pema-settings
5
+ namespace : pema
5
6
data :
6
7
# Your config goes here
7
8
settings : |
25
26
- if: Cluster.Name matches ".*-staging"
26
27
then: "staging"
27
28
29
+ ---
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ metadata:
4
4
name : pema
5
5
labels :
6
6
app : pema
7
+ namespace : pema
7
8
spec :
8
9
replicas : 1
9
10
selector :
58
59
name : pema-settings
59
60
items :
60
61
- key : settings
61
- path : settings
62
+ path : settings
63
+ ---
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ namespace : pema
4
+ metadata :
5
+ name : pema
6
+
7
+ resources :
8
+ - deployment.yaml
9
+ - configmap.yaml
10
+ - service.yaml
11
+ - secret.yaml
12
+ - namespace.yaml
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Namespace
3
+ metadata :
4
+ name : pema
5
+ ---
Original file line number Diff line number Diff line change 1
- # apiVersion: v1
2
- # kind: Secret
3
- # metadata:
4
- # name: pema-mongodb-atlas-keys
5
- # type: Opaque
6
- # data:
7
- # # Example:
8
- # # password: {{ .Values.password | b64enc }}
9
- # # TODO: Base64 is not secure.
10
- # # Use something else here
11
- # # Note: Don't change the name of the keys
12
- # publicKey:
13
- # privateKey:
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : pema-mongodb-atlas-keys
5
+ namespace : pema
6
+ type : Opaque
7
+ data :
8
+ # Example:
9
+ # password: {{ .Values.password | b64enc }}
10
+ # TODO: Base64 is not secure.
11
+ # Use something else here
12
+ # Note: Don't change the name of the keys
13
+ publicKey : " "
14
+ privateKey : " "
Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ apiVersion: v1
2
2
kind : Service
3
3
metadata :
4
4
name : pema
5
+ namespace : pema
5
6
spec :
6
7
selector :
7
8
app : pema
8
9
ports :
9
10
- protocol : TCP
10
11
port : 5000
11
- targetPort : 5000
12
+ targetPort : 5000
13
+ ---
You can’t perform that action at this time.
0 commit comments