chore(helm chart): add priority class name (#31)

This commit is contained in:
Iain Sproat
2024-02-02 16:31:01 +00:00
committed by GitHub
parent a328544e11
commit faa6956b29
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -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"` | |
+3
View File
@@ -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 }}
+3
View File
@@ -24,6 +24,9 @@ podAnnotations: {}
podSecurityContext:
fsGroup: 2000
# -- https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: ""
securityContext:
capabilities:
drop: