Skip to content

Instantly share code, notes, and snippets.

@echang0929
Created April 10, 2021 16:24
Show Gist options
  • Save echang0929/d12342a08257d2a7195cd313ab2a1ed6 to your computer and use it in GitHub Desktop.
Save echang0929/d12342a08257d2a7195cd313ab2a1ed6 to your computer and use it in GitHub Desktop.
export AIRFLOW_PASSWORD=$(kubectl get secret $X-airflow -o jsonpath="{.data.airflow-password}" | base64 --decode)
export AIRFLOW_FERNETKEY=$(kubectl get secret $X-airflow -o jsonpath="{.data.airflow-fernetKey}" | base64 --decode)
export POSTGRESQL_PASSWORD=$(kubectl get secret $X-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
export REDIS_PASSWORD=$(kubectl get secret $X-redis -o jsonpath="{.data.redis-password}" | base64 --decode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment