You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2020/11/06 16:05:59 UTC
[airflow] branch master updated: Update to new helm stable repo
(#12137)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 128c991 Update to new helm stable repo (#12137)
128c991 is described below
commit 128c9918b5f79cb46a563b77e803c29548c4319c
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Fri Nov 6 16:05:18 2020 +0000
Update to new helm stable repo (#12137)
Switch out deprecated helm repo for new stable repo.
- https://www.cncf.io/blog/2020/11/05/helm-chart-repository-deprecation-update/
- https://helm.sh/docs/faq/#i-am-getting-a-warning-about-unable-to-get-an-update-from-the-stable-chart-repository
---
chart/README.md | 2 +-
chart/requirements.lock | 2 +-
chart/tests/conftest.py | 4 +---
scripts/ci/libraries/_kind.sh | 2 +-
4 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/chart/README.md b/chart/README.md
index d4c257a..7050d2f 100644
--- a/chart/README.md
+++ b/chart/README.md
@@ -37,7 +37,7 @@ cluster using the [Helm](https://helm.sh) package manager.
To install this repository from source (using helm 3)
```bash
kubectl create namespace airflow
-helm repo add stable https://kubernetes-charts.storage.googleapis.com
+helm repo add stable https://charts.helm.sh/stable/
helm dep update
helm install airflow . --namespace airflow
```
diff --git a/chart/requirements.lock b/chart/requirements.lock
index eb62c80..3f3c34a 100644
--- a/chart/requirements.lock
+++ b/chart/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: postgresql
- repository: https://kubernetes-charts.storage.googleapis.com
+ repository: https://charts.helm.sh/stable/
version: 6.3.12
digest: sha256:58d88cf56e78b2380091e9e16cc6ccf58b88b3abe4a1886dd47cd9faef5309af
generated: "2020-11-04T15:59:36.967913-08:00"
diff --git a/chart/tests/conftest.py b/chart/tests/conftest.py
index db1f22f..789f311 100644
--- a/chart/tests/conftest.py
+++ b/chart/tests/conftest.py
@@ -26,7 +26,5 @@ def upgrade_helm():
"""
Upgrade Helm repo
"""
- subprocess.check_output(
- ["helm", "repo", "add", "stable", "https://kubernetes-charts.storage.googleapis.com/"]
- )
+ subprocess.check_output(["helm", "repo", "add", "stable", "https://charts.helm.sh/stable/"])
subprocess.check_output(["helm", "dep", "update", sys.path[0]])
diff --git a/scripts/ci/libraries/_kind.sh b/scripts/ci/libraries/_kind.sh
index e81acaa..8b19499 100644
--- a/scripts/ci/libraries/_kind.sh
+++ b/scripts/ci/libraries/_kind.sh
@@ -338,7 +338,7 @@ function kind::deploy_airflow_with_helm() {
kubectl create namespace "${HELM_AIRFLOW_NAMESPACE}"
kubectl create namespace "test-namespace"
pushd "${AIRFLOW_SOURCES}/chart" || exit 1
- helm repo add stable https://kubernetes-charts.storage.googleapis.com
+ helm repo add stable https://charts.helm.sh/stable/
helm dep update
helm install airflow . --namespace "${HELM_AIRFLOW_NAMESPACE}" \
--set "defaultAirflowRepository=${DOCKERHUB_USER}/${DOCKERHUB_REPO}" \