You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/14 16:34:42 UTC

[airflow] 26/44: Update to new helm stable repo (#12137)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 2ddafd037a1f919aaabff4708c69b9766d2225b2
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
    
    (cherry picked from commit 128c9918b5f79cb46a563b77e803c29548c4319c)
---
 chart/README.md               | 2 +-
 chart/requirements.lock       | 6 +++---
 chart/tests/conftest.py       | 4 +---
 scripts/ci/libraries/_kind.sh | 2 +-
 4 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/chart/README.md b/chart/README.md
index e7ef973..7d23ce3 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 715458e..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:e8d53453861c590e6ae176331634c9268a11cf894be17ed580fa2b347101be97
-generated: "2020-10-27T21:16:13.0063538Z"
+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 41048fc..6194742 100644
--- a/scripts/ci/libraries/_kind.sh
+++ b/scripts/ci/libraries/_kind.sh
@@ -336,7 +336,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}" \