Skip to content

Commit a9231a5

Browse files
Merge pull request #208934 from RyanHill-MSFT/issues/97444-escaped-flux-kustomization
(Azure CXP) escape flux command
2 parents c1eeaf0 + d1d964c commit a9231a5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,16 @@ In the following example:
150150
If the `microsoft.flux` extension isn't already installed in the cluster, it'll be installed. When the flux configuration is installed, the initial compliance state may be "Pending" or "Non-compliant" because reconciliation is still on-going. After a minute you can query the configuration again and see the final compliance state.
151151

152152
```console
153-
az k8s-configuration flux create -g flux-demo-rg -c flux-demo-arc -n cluster-config --namespace cluster-config -t connectedClusters --scope cluster -u https://github.com/Azure/gitops-flux2-kustomize-helm-mt --branch main --kustomization name=infra path=./infrastructure prune=true --kustomization name=apps path=./apps/staging prune=true dependsOn=["infra"]
153+
az k8s-configuration flux create -g flux-demo-rg \
154+
-c flux-demo-arc \
155+
-n cluster-config \
156+
--namespace cluster-config \
157+
-t connectedClusters \
158+
--scope cluster \
159+
-u https://github.com/Azure/gitops-flux2-kustomize-helm-mt \
160+
--branch main \
161+
--kustomization name=infra path=./infrastructure prune=true \
162+
--kustomization name=apps path=./apps/staging prune=true dependsOn=\["infra"\]
154163

155164
'Microsoft.Flux' extension not found on the cluster, installing it now. This may take a few minutes...
156165
'Microsoft.Flux' extension was successfully installed on the cluster

0 commit comments

Comments
 (0)