chore(helm chart): add priority class name (#31)
This commit is contained in:
@@ -20,6 +20,7 @@ A Helm chart to deploy alertmanager-discord to Kubernetes
|
||||
| nodeSelector | object | `{}` | |
|
||||
| podAnnotations | object | `{}` | |
|
||||
| podSecurityContext.fsGroup | int | `2000` | |
|
||||
| priorityClassName | string | `""` | https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ |
|
||||
| replicaCount | int | `1` | |
|
||||
| resources.limits.cpu | string | `"100m"` | |
|
||||
| resources.limits.memory | string | `"128Mi"` | |
|
||||
|
||||
@@ -22,6 +22,9 @@ spec:
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "alertmanager-discord.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
|
||||
@@ -24,6 +24,9 @@ podAnnotations: {}
|
||||
podSecurityContext:
|
||||
fsGroup: 2000
|
||||
|
||||
# -- https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
|
||||
priorityClassName: ""
|
||||
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
|
||||
Reference in New Issue
Block a user