Skip to content

Commit

Permalink
fix: typo podPriorityClassName & StatefulSet (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar Chou authored Nov 23, 2021
1 parent 11313ed commit 31d7eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/vector/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ serviceAccountName: {{ include "vector.serviceAccountName" . }}
securityContext:
{{ toYaml . | indent 2 }}
{{- end }}
{{- with .Values.priorityClassName }}
{{- with .Values.podPriorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- with .Values.dnsPolicy }}
Expand Down
2 changes: 1 addition & 1 deletion charts/vector/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
scaleTargetRef:
apiVersion: apps/v1
{{- if (eq .Values.role "Aggregator") }}
kind: Statefulset
kind: StatefulSet
{{- else if (eq .Values.role "Stateless-Aggregator") }}
kind: Deployment
{{- end }}
Expand Down

0 comments on commit 31d7eb4

Please sign in to comment.