Skip to content

Commit

Permalink
Narrow the variable scope
Browse files Browse the repository at this point in the history
  • Loading branch information
omygod613 committed Jul 16, 2022
1 parent 6874d3d commit a5d095d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions charts/medusa-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ spec:
template:
metadata:
labels: {{- include "k8ssandra-common.labels" . | indent 8 }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations: {{- toYaml .Values.podAnnotations | nindent 8 }}
spec:
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "k8ssandra-common.serviceAccountName" . }}
Expand Down
5 changes: 1 addition & 4 deletions charts/reaper-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ spec:
template:
metadata:
labels: {{- include "k8ssandra-common.labels" . | indent 8 }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations: {{- toYaml .Values.podAnnotations | nindent 8 }}
spec:
serviceAccountName: {{ include "k8ssandra-common.serviceAccountName" . }}
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down

0 comments on commit a5d095d

Please sign in to comment.