refactor: Restructure the repo
This commit is contained in:
@@ -3,4 +3,3 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.33.1/controller.yaml
|
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.33.1/controller.yaml
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: infra/cert-manager
|
path: add-ons/cert-manager
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: infra/sealed-secrets
|
path: add-ons/sealed-secrets
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- app-sealed-secrets.yaml
|
||||||
|
- app-cert-manager.yaml
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- add-ons
|
||||||
|
- services
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- app-scriptscribe.yaml
|
||||||
|
- app-autoregexbot.yaml
|
||||||
|
- app-betterslcm.yaml
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- scriptscribe.yaml
|
|
||||||
- sealed-secrets.yaml
|
|
||||||
- cert-manager.yaml
|
|
||||||
- telegram-autoregexbot.yaml
|
|
||||||
- betterslcm.yaml
|
|
||||||
@@ -2,6 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
|
||||||
- root-app.yaml
|
- root-app.yaml
|
||||||
- ssh-known-hosts-cm.yaml
|
- ssh-known-hosts-cm.yaml
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: argocd
|
|
||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps
|
path: applications
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
@@ -16,3 +16,5 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|||||||
@@ -13,4 +13,3 @@ data:
|
|||||||
gitea-ssh.whyredfire.tech ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLoFqTU09bU6ONUr9XvJT8G3zfwOviHw+ZM1EwPWVL5HEotYssWEjyteZGws5I0mXIuNJljL0BY1QSPoJaeAU8=
|
gitea-ssh.whyredfire.tech ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLoFqTU09bU6ONUr9XvJT8G3zfwOviHw+ZM1EwPWVL5HEotYssWEjyteZGws5I0mXIuNJljL0BY1QSPoJaeAU8=
|
||||||
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
|
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
|
||||||
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
|
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user