Merge pull request #331 from 3dwardch3ng/misc

move cert-manager and progresql from apps to infrastructure
This commit is contained in:
2024-06-26 13:00:36 +10:00
committed by GitHub
15 changed files with 15 additions and 6 deletions

View File

@@ -3,7 +3,6 @@ kind: Kustomization
resources: resources:
- ./adguard-home/adguard-home.yaml - ./adguard-home/adguard-home.yaml
- ./capacitor/capacitor.yaml - ./capacitor/capacitor.yaml
- ./cert-manager/cert-manager.yaml
- ./code-server/code-server.yaml - ./code-server/code-server.yaml
- ./dokuwiki/dokuwiki.yaml - ./dokuwiki/dokuwiki.yaml
- ./gitea/gitea.yaml - ./gitea/gitea.yaml
@@ -12,7 +11,6 @@ resources:
- ./kavita/kavita.yaml - ./kavita/kavita.yaml
- ./nexus/nexus.yaml - ./nexus/nexus.yaml
- ./podinfo/podinfo.yaml - ./podinfo/podinfo.yaml
- ./postgresql/postgresql.yaml
- ./qbittorrent/qbittorrent.yaml - ./qbittorrent/qbittorrent.yaml
- ./redis/redis.yaml - ./redis/redis.yaml
- ./snippet-box/snippet-box.yaml - ./snippet-box/snippet-box.yaml

View File

@@ -8,12 +8,15 @@ spec:
timeout: 1m30s timeout: 1m30s
retryInterval: 30s retryInterval: 30s
targetNamespace: cert-manager targetNamespace: cert-manager
path: ./kubernetes/apps/cert-manager/app path: ./kubernetes/infrastructure/cert-manager/app
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
namespace: flux-system namespace: flux-system
name: flux-system name: flux-system
dependsOn:
- name: namespaces
namespace: flux-system
--- ---
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
@@ -32,6 +35,8 @@ spec:
namespace: flux-system namespace: flux-system
name: home-cluster-ops-secrets name: home-cluster-ops-secrets
dependsOn: dependsOn:
- name: namespaces
namespace: flux-system
- name: repositories - name: repositories
namespace: flux-system namespace: flux-system
decryption: decryption:
@@ -49,7 +54,7 @@ spec:
timeout: 1m30s timeout: 1m30s
retryInterval: 30s retryInterval: 30s
targetNamespace: cert-manager targetNamespace: cert-manager
path: ./kubernetes/apps/cert-manager/clusterissuer path: ./kubernetes/infrastructure/cert-manager/clusterissuer
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
@@ -82,6 +87,8 @@ spec:
namespace: flux-system namespace: flux-system
name: home-cluster-ops-secrets name: home-cluster-ops-secrets
dependsOn: dependsOn:
- name: namespaces
namespace: flux-system
- name: repositories - name: repositories
namespace: flux-system namespace: flux-system
decryption: decryption:
@@ -99,7 +106,7 @@ spec:
timeout: 1m30s timeout: 1m30s
retryInterval: 30s retryInterval: 30s
targetNamespace: cert-manager targetNamespace: cert-manager
path: ./kubernetes/apps/cert-manager/certificates path: ./kubernetes/infrastructure/cert-manager/certificates
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View File

@@ -1,9 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./cert-manager/cert-manager.yaml
# - ./cilium/cilium.yaml # - ./cilium/cilium.yaml
- ./minio/minio.yaml - ./minio/minio.yaml
- ./ingress-nginx/ingress-nginx.yaml - ./ingress-nginx/ingress-nginx.yaml
- ./ingress-nginx/ingress-nginx-config.yaml - ./ingress-nginx/ingress-nginx-config.yaml
- ./namespaces/namespaces.yaml - ./namespaces/namespaces.yaml
- ./postgresql/postgresql.yaml
- ./repositories/repositories.yaml - ./repositories/repositories.yaml

View File

@@ -15,6 +15,8 @@ spec:
namespace: flux-system namespace: flux-system
name: home-cluster-ops-secrets name: home-cluster-ops-secrets
dependsOn: dependsOn:
- name: namespaces
namespace: flux-system
- name: repositories - name: repositories
namespace: flux-system namespace: flux-system
decryption: decryption:
@@ -31,7 +33,7 @@ spec:
interval: 10m interval: 10m
timeout: 1m30s timeout: 1m30s
retryInterval: 30s retryInterval: 30s
path: ./kubernetes/apps/postgresql/app path: ./kubernetes/infrastructure/postgresql/app
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository