Skip to content

Commit 9afa54e

Browse files
committed
intendation 2
1 parent 7ed9154 commit 9afa54e

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

docs/modules/nifi/examples/getting_started/getting_started.sh.j2

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ fi
2323
cd "$(dirname "$0")"
2424

2525
case "$1" in
26-
"helm")
26+
"helm")
2727
echo "Installing Operators with Helm"
2828
# tag::helm-install-operators[]
2929
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
3030
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
3131
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
3232
helm install --wait nifi-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/nifi-operator --version {{ versions.nifi }}
3333
# end::helm-install-operators[]
34-
;;
35-
"stackablectl")
34+
;;
35+
"stackablectl")
3636
echo "installing Operators with stackablectl"
3737
# tag::stackablectl-install-operators[]
3838
stackablectl operator install \
@@ -41,11 +41,11 @@ case "$1" in
4141
listener={{ versions.listener }} \
4242
nifi={{ versions.nifi }}
4343
# end::stackablectl-install-operators[]
44-
;;
45-
*)
44+
;;
45+
*)
4646
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
4747
exit 1
48-
;;
48+
;;
4949
esac
5050

5151
echo "Create NiFi admin credentials"
@@ -103,26 +103,25 @@ kubectl wait --for=condition=available --timeout=20m nificluster/simple-nifi
103103
# end::wait-nifi-rollout[]
104104

105105
case "$1" in
106-
"helm")
106+
"helm")
107107
echo "Getting the NiFi URL with kubectl"
108108

109109
# tag::get-nifi-url[]
110110
nifi_url=$(kubectl get listener simple-nifi-node -o 'jsonpath=https://{.status.ingressAddresses[0].address}:{.status.ingressAddresses[0].ports.https}') && \
111111
echo "NiFi URL: $nifi_url"
112112
# end::get-nifi-url[]
113-
114-
;;
115-
"stackablectl")
113+
;;
114+
"stackablectl")
116115
echo "Getting NiFi URL with stackablectl ..."
117116
# tag::stackablectl-nifi-url[]
118117
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints["node-https"]')
119118
# end::stackablectl-nifi-url[]
120119
echo "NiFi URL: $nifi_url"
121-
;;
122-
*)
120+
;;
121+
*)
123122
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
124123
exit 1
125-
;;
124+
;;
126125
esac
127126

128127
echo "Starting nifi tests"

0 commit comments

Comments
 (0)