Skip to content

Commit

Permalink
fix(app): ensure invalid keys do not make it through
Browse files Browse the repository at this point in the history
The 'enabled', 'fsGroup', and 'fsGroupChangePolicy' keys were making it
through to the template.spec.containers[0].securityContext section. This
is causing updates to have issues applying.
  • Loading branch information
stevepentland committed Aug 28, 2024
1 parent c086675 commit 35c65d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nx-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-cloud
description: Nx Cloud Helm Chart
type: application
version: 0.15.9
version: 0.15.10
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
periodSeconds: 5
{{- if .Values.fileServer.securityContext }}
securityContext:
{{- toYaml .Values.fileServer.securityContext | nindent 12 }}
{{- omit .Values.fileServer.securityContext "enabled" "fsGroup" "fsGroupChangePolicy" | toYaml | nindent 12 }}
{{- end }}
volumeMounts:
- mountPath: /data
Expand Down

0 comments on commit 35c65d8

Please sign in to comment.