Skip to content

Commit

Permalink
Do not set a priority class name in case it's not set in values
Browse files Browse the repository at this point in the history
  • Loading branch information
sturman committed Nov 3, 2021
1 parent 9938ec8 commit ce7aa84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moon/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ spec:
{{ toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ .Release.Name }}
priorityClassName: {{ .Values.moon.priorityClassName | default "default" }}
{{- if .Values.moon.priorityClassName }}
priorityClassName: {{ .Values.moon.priorityClassName }}
{{- end }}
containers:
- name: moon
{{- if .Values.moon.image }}
Expand Down

0 comments on commit ce7aa84

Please sign in to comment.