chore: update kustomizations
This commit is contained in:
@@ -9,4 +9,4 @@ flux bootstrap git \
|
|||||||
--branch=$BRANCH \
|
--branch=$BRANCH \
|
||||||
--username=$USER_NAME \
|
--username=$USER_NAME \
|
||||||
--token-auth=true \
|
--token-auth=true \
|
||||||
--path=./
|
--path=./clusters/app
|
||||||
|
|||||||
17
clusters/app/go-example-kustomization.yaml
Normal file
17
clusters/app/go-example-kustomization.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: go-example
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 30m0s
|
||||||
|
path: ./kustomize
|
||||||
|
prune: true
|
||||||
|
retryInterval: 2m0s
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: go-example
|
||||||
|
targetNamespace: helloapp
|
||||||
|
timeout: 3m0s
|
||||||
|
wait: true
|
||||||
11
clusters/app/go-example-source.yaml
Normal file
11
clusters/app/go-example-source.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: go-example
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
ref:
|
||||||
|
branch: main
|
||||||
|
url: https://git.0orz.top/Zpekii/go-example
|
||||||
Reference in New Issue
Block a user