add app gitea

This commit is contained in:
2024-06-24 21:55:38 +10:00
parent 602cabf041
commit df768c9031
5 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: gitea-secrets
namespace: gitea
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
targetNamespace: redis
path: ./gitea
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops-secrets
dependsOn:
- name: repositories
namespace: flux-system
decryption:
provider: sops
secretRef:
name: gitea-sops-age
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: gitea
namespace: gitea
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
path: ./kubernetes/apps/gitea/app
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: flux-system
dependsOn:
- name: gitea-secrets
namespace: gitea
postBuild:
substituteFrom:
- kind: Secret
name: gitea-secrets