Bump up prometheus operator chart to 8.2.2
Without this, deployment fails on 1.16.x due to deprecated APIs. Story: 2006853 Task: 37577 Change-Id: I6dd1fa4649bc2b8d06abd28ae3aa9259b384d171
This commit is contained in:
parent
ef061ce86f
commit
4eff195cc0
|
@ -10,8 +10,6 @@ printf "Starting to run ${step}\n"
|
||||||
### Configuration
|
### Configuration
|
||||||
###############################################################################
|
###############################################################################
|
||||||
CHART_NAME="prometheus-operator"
|
CHART_NAME="prometheus-operator"
|
||||||
CHART_VERSION=${PROMETHEUS_OPERATOR_CHART_TAG:-5.12.3}
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$(echo ${MONITORING_ENABLED} | tr '[:upper:]' '[:lower:]')" = "true" ]; then
|
if [ "$(echo ${MONITORING_ENABLED} | tr '[:upper:]' '[:lower:]')" = "true" ]; then
|
||||||
|
|
||||||
|
@ -64,7 +62,7 @@ data:
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# TODO: Set namespace to monitoring. This is needed as the Kubernetes default priorityClass can only be used in NS kube-system
|
# TODO: Set namespace to monitoring. This is needed as the Kubernetes default priorityClass can only be used in NS kube-system
|
||||||
helm install stable/${CHART_NAME} --namespace kube-system --name ${CHART_NAME} --version v${CHART_VERSION} --values /opt/magnum/install-${CHART_NAME}-values.yaml
|
helm install stable/${CHART_NAME} --namespace kube-system --name ${CHART_NAME} --version ${PROMETHEUS_OPERATOR_CHART_TAG} --values /opt/magnum/install-${CHART_NAME}-values.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-${CHART_NAME}-values.yaml: |
|
install-${CHART_NAME}-values.yaml: |
|
||||||
|
|
|
@ -664,7 +664,7 @@ parameters:
|
||||||
prometheus_operator_chart_tag:
|
prometheus_operator_chart_tag:
|
||||||
type: string
|
type: string
|
||||||
description: The stable/prometheus-operator chart version to use.
|
description: The stable/prometheus-operator chart version to use.
|
||||||
default: 5.12.3
|
default: v8.2.2
|
||||||
|
|
||||||
project_id:
|
project_id:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -664,7 +664,7 @@ parameters:
|
||||||
prometheus_operator_chart_tag:
|
prometheus_operator_chart_tag:
|
||||||
type: string
|
type: string
|
||||||
description: The stable/prometheus-operator chart version to use.
|
description: The stable/prometheus-operator chart version to use.
|
||||||
default: 5.12.3
|
default: v8.2.2
|
||||||
|
|
||||||
project_id:
|
project_id:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Bump up prometheus operator chart version to 8.2.2 so that it is compatible
|
||||||
|
with k8s 1.16.x.
|
Loading…
Reference in New Issue