refactor: Restructure the extras

This commit is contained in:
2026-05-31 00:53:30 +05:30
parent 4915d4ef03
commit 10f08c656b
11 changed files with 2 additions and 10 deletions
+1 -2
View File
@@ -20,11 +20,10 @@ spec:
ExperimentalGatewayAPISupport: true ExperimentalGatewayAPISupport: true
- repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git - repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main targetRevision: main
path: add-ons/cert-manager path: extras/add-ons/cert-manager
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: cert-manager namespace: cert-manager
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
-1
View File
@@ -12,7 +12,6 @@ spec:
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: sealed-secrets namespace: sealed-secrets
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
-2
View File
@@ -1,13 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# add-ons # add-ons
- add-ons/traefik.yaml - add-ons/traefik.yaml
- add-ons/cert-manager.yaml - add-ons/cert-manager.yaml
- add-ons/sealed-secrets.yaml - add-ons/sealed-secrets.yaml
- add-ons/cnpg.yaml - add-ons/cnpg.yaml
# services # services
- services/app-argocd-repos.yaml - services/app-argocd-repos.yaml
- services/app-autoregexbot.yaml - services/app-autoregexbot.yaml
+1 -1
View File
@@ -26,7 +26,7 @@ spec:
hostPath: /srv/media hostPath: /srv/media
- repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git - repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main targetRevision: main
path: services/jellyfin path: extras/services/jellyfin
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: jellyfin namespace: jellyfin
@@ -1,6 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- namespace.yaml - namespace.yaml
- root-app.yaml - root-app.yaml
-3
View File
@@ -1,12 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: argocd namespace: argocd
resources: resources:
- https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.6/manifests/install.yaml - https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.6/manifests/install.yaml
- argocd-root-app - argocd-root-app
patches: patches:
- target: - target:
kind: Service kind: Service