13 lines
299 B
Bash
13 lines
299 B
Bash
|
#!/bin/bash
|
||
|
CHART_VERSION=18.0.0
|
||
|
|
||
|
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
||
|
helm repo update
|
||
|
helm upgrade --install \
|
||
|
prometheus \
|
||
|
prometheus-community/prometheus \
|
||
|
-n prometheus \
|
||
|
--version ${CHART_VERSION} \
|
||
|
--create-namespace \
|
||
|
--cleanup-on-fail
|