initial commit
This commit is contained in:
3
kustom-webapp/overlays/dev/config.properties
Normal file
3
kustom-webapp/overlays/dev/config.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
BG_COLOR=#000000
|
||||
FONT_COLOR=#FFFFFF
|
||||
CUSTOM_HEADER=Welcome to the DEV environment!!
|
||||
9
kustom-webapp/overlays/dev/kustomization.yaml
Normal file
9
kustom-webapp/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
bases:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
- replicas.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: mykustom-map
|
||||
env: config.properties
|
||||
6
kustom-webapp/overlays/dev/replicas.yaml
Normal file
6
kustom-webapp/overlays/dev/replicas.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mywebapp
|
||||
spec:
|
||||
replicas: 3
|
||||
3
kustom-webapp/overlays/prod/config.properties
Normal file
3
kustom-webapp/overlays/prod/config.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
BG_COLOR=#12181b
|
||||
FONT_COLOR=#FFFFFF
|
||||
CUSTOM_HEADER=Welcome to the Prod environment!!
|
||||
9
kustom-webapp/overlays/prod/kustomization.yaml
Normal file
9
kustom-webapp/overlays/prod/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
bases:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
- replicas.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: mykustom-map
|
||||
env: config.properties
|
||||
6
kustom-webapp/overlays/prod/replicas.yaml
Normal file
6
kustom-webapp/overlays/prod/replicas.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mywebapp
|
||||
spec:
|
||||
replicas: 4
|
||||
Reference in New Issue
Block a user