File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 2828 kubectl -n flux-system create cm istio-version --from-literal=service=NodePort
2929 - name : Setup cluster reconciliation
3030 run : |
31- flux create source git flux-system \
32- --url=${{ github.event.repository.html_url }} \
33- --branch=${GITHUB_REF#refs/heads/}
31+ kubectl apply -f - <<EOF > cat
32+ apiVersion: source.toolkit.fluxcd.io/v1beta2
33+ kind: GitRepository
34+ metadata:
35+ name: flux-system
36+ namespace: flux-system
37+ spec:
38+ interval: 15m
39+ ref:
40+ branch: ${GITHUB_REF#refs/heads/}
41+ url: ${{ github.event.repository.html_url }}
42+ ignore: |
43+ /clusters/my-cluster/flux-system/
44+ EOF
45+
46+ kubectl -n flux-system wait gitrepository/flux-system --for=condition=ready --timeout=1m
47+
3448 flux create kustomization flux-system \
3549 --source=flux-system \
3650 --path=./clusters/my-cluster
You can’t perform that action at this time.
0 commit comments