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
kind: ConfigMap
metadata:
name: example-config
data:
config.json: |
{
"environment" : "dev"
}
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: example-config
# namespace: example
# data:
# config.json: |
# {
# "environment" : "dev"
# }

View File

@ -2,6 +2,3 @@ bases:
- ../../application
patches:
- replica_count.yaml
images:
- name: aimvector/python
newTag: 1.0.1

View File

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

View File

@ -6,8 +6,11 @@ patches:
configMapGenerator:
- name: example-config
namespace: example
behavior: replace
#behavior: replace
files:
- configs/config.json
patchesStrategicMerge:
- 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