This commit is contained in:
marcel-dempers 2020-07-08 12:19:27 +10:00
parent 52f655f881
commit 5c64dd7c9a
5 changed files with 18 additions and 22 deletions

View File

@ -1,9 +1,10 @@
apiVersion: v1 # apiVersion: v1
kind: ConfigMap # kind: ConfigMap
metadata: # metadata:
name: example-config # name: example-config
data: # namespace: example
config.json: | # data:
{ # config.json: |
"environment" : "dev" # {
} # "environment" : "dev"
# }

View File

@ -1,7 +1,4 @@
bases: bases:
- ../../application - ../../application
patches: patches:
- replica_count.yaml - replica_count.yaml
images:
- name: aimvector/python
newTag: 1.0.1

View File

@ -1,4 +1,4 @@
{ {
"environment" : "prod", "environment" : "prod",
"new" : "123" "hello": "world"
} }

View File

@ -6,8 +6,11 @@ patches:
configMapGenerator: configMapGenerator:
- name: example-config - name: example-config
namespace: example namespace: example
behavior: replace #behavior: replace
files: files:
- configs/config.json - configs/config.json
patchesStrategicMerge: patchesStrategicMerge:
- env.yaml - env.yaml
images:
- name: aimvector/python
newTag: 1.0.1

View File

@ -1,5 +0,0 @@
resources:
- application/namespace.yaml
- application/deployment.yaml
- application/service.yaml
- application/configmap.yaml