refactor: Infra von Apps getrennt und Abhängigkeit hinzugefügt
This commit is contained in:
parent
908f400671
commit
3f181a4567
5
apps/base/infra/kustomitation.yaml
Normal file
5
apps/base/infra/kustomitation.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- cert-manager-repo.yaml
|
||||||
|
- cert-manager.yaml
|
||||||
12
apps/base/matrix/infra-sync.yaml
Normal file
12
apps/base/matrix/infra-sync.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: infra-apps
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m
|
||||||
|
path: ./apps/base/infra
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
@ -3,6 +3,4 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- matrix-postgres-auth.yaml
|
- matrix-postgres-auth.yaml
|
||||||
- cert-issuer.yaml
|
- cert-issuer.yaml
|
||||||
- ../base/infra/cert-manager-repo.yaml
|
|
||||||
- ../base/infra/cert-manager.yaml
|
|
||||||
@ -13,4 +13,6 @@ spec:
|
|||||||
decryption:
|
decryption:
|
||||||
provider: sops
|
provider: sops
|
||||||
secretRef:
|
secretRef:
|
||||||
name: sops-age
|
name: sops-age
|
||||||
|
dependsOn:
|
||||||
|
- name: infra-apps
|
||||||
Loading…
x
Reference in New Issue
Block a user