From 334cabe91e8bc0f16a04d670ba638057c9bcade1 Mon Sep 17 00:00:00 2001 From: Siegfried Weber Date: Mon, 20 Nov 2023 14:28:48 +0100 Subject: [PATCH] docs: Add listener-operator where missing (#425) * docs: Add listener-operator where missing * docs: Add listener-operator where missing --- .../superset/examples/getting_started/getting_started.sh | 2 ++ .../superset/examples/getting_started/getting_started.sh.j2 | 2 ++ .../getting_started/superset-load-examples-job.yaml.j2 | 5 ++++- .../modules/superset/pages/getting_started/installation.adoc | 5 +++-- docs/templating_vars.yaml | 1 + 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/modules/superset/examples/getting_started/getting_started.sh b/docs/modules/superset/examples/getting_started/getting_started.sh index 50d863b0..49818179 100755 --- a/docs/modules/superset/examples/getting_started/getting_started.sh +++ b/docs/modules/superset/examples/getting_started/getting_started.sh @@ -28,6 +28,7 @@ echo "Installing Operators with Helm" # tag::helm-install-operators[] helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev +helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev helm install --wait superset-operator stackable-dev/superset-operator --version 0.0.0-dev # end::helm-install-operators[] ;; @@ -37,6 +38,7 @@ echo "installing Operators with stackablectl" stackablectl operator install \ commons=0.0.0-dev \ secret=0.0.0-dev \ + listener=0.0.0-dev \ superset=0.0.0-dev # end::stackablectl-install-operators[] ;; diff --git a/docs/modules/superset/examples/getting_started/getting_started.sh.j2 b/docs/modules/superset/examples/getting_started/getting_started.sh.j2 index a789b6fb..7d227272 100755 --- a/docs/modules/superset/examples/getting_started/getting_started.sh.j2 +++ b/docs/modules/superset/examples/getting_started/getting_started.sh.j2 @@ -28,6 +28,7 @@ echo "Installing Operators with Helm" # tag::helm-install-operators[] helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }} helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }} +helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }} helm install --wait superset-operator {{ helm.repo_name }}/superset-operator --version {{ versions.superset }} # end::helm-install-operators[] ;; @@ -37,6 +38,7 @@ echo "installing Operators with stackablectl" stackablectl operator install \ commons={{ versions.commons }} \ secret={{ versions.secret }} \ + listener={{ versions.listener }} \ superset={{ versions.superset }} # end::stackablectl-install-operators[] ;; diff --git a/docs/modules/superset/examples/getting_started/superset-load-examples-job.yaml.j2 b/docs/modules/superset/examples/getting_started/superset-load-examples-job.yaml.j2 index 4f339cf6..c1f717d7 100644 --- a/docs/modules/superset/examples/getting_started/superset-load-examples-job.yaml.j2 +++ b/docs/modules/superset/examples/getting_started/superset-load-examples-job.yaml.j2 @@ -17,7 +17,10 @@ spec: command: [ "/bin/sh", "-c", - "mkdir --parents /stackable/app/pythonpath && cp /stackable/config/* /stackable/app/pythonpath && superset load_examples" + "mkdir --parents /stackable/app/pythonpath && \ + cp /stackable/config/* /stackable/app/pythonpath && \ + echo 'SQLALCHEMY_EXAMPLES_URI = os.environ.get(\"SQLALCHEMY_DATABASE_URI\")' >> /stackable/app/pythonpath/superset_config.py && \ + superset load_examples" ] env: - name: SECRET_KEY diff --git a/docs/modules/superset/pages/getting_started/installation.adoc b/docs/modules/superset/pages/getting_started/installation.adoc index c67ea7b4..1464f62c 100644 --- a/docs/modules/superset/pages/getting_started/installation.adoc +++ b/docs/modules/superset/pages/getting_started/installation.adoc @@ -1,6 +1,6 @@ = Installation -On this page you will install the Stackable Superset Operator as well as the commons and secret Operator which are +On this page you will install the Stackable Superset Operator as well as the commons, secret and listener Operator which are required by all Stackable Operators. == Stackable Operators @@ -27,6 +27,7 @@ The tool will show ---- [INFO ] Installing commons operator [INFO ] Installing secret operator +[INFO ] Installing listener operator [INFO ] Installing superset operator ---- @@ -52,4 +53,4 @@ CRDs for the required operators). You are now ready to deploy Superset in Kubern == What's next -xref:getting_started/first_steps.adoc[Deploy a Superset instance and connect to it]. \ No newline at end of file +xref:getting_started/first_steps.adoc[Deploy a Superset instance and connect to it]. diff --git a/docs/templating_vars.yaml b/docs/templating_vars.yaml index 9a4ef928..9f743a64 100644 --- a/docs/templating_vars.yaml +++ b/docs/templating_vars.yaml @@ -5,4 +5,5 @@ helm: versions: commons: 0.0.0-dev secret: 0.0.0-dev + listener: 0.0.0-dev superset: 0.0.0-dev