mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 23:51:00 +00:00
apps restructure
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
8d74a625bc
commit
0b69038d79
11 changed files with 36 additions and 0 deletions
12
apps/forgejo/kustomization.yaml
Normal file
12
apps/forgejo/kustomization.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- storage.yaml
|
||||
- forgejo-iscsi-auth.sealed.yaml
|
||||
- secrets-sealed.yaml
|
||||
- network-policy.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- route.yaml
|
||||
23
management/platform-apps/forgejo.yaml
Normal file
23
management/platform-apps/forgejo.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: forgejo
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argoproj.io/sync-wave: "0"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/gwg313/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/forgejo
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: forgejo
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
|
|
@ -6,4 +6,5 @@ resources:
|
|||
- kyverno-policies.yaml
|
||||
- tetragon-core.yaml
|
||||
- tetragon-policies.yaml
|
||||
- forgejo.yaml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue