diff --git a/.gitignore b/.gitignore index 2bd9eeb..256a8bb 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ config.toml bin/ data/ dist/ +*.idea/ diff --git a/contrib/helm/calert/README.md b/contrib/helm/calert/README.md index 9b8b7a8..b3ebd38 100644 --- a/contrib/helm/calert/README.md +++ b/contrib/helm/calert/README.md @@ -53,6 +53,7 @@ Change the values according to the need of the environment in ``contrib/helm/cal | resources.limits.memory | string | `"48Mi"` | | | resources.requests.cpu | string | `"5m"` | | | resources.requests.memory | string | `"24Mi"` | | +| priorityClassName | string | `""` | | | nodeSelector | object | `{}` | | | tolerations | list | `[]` | | | affinity | object | `{}` | | diff --git a/contrib/helm/calert/templates/deployment.yaml b/contrib/helm/calert/templates/deployment.yaml index 48bbf88..ed2dd86 100644 --- a/contrib/helm/calert/templates/deployment.yaml +++ b/contrib/helm/calert/templates/deployment.yaml @@ -25,6 +25,9 @@ spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} {{- end }} containers: - name: {{ .Chart.Name }} diff --git a/contrib/helm/calert/values.yaml b/contrib/helm/calert/values.yaml index 049be9a..e24f5d9 100644 --- a/contrib/helm/calert/values.yaml +++ b/contrib/helm/calert/values.yaml @@ -70,6 +70,8 @@ resources: cpu: 5m memory: 24Mi +priorityClassName: "" + nodeSelector: {} tolerations: []