Skip to content

Commit

Permalink
Fix all the wrong containerSecurityContext refs (#154)
Browse files Browse the repository at this point in the history
* Fix all the wrong containerSecurityContext refs

* Increase chart's version patch
  • Loading branch information
juan-vg authored Oct 31, 2024
1 parent e63bb3f commit 8aea704
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.23.2
version: 3.23.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions charts/terrakube/templates/deployment-openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
mountPath: "/ldifs/config-ldap.ldif"
subPath: "config-ldap.ldif"
readOnly: true
{{- with .Values.executor.containerSecurityContext }}
{{- with .Values.openldap.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
Expand All @@ -64,5 +64,5 @@ spec:
{{- with .Values.openldap.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{ end }}
2 changes: 1 addition & 1 deletion charts/terrakube/templates/deployment-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
port: 8075
initialDelaySeconds: 120
periodSeconds: 10
{{- with .Values.executor.containerSecurityContext }}
{{- with .Values.registry.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/terrakube/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
envFrom:
- secretRef:
name: terrakube-ui-secrets
{{- with .Values.executor.containerSecurityContext }}
{{- with .Values.ui.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
Expand Down

0 comments on commit 8aea704

Please sign in to comment.