Skip to content

source-controller: define source dependencies #326

Discussion options

You must be logged in to vote

When using remote bases, kustomize-controller does not support private repos, your proposal would solve this along with the caching problem.

I don't think dependsOn is the right term to describe this features, my proposal is:

apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
  name: app
# ...
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
  name: infra
spec:
  include:
    - name: app
      namespace: gotk-system
      from: "./deploy"
      to: "./bases/apps/app"
# ...
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
  name: infra
spec:
  sourceRef:
    kind: GitRepository
    name: infra
  path: .…

Replies: 6 comments 16 replies

Comment options

You must be logged in to vote
9 replies
@raffis
Comment options

@phillebaba
Comment options

@stefanprodan
Comment options

@nlamot
Comment options

@stefanprodan
Comment options

Answer selected by hiddeco
Comment options

You must be logged in to vote
7 replies
@stefanprodan
Comment options

@vladimirfx
Comment options

@vladimirfx
Comment options

@raffis
Comment options

@bob-rohan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet