projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create airflow secret as part of OSM Helm chart
[osm/devops.git]
/
installers
/
install_ngsa.sh
diff --git
a/installers/install_ngsa.sh
b/installers/install_ngsa.sh
index
87f5daa
..
8f18f03
100755
(executable)
--- a/
installers/install_ngsa.sh
+++ b/
installers/install_ngsa.sh
@@
-34,7
+34,6
@@
function install_airflow() {
if ! helm -n osm status airflow 2> /dev/null ; then
# if it does not exist, create secrets and install
if ! helm -n osm status airflow 2> /dev/null ; then
# if it does not exist, create secrets and install
- kubectl -n osm create secret generic airflow-webserver-secret --from-literal="webserver-secret-key=$(python3 -c 'import secrets; print(secrets.token_hex(16))')"
helm repo add apache-airflow https://airflow.apache.org
helm repo update
helm -n osm install airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION}
helm repo add apache-airflow https://airflow.apache.org
helm repo update
helm -n osm install airflow apache-airflow/airflow -f ${OSM_HELM_WORK_DIR}/airflow-values.yaml --version ${AIRFLOW_HELM_VERSION}