@@ -24,27 +24,27 @@ cd "$(dirname "$0")"
2424
2525case " $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;;
4949esac
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;;
126126esac
127127
0 commit comments