diff --git a/bitnami/prometheus-operator/Chart.yaml b/bitnami/prometheus-operator/Chart.yaml index 83f7cbc4f..96c72750a 100644 --- a/bitnami/prometheus-operator/Chart.yaml +++ b/bitnami/prometheus-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.40.0 description: The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances. name: prometheus-operator -version: 0.21.3 +version: 0.22.0 keywords: - prometheus - alertmanager diff --git a/bitnami/prometheus-operator/README.md b/bitnami/prometheus-operator/README.md index 715fbc917..2a6492083 100644 --- a/bitnami/prometheus-operator/README.md +++ b/bitnami/prometheus-operator/README.md @@ -112,6 +112,7 @@ The following table lists the configurable parameters of the Prometheus Operator | `operator.podAffinity` | Affinity, in addition to antiAffinity (this value is evaluated as a template) | `{}` | | `operator.nodeSelector` | Node labels for pod assignment (this value is evaluated as a template) | `{}` | | `operator.tolerations` | List of node taints to tolerate (this value is evaluated as a template) | `[]` | +| `operator.priorityClassName` | Priority class assigned to the Pods | `` | | `operator.livenessProbe.enabled` | Turn on and off liveness probe | `true` | | `operator.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `120` | | `operator.livenessProbe.periodSeconds` | How often to perform the probe | `10` | diff --git a/bitnami/prometheus-operator/templates/prometheus-operator/deployment.yaml b/bitnami/prometheus-operator/templates/prometheus-operator/deployment.yaml index c9644ceeb..56c60f412 100644 --- a/bitnami/prometheus-operator/templates/prometheus-operator/deployment.yaml +++ b/bitnami/prometheus-operator/templates/prometheus-operator/deployment.yaml @@ -32,6 +32,9 @@ spec: {{- if .Values.operator.tolerations }} tolerations: {{- include "prometheus-operator.tplValue" (dict "value" .Values.operator.tolerations "context" $) | nindent 8 }} {{- end }} + {{- if .Values.operator.priorityClassName }} + priorityClassName: {{ .Values.operator.priorityClassName }} + {{- end }} affinity: {{- if .Values.operator.nodeAffinity }} nodeAffinity: {{- include "prometheus-operator.tplValue" (dict "value" .Values.operator.nodeAffinity "context" $) | nindent 10 }} diff --git a/bitnami/prometheus-operator/values-production.yaml b/bitnami/prometheus-operator/values-production.yaml index 6e5e2abb4..032681c16 100644 --- a/bitnami/prometheus-operator/values-production.yaml +++ b/bitnami/prometheus-operator/values-production.yaml @@ -171,6 +171,10 @@ operator: ## tolerations: [] + ## Priority class assigned to the Pods + ## + priorityClassName: "" + ## Configure extra options for liveness and readiness probes ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes) ## diff --git a/bitnami/prometheus-operator/values.yaml b/bitnami/prometheus-operator/values.yaml index 31000ecf0..628bf2730 100644 --- a/bitnami/prometheus-operator/values.yaml +++ b/bitnami/prometheus-operator/values.yaml @@ -171,6 +171,10 @@ operator: ## tolerations: [] + ## Priority class assigned to the Pods + ## + priorityClassName: "" + ## Configure extra options for liveness and readiness probes ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes) ##