Skip to content

Commit

Permalink
Merge pull request #75 from sturman/fix_priority_class
Browse files Browse the repository at this point in the history
Do not add priorityClassName in case it's not set in values
  • Loading branch information
vania-pooh authored Nov 3, 2021
2 parents 9938ec8 + 71b4645 commit 67decae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moon/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: moon
version: 1.1.14
version: 1.1.16
appVersion: 1.9.2
description: Moon Helm chart
icon: https://aerokube.com/img/aerokube_logo.svg
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 67decae

Please sign in to comment.