-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable Airflow chart due to webserver login problems. See #8.
- Loading branch information
1 parent
d8de7c3
commit 42c9463
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
## ERRORS currently on postgresql pod... | ||
## 2021-12-22 01:33:09.756 GMT [613] FATAL: password authentication failed for user "bn_airflow" | ||
## 2021-12-22 01:33:09.756 GMT [613] DETAIL: Password does not match for user "bn_airflow". | ||
## Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" | ||
## | ||
echo "This chart doesn't work at the moment. See https://github.com/boldandbusted/vagrant-kind/issues/8 ." | ||
exit 1 | ||
|
||
. ./lib/dashboard.sh | ||
|
||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm install --atomic my-release bitnami/airflow | ||
kubectl port-forward service/my-release-airflow 8443:8080 --address=0.0.0.0 >> /dev/null & | ||
my_ip=$(ip -j -p addr show eth1 | jq -r .[].addr_info[0].local) | ||
helm repo add apache-airflow https://airflow.apache.org/ | ||
helm install my-airflow apache-airflow/airflow --version 1.3.0 \ | ||
--set config.core.load_examples=true \ | ||
--set postgresql.postgresqlUsername="postgres" \ | ||
--set postgresql.postgresqlPassword="postgres" | ||
kubectl port-forward service/my-airflow-airflow 8443:8080 --address=0.0.0.0 >> /dev/null & | ||
#my_ip=$(ip -j -p addr show eth1 | jq -r .[].addr_info[0].local) | ||
echo "Browse to https://kind.test:8443/ or https://$my_ip:8443/ for Apache Airflow interface." | ||
export AIRFLOW_PASSWORD=$(kubectl get secret --namespace default my-release-airflow -o jsonpath="{.data.airflow-password}" | base64 --decode) | ||
export AIRFLOW_PASSWORD=$(kubectl get secret --namespace default my-airflow-airflow -o jsonpath="{.data.airflow-password}" | base64 --decode) | ||
echo "Airflow password: $AIRFLOW_PASSWORD" |