Skip to content

Commit

Permalink
feat: Ability to toggle shareProcessNamespace for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Mar 13, 2024
1 parent 6e7cafb commit b4e4a5e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
{{ toYaml .Values.api.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.api.shareProcessNamespace }}
shareProcessNamespace: true
{{- end }}
{{- if .Values.api.affinity }}
affinity:
{{ toYaml .Values.api.affinity | indent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
{{ toYaml .Values.frontend.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.frontend.shareProcessNamespace }}
shareProcessNamespace: true
{{- end }}
{{- if .Values.frontend.affinity }}
affinity:
{{ toYaml .Values.frontend.affinity | indent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-pgbouncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
{{ toYaml .Values.pgbouncer.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.pgbouncer.shareProcessNamespace }}
shareProcessNamespace: true
{{- end }}
{{- if .Values.pgbouncer.affinity }}
affinity:
{{ toYaml .Values.pgbouncer.affinity | indent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-task-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
{{ toYaml .Values.taskProcessor.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.taskProcessor.shareProcessNamespace }}
shareProcessNamespace: true
{{- end }}
{{- if .Values.taskProcessor.affinity }}
affinity:
{{ toYaml .Values.taskProcessor.affinity | indent 8 }}
Expand Down

0 comments on commit b4e4a5e

Please sign in to comment.