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 381effd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ spec:
{{ toYaml .Values.api.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.api.shareProcessNamespace }}
shareProcessNamespace: true
{{- if .Values.api.affinity }}
affinity:
{{ toYaml .Values.api.affinity | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
{{ toYaml .Values.frontend.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.frontend.shareProcessNamespace }}
shareProcessNamespace: true
{{- if .Values.frontend.affinity }}
affinity:
{{ toYaml .Values.frontend.affinity | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-pgbouncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ spec:
{{ toYaml .Values.pgbouncer.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.pgbouncer.shareProcessNamespace }}
shareProcessNamespace: true
{{- if .Values.pgbouncer.affinity }}
affinity:
{{ toYaml .Values.pgbouncer.affinity | indent 8 }}
Expand Down
2 changes: 2 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,8 @@ spec:
{{ toYaml .Values.taskProcessor.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.taskProcessor.shareProcessNamespace }}
shareProcessNamespace: true
{{- if .Values.taskProcessor.affinity }}
affinity:
{{ toYaml .Values.taskProcessor.affinity | indent 8 }}
Expand Down

0 comments on commit 381effd

Please sign in to comment.