Skip to content

Commit

Permalink
Disable Airflow chart due to webserver login problems. See #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
boldandbusted committed Dec 23, 2021
1 parent d8de7c3 commit 42c9463
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions extras/apache-airflow.sh
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"

0 comments on commit 42c9463

Please sign in to comment.