File tree Expand file tree Collapse file tree
docs/modules/superset/examples/getting_started Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 command : [
1818 " /bin/bash" ,
1919 " -c" ,
20- " export SQLALCHEMY_DATABASE_URI=\" postgresql://${DB_USERNAME }:${DB_PASSWORD }@superset-postgresql.default.svc.cluster.local/superset\" && \
20+ " export SQLALCHEMY_DATABASE_URI=\" postgresql://${METADATA_DATABASE_USERNAME }:${METADATA_DATABASE_PASSWORD }@superset-postgresql.default.svc.cluster.local/superset\" && \
2121 mkdir --parents /stackable/app/pythonpath && \
2222 cp /stackable/config/* /stackable/app/pythonpath && \
2323 echo 'SQLALCHEMY_EXAMPLES_URI = os.environ.get(\" SQLALCHEMY_DATABASE_URI\" )' >> /stackable/app/pythonpath/superset_config.py && \
@@ -29,12 +29,12 @@ spec:
2929 secretKeyRef :
3030 key : SECRET_KEY
3131 name : simple-superset-secret-key
32- - name : DB_USERNAME
32+ - name : METADATA_DATABASE_USERNAME
3333 valueFrom :
3434 secretKeyRef :
3535 key : username
3636 name : superset-postgresql-credentials
37- - name : DB_PASSWORD
37+ - name : METADATA_DATABASE_PASSWORD
3838 valueFrom :
3939 secretKeyRef :
4040 key : password
Original file line number Diff line number Diff line change 1717 command: [
1818 "/bin/bash",
1919 "-c",
20- "export SQLALCHEMY_DATABASE_URI=\"postgresql://${DB_USERNAME }:${DB_PASSWORD }@superset-postgresql.default.svc.cluster.local/superset\" && \
20+ "export SQLALCHEMY_DATABASE_URI=\"postgresql://${METADATA_DATABASE_USERNAME }:${METADATA_DATABASE_PASSWORD }@superset-postgresql.default.svc.cluster.local/superset\" && \
2121 mkdir --parents /stackable/app/pythonpath && \
2222 cp /stackable/config/* /stackable/app/pythonpath && \
2323 echo 'SQLALCHEMY_EXAMPLES_URI = os.environ.get(\"SQLALCHEMY_DATABASE_URI\")' >> /stackable/app/pythonpath/superset_config.py && \
@@ -29,12 +29,12 @@ spec:
2929 secretKeyRef:
3030 key: SECRET_KEY
3131 name: simple-superset-secret-key
32- - name: DB_USERNAME
32+ - name: METADATA_DATABASE_USERNAME
3333 valueFrom:
3434 secretKeyRef:
3535 key: username
3636 name: superset-postgresql-credentials
37- - name: DB_PASSWORD
37+ - name: METADATA_DATABASE_PASSWORD
3838 valueFrom:
3939 secretKeyRef:
4040 key: password
You can’t perform that action at this time.
0 commit comments