Skip to content

Migration path for .flux.yaml users not using kustomize #543

Closed
@squaremo

Description

@squaremo

https://toolkit.fluxcd.io/guides/flux-v1-migration/ gives instructions for migrating a Flux v1 installation to Flux v2, if you are either syncing plain YAMLs, or using .flux.yaml to run kustomize. There is a constituency of people who use .flux.yaml to run things other than kustomize -- e.g., envsubst. It would be good to give those people a plausible path to migrate.

The key bit will be to have something runs an arbitrary command, and can be hooked up to GOTK controllers. Tekton and GitHub Actions spring to mind, and have different strengths.

  1. Try to find (from the community) some examples of .flux.yaml without kustomize. We know some people wanted to use it with envsubst, so that might be a decent example to start with, albeit fairly simple.
  2. Make worked examples for your chosen technologies from above -- e.g., construct a Tekton pipeline that is triggered by new commits, runs envsubst, and stashes the result somewhere for kustomize-controller to pick up.
  3. Generalise the examples into guides -- perhaps one for each of the technologies -- showing how to migrate from a Flux v1 configuration using .flux.yaml, to Flux v2 plus the pipeline-running technology.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation related issues and pull requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions