Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 638 Bytes

gitops_bootstrap.md

File metadata and controls

35 lines (29 loc) · 638 Bytes

export GITHUB_TOKEN=XXXXXXXXXXX export GITHUB_USER=orenzp export GITHUB_REPO='gitops'

flux check --pre

flux bootstrap github \
  --owner=$GITHUB_USER \
  --repository=gitops \
  --branch=WIP \
  --path=./ \
  --personal

Deploy podinfo application:

flux create source git podinfo \
  --url=https://github.com/stefanprodan/podinfo \
  --branch=master \
  --interval=30s \
  --export > ./gitops-test/podinfo-source.yaml
flux create kustomization podinfo \
  --source=podinfo \
  --path="./kustomize" \
  --prune=true \
  --validation=client \
  --interval=5m \
  --export > ./gitops-test/podinfo-kustomize.yaml