Skip to content

Commit

Permalink
Merge pull request #2559 from jupyterhub/update-chart-prometheus
Browse files Browse the repository at this point in the history
Updates prometheus chart to 22.6.2
  • Loading branch information
consideRatio authored May 24, 2023
2 parents 1d23a40 + f52efba commit da46d8e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,18 @@ def deploy(release, name=None):

setup_certmanager()

print(BOLD + GREEN + "Starting prometheus chart upgrade preparation", flush=True)
kubectl_delete = [
"kubectl",
"delete",
f"--namespace={name}",
"deploy,sts",
"-l",
]
subprocess.check_call(kubectl_delete + ["app=prometheus"])
subprocess.check_call(kubectl_delete + ["app.kubernetes.io/name=prometheus"])
print(BOLD + GREEN + "SUCCESS: prometheus chart upgrade preparation", flush=True)

print(BOLD + GREEN + f"Starting helm upgrade for {release}" + NC, flush=True)
helm = [
"helm",
Expand Down
2 changes: 1 addition & 1 deletion mybinder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies:
# chart v11.16.9 maps to app v2.21.0 - 2020-12-06
# chart v12 requires Helm 3
- name: prometheus
version: "20.2.0"
version: "22.6.2"
repository: https://prometheus-community.github.io/helm-charts
condition: prometheus.enabled

Expand Down

0 comments on commit da46d8e

Please sign in to comment.