Created
November 8, 2021 11:46
-
-
Save haarchri/4b39112f5d00dbad815bb60d6dc4167f to your computer and use it in GitHub Desktop.
flux-sync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: source.toolkit.fluxcd.io/v1beta1 | |
kind: GitRepository | |
metadata: | |
name: flux-system | |
namespace: flux-system | |
spec: | |
interval: 1m | |
url: https://github.com/fluxcd/flux2-kustomize-helm-example.git | |
ref: | |
branch: main | |
# secretRef: | |
# name: | |
--- | |
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 | |
kind: Kustomization | |
metadata: | |
name: flux-system | |
namespace: flux-system | |
spec: | |
# serviceAccountName: | |
interval: 5m | |
sourceRef: | |
kind: GitRepository | |
name: flux-system | |
targetNamespace: flux-system | |
path: clusters/production | |
prune: true | |
validation: client | |
# decryption: | |
# provider: sops | |
# secretRef: | |
# name: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment