-
Notifications
You must be signed in to change notification settings - Fork 436
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What are you really trying to do?
Pass environment variables configured in admintools.additionalEnv to the schema creation and management init containers.
Describe the bug
Environment variables set via admintools.additionalEnv are not inherited by the create-default-store, setup-default-store, and update-default-store init containers.
Minimal Reproduction
admintools:
additionalEnv:
- name: MY_ENV
value: valueThe env var is present in the admintools Deployment pod but absent in the schema init containers.
Environment/Versions
- OS: Linux (EKS, x86)
- Temporal Version: Helm chart v1.0.0-rc.2
- Are you using Docker or Kubernetes or building Temporal from source? Kubernetes (AWS EKS)
Additional context
- Additional env logic is present for the
create-{{ $namespace.name }}-namespacecontainer:helm-charts/charts/temporal/templates/server-job.yaml
Lines 118 to 120 in 90f1cf7
{{- with $.Values.admintools.additionalEnv }} {{- toYaml . | nindent 12 }} {{- end }}
- But it's missing from the
manage-schema-{{ $store.name }}-storeandcreate-{{ $store.name }}-storecontainershelm-charts/charts/temporal/templates/server-job.yaml
Lines 81 to 82 in 90f1cf7
env: {{- include "temporal.admintools-env" (list $ $store) | nindent 12 }}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working