Skip to content

Commit

Permalink
fix: actually apply containerSecuiryContext
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Sep 5, 2024
1 parent a78963c commit 9aa04a4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/windmill/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: windmill
type: application
version: 2.0.266
version: 2.0.267
appVersion: 1.391.0
dependencies:
- condition: postgresql.enabled
Expand Down
4 changes: 4 additions & 0 deletions charts/windmill/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ spec:
{{- toYaml . | nindent 6 }}
{{- end }}
- name: windmill-app
securityContext:
{{- with .Values.windmill.app.containerSecurityContext }}
{{- toYaml . | nindent 10 }}
{{- end }}
lifecycle:
preStop:
exec:
Expand Down
4 changes: 4 additions & 0 deletions charts/windmill/templates/hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ spec:
{{ end }}
containers:
- name: windmill-hub
securityContext:
{{- with .Values.hub.containerSecurityContext }}
{{- toYaml . | nindent 10 }}
{{- end }}
image: {{ default "ghcr.io/windmill-labs/windmillhub-ee-public" .Values.hub.image }}:{{ default "main" .Values.hub.tag }}
imagePullPolicy: Always
ports:
Expand Down
4 changes: 4 additions & 0 deletions charts/windmill/templates/lsp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
{{ end }}
containers:
- name: windmill-lsp
securityContext:
{{- with .Values.windmill.lsp.containerSecurityContext }}
{{- toYaml . | nindent 10 }}
{{- end }}
image: {{ default "ghcr.io/windmill-labs/windmill-lsp" .Values.windmill.lsp.image }}:{{ default "latest" .Values.windmill.lsp.tag }}
imagePullPolicy: Always
ports:
Expand Down
4 changes: 4 additions & 0 deletions charts/windmill/templates/multiplayer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ spec:
{{ end }}
containers:
- name: windmill-multiplayer
securityContext:
{{- with .Values.windmill.multiplayer.containerSecurityContext }}
{{- toYaml . | nindent 10 }}
{{- end }}
image: {{ default "ghcr.io/windmill-labs/windmill-multiplayer" .Values.windmill.multiplayer.image }}:{{ default "latest" .Values.windmill.multiplayer.tag }}
imagePullPolicy: Always
ports:
Expand Down

0 comments on commit 9aa04a4

Please sign in to comment.