++ add d8-ugmk-prod flux bootstrap and vault
This commit is contained in:
parent
63ae2ef92f
commit
5dcd01daa4
6432
clusters/d8-ugmk-prod/flux-system/gotk-components.yaml
Normal file
6432
clusters/d8-ugmk-prod/flux-system/gotk-components.yaml
Normal file
File diff suppressed because it is too large
Load Diff
27
clusters/d8-ugmk-prod/flux-system/gotk-sync.yaml
Normal file
27
clusters/d8-ugmk-prod/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: master
|
||||||
|
secretRef:
|
||||||
|
name: flux-system
|
||||||
|
url: http://10.222.255.165:3000/infra/iac.git
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: flux-system
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m0s
|
||||||
|
path: ./clusters/d8-ugmk-prod
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
5
clusters/d8-ugmk-prod/flux-system/kustomization.yaml
Normal file
5
clusters/d8-ugmk-prod/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
|
||||||
12
clusters/d8-ugmk-prod/helm-repositories.yaml
Normal file
12
clusters/d8-ugmk-prod/helm-repositories.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
type: oci
|
||||||
|
interval: 10m0s
|
||||||
|
url: oci://cr.yandex/crp3ccidau046kdj8g9q/charts
|
||||||
|
secretRef:
|
||||||
|
name: yc-cr-auth
|
||||||
12
clusters/d8-ugmk-prod/infrastructure/kustomization.yaml
Normal file
12
clusters/d8-ugmk-prod/infrastructure/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../infrastructure/vault
|
||||||
|
patches:
|
||||||
|
- path: ./patches/vault.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: vault
|
||||||
|
namespace: vault
|
||||||
14
clusters/d8-ugmk-prod/infrastructure/patches/vault.yaml
Normal file
14
clusters/d8-ugmk-prod/infrastructure/patches/vault.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: vault
|
||||||
|
namespace: vault
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: regcred
|
||||||
|
server:
|
||||||
|
dataStorage:
|
||||||
|
storageClass: local-path
|
||||||
6
clusters/d8-ugmk-prod/kustomization.yaml
Normal file
6
clusters/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./flux-system
|
||||||
|
- ./helm-repositories.yaml
|
||||||
|
- ./infrastructure
|
||||||
Loading…
Reference in New Issue
Block a user