chore: update flux
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m32s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m32s
This commit is contained in:
12
clusters/app/flux-deploy.sh
Executable file
12
clusters/app/flux-deploy.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
USER_NAME=Zpekii
|
||||
BRANCH=main
|
||||
URL=https://git.0orz.top/Zpekii/go-example.git
|
||||
|
||||
flux bootstrap git \
|
||||
--url=$URL \
|
||||
--branch=$BRANCH \
|
||||
--username=$USER_NAME \
|
||||
--token-auth=true \
|
||||
--path=./
|
||||
10195
clusters/app/flux-system/gotk-components.yaml
Normal file
10195
clusters/app/flux-system/gotk-components.yaml
Normal file
File diff suppressed because it is too large
Load Diff
27
clusters/app/flux-system/gotk-sync.yaml
Normal file
27
clusters/app/flux-system/gotk-sync.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# This manifest was generated by flux. DO NOT EDIT.
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
ref:
|
||||
branch: main
|
||||
secretRef:
|
||||
name: flux-system
|
||||
url: https://git.0orz.top/Zpekii/go-example.git
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
path: ./
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
5
clusters/app/flux-system/kustomization.yaml
Normal file
5
clusters/app/flux-system/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
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: 3m0s
|
||||
ref:
|
||||
branch: main
|
||||
url: https://git.0orz.top/Zpekii/go-example.git
|
||||
Reference in New Issue
Block a user