You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy the Temporal helm chart on Kubernetes, with an existing MySQL DB as the only dependency (i.e not using Cassandra or Elasticsearch). I have a requirement to run all services on Kubernetes as a non-root user.
securityContext:
fsGroup: 1000#temporal grouprunAsUser: 1000#temporal user
However, the if statement preceding the securityContext block, requires either Cassandra or Elasticsearch to be enabled. Since I'm not using either, securityContext is not added to my deployment.
Update server-deployment template to ensure that securityContext is added even if Cassandra and Elasticsearch are disabled (e.g. for a MySQL only installation).
Resolves: temporalio#307
What are you really trying to do?
I'm trying to deploy the Temporal helm chart on Kubernetes, with an existing MySQL DB as the only dependency (i.e not using Cassandra or Elasticsearch). I have a requirement to run all services on Kubernetes as a non-root user.
Describe the bug
The issue described is the same as temporalio/temporal#1263 and mentioned in this forum thread. The original issue was closed with #221, which introduced the following:
However, the if statement preceding the securityContext block, requires either Cassandra or Elasticsearch to be enabled. Since I'm not using either, securityContext is not added to my deployment.
Minimal Reproduction
Install helm chart with
Environment/Versions
The text was updated successfully, but these errors were encountered: