Skip to content

Commit 7ed9154

Browse files
committed
Intendation
1 parent 6817253 commit 7ed9154

2 files changed

Lines changed: 48 additions & 48 deletions

File tree

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

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@ cd "$(dirname "$0")"
2424

2525
case "$1" in
2626
"helm")
27-
echo "Installing Operators with Helm"
28-
# tag::helm-install-operators[]
29-
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
30-
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
31-
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
32-
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 0.0.0-dev
33-
# end::helm-install-operators[]
27+
echo "Installing Operators with Helm"
28+
# tag::helm-install-operators[]
29+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
30+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
31+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
32+
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 0.0.0-dev
33+
# end::helm-install-operators[]
3434
;;
3535
"stackablectl")
36-
echo "installing Operators with stackablectl"
37-
# tag::stackablectl-install-operators[]
38-
stackablectl operator install \
39-
commons=0.0.0-dev \
40-
secret=0.0.0-dev \
41-
listener=0.0.0-dev \
42-
nifi=0.0.0-dev
43-
# end::stackablectl-install-operators[]
36+
echo "installing Operators with stackablectl"
37+
# tag::stackablectl-install-operators[]
38+
stackablectl operator install \
39+
commons=0.0.0-dev \
40+
secret=0.0.0-dev \
41+
listener=0.0.0-dev \
42+
nifi=0.0.0-dev
43+
# end::stackablectl-install-operators[]
4444
;;
4545
*)
46-
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
47-
exit 1
46+
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
47+
exit 1
4848
;;
4949
esac
5050

@@ -113,15 +113,15 @@ case "$1" in
113113

114114
;;
115115
"stackablectl")
116-
echo "Getting NiFi URL with stackablectl ..."
117-
# tag::stackablectl-nifi-url[]
118-
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints["node-https"]')
119-
# end::stackablectl-nifi-url[]
120-
echo "NiFi URL: $nifi_url"
116+
echo "Getting NiFi URL with stackablectl ..."
117+
# tag::stackablectl-nifi-url[]
118+
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints["node-https"]')
119+
# end::stackablectl-nifi-url[]
120+
echo "NiFi URL: $nifi_url"
121121
;;
122122
*)
123-
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
124-
exit 1
123+
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
124+
exit 1
125125
;;
126126
esac
127127

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

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@ cd "$(dirname "$0")"
2424

2525
case "$1" in
2626
"helm")
27-
echo "Installing Operators with Helm"
28-
# tag::helm-install-operators[]
29-
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
30-
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
31-
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
32-
helm install --wait nifi-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/nifi-operator --version {{ versions.nifi }}
33-
# end::helm-install-operators[]
27+
echo "Installing Operators with Helm"
28+
# tag::helm-install-operators[]
29+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
30+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
31+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
32+
helm install --wait nifi-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/nifi-operator --version {{ versions.nifi }}
33+
# end::helm-install-operators[]
3434
;;
3535
"stackablectl")
36-
echo "installing Operators with stackablectl"
37-
# tag::stackablectl-install-operators[]
38-
stackablectl operator install \
39-
commons={{ versions.commons }} \
40-
secret={{ versions.secret }} \
41-
listener={{ versions.listener }} \
42-
nifi={{ versions.nifi }}
43-
# end::stackablectl-install-operators[]
36+
echo "installing Operators with stackablectl"
37+
# tag::stackablectl-install-operators[]
38+
stackablectl operator install \
39+
commons={{ versions.commons }} \
40+
secret={{ versions.secret }} \
41+
listener={{ versions.listener }} \
42+
nifi={{ versions.nifi }}
43+
# end::stackablectl-install-operators[]
4444
;;
4545
*)
46-
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
47-
exit 1
46+
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
47+
exit 1
4848
;;
4949
esac
5050

@@ -113,15 +113,15 @@ case "$1" in
113113

114114
;;
115115
"stackablectl")
116-
echo "Getting NiFi URL with stackablectl ..."
117-
# tag::stackablectl-nifi-url[]
118-
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints["node-https"]')
119-
# end::stackablectl-nifi-url[]
120-
echo "NiFi URL: $nifi_url"
116+
echo "Getting NiFi URL with stackablectl ..."
117+
# tag::stackablectl-nifi-url[]
118+
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints["node-https"]')
119+
# end::stackablectl-nifi-url[]
120+
echo "NiFi URL: $nifi_url"
121121
;;
122122
*)
123-
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
124-
exit 1
123+
echo "Need to provide 'helm' or 'stackablectl' as an argument for which installation method to use!"
124+
exit 1
125125
;;
126126
esac
127127

0 commit comments

Comments
 (0)