fix(kustomize): remove duplicate configmap resource & use literals
- Remove configmap.yaml from resources (conflicted with configMapGenerator) - Define TEMPORAL_* vars as literals in configMapGenerator - This fixes the namespace transformation ID conflict
This commit is contained in:
@@ -4,10 +4,8 @@ kind: Kustomization
|
|||||||
namespace: poimen
|
namespace: poimen
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- configmap.yaml
|
|
||||||
- worker-deployment.yaml
|
- worker-deployment.yaml
|
||||||
- orchestrator-job.yaml
|
- orchestrator-job.yaml
|
||||||
# secret.yaml is auto-generated from secrets.env below
|
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
app.kubernetes.io/name: poimen
|
app.kubernetes.io/name: poimen
|
||||||
@@ -21,4 +19,7 @@ secretGenerator:
|
|||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: poimen-config
|
- name: poimen-config
|
||||||
|
literals:
|
||||||
|
- TEMPORAL_NAMESPACE=poimen-harness
|
||||||
|
- TEMPORAL_HOSTPORT=temporal-frontend.temporal:7233
|
||||||
behavior: create
|
behavior: create
|
||||||
|
|||||||
Reference in New Issue
Block a user