refactored infrastructure folder to have a kustomization of its own, added infrastructure and secret manifests to flux system
This commit is contained in:
parent
30130665a5
commit
5bcfad8d77
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
path: ../../infrastructure/sources
|
||||
path: ../../infrastructure/
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: bitwarden
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 15m
|
||||
path: ../../infrastructure/bitwarden
|
||||
prune: true
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age-key
|
||||
dependsOn:
|
||||
- name: sources
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
12
clusters/default/flux-system/secrets.yaml
Normal file
12
clusters/default/flux-system/secrets.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: sources
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
path: ../../secrets/
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
6
infrastructure/kustomization.yaml
Normal file
6
infrastructure/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- bitwarden
|
||||
- sources
|
||||
- velero
|
||||
Loading…
Reference in a new issue