fix kustomize replace
This commit is contained in:
parent
fdb61f492a
commit
e4a027e21d
3 changed files with 17 additions and 18 deletions
|
@ -5,21 +5,3 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
||||
configMapGenerator:
|
||||
- name: emqx-conf
|
||||
files:
|
||||
- emqx.conf=./resources/emqx.conf
|
||||
replacements:
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: emqx-conf
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.config.data
|
||||
options:
|
||||
create: true
|
||||
select:
|
||||
kind: EMQX
|
||||
name: emqx
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
|
|
@ -5,5 +5,22 @@ resources:
|
|||
- ./cluster.yaml
|
||||
- ./ingress.yaml
|
||||
- ./podmonitor.yaml
|
||||
configMapGenerator:
|
||||
- name: emqx-conf
|
||||
files:
|
||||
- emqx.conf=./resources/emqx.conf
|
||||
replacements:
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: emqx-conf
|
||||
fieldPath: data.emqx\.conf
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.config.data
|
||||
options:
|
||||
create: true
|
||||
select:
|
||||
kind: EMQX
|
||||
name: emqx
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
|
Loading…
Reference in a new issue