Создать источник GitRepository

Подключает git-репозиторий как источник Flux

flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system

инструмент
flux29 команд
теги
flux

Другие команды flux

  • flux create source helm <name> --url=https://charts.example.com -n flux-system

    Подключает Helm-репозиторий как источник Flux

  • flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>

    Деплоит чарт через ресурс HelmRelease во Flux

  • kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20

    Последние 20 событий в неймспейсе flux-system

  • flux delete kustomization <name> -n <ns>

    Удаляет Kustomization из кластера; HelmRelease удаляется через flux delete helmrelease

  • flux create image update <name> --git-repo-ref=<repo> --git-repo-path=./deploy --checkout-branch=main --push-branch=main -n flux-system

    Сам обновляет теги образов в git, когда в реестр пушат новые образы

все 29 команд flux