Export from flux create

This commit is contained in:
2023-10-23 23:10:36 +01:00
parent 36d2a3c8e4
commit 66a4ddcfb7
2 changed files with 14 additions and 12 deletions

View File

@@ -1,16 +1,17 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: podinfo name: podinfo
namespace: flux-system namespace: flux-system
spec: spec:
interval: 30m0s interval: 30m0s
path: ./kustomize path: ./kustomize
prune: true prune: true
retryInterval: 2m0s retryInterval: 2m0s
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: podinfo name: podinfo
targetNamespace: default targetNamespace: default
timeout: 3m0s timeout: 3m0s
wait: true wait: true

View File

@@ -1,10 +1,11 @@
---
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository kind: GitRepository
metadata: metadata:
name: podinfo name: podinfo
namespace: flux-system namespace: flux-system
spec: spec:
interval: 1m interval: 1m0s
ref: ref:
branch: master branch: master
url: https://github.com/stefanprodan/podinfo url: https://github.com/stefanprodan/podinfo