init flux
This commit is contained in:
parent
ff0a1ecfcd
commit
3f18e665b2
0
clusters/kzeros/flux-system/gotk-components.yaml
Normal file
0
clusters/kzeros/flux-system/gotk-components.yaml
Normal file
0
clusters/kzeros/flux-system/gotk-sync.yaml
Normal file
0
clusters/kzeros/flux-system/gotk-sync.yaml
Normal file
32
clusters/kzeros/flux-system/kustomization.yaml
Normal file
32
clusters/kzeros/flux-system/kustomization.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
patches:
|
||||
- patch: |
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: controller
|
||||
annotations:
|
||||
azure.workload.identity/client-id: 716cd018-121d-4d24-94ed-5e84c22ca0d6
|
||||
azure.workload.identity/tenant-id: 700f0ec8-4d6b-4b39-9ff1-41f88c72e529
|
||||
target:
|
||||
kind: ServiceAccount
|
||||
name: "(source-controller|image-reflector-controller)"
|
||||
- patch: |
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: controller
|
||||
labels:
|
||||
azure.workload.identity/use: "true"
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
azure.workload.identity/use: "true"
|
||||
target:
|
||||
kind: Deployment
|
||||
name: "(source-controller|image-reflector-controller)"
|
Loading…
x
Reference in New Issue
Block a user