fixed namespace & added monero ks

This commit is contained in:
Brad Stein 2025-08-11 07:30:38 -05:00
parent f216d39379
commit 4be0172a1f
9 changed files with 35 additions and 5 deletions

View File

@ -7,8 +7,7 @@ spec:
interval: 10m interval: 10m
path: ./services/gitea path: ./services/gitea
targetNamespace: gitea targetNamespace: gitea
createNamespace: true prune: false
prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system

View File

@ -7,7 +7,6 @@ spec:
interval: 10m interval: 10m
path: ./services/harbor path: ./services/harbor
targetNamespace: harbor targetNamespace: harbor
createNamespace: true
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View File

@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: monero
namespace: flux-system
spec:
interval: 10m
path: ./services/monero
targetNamespace: monero
prune: false
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
wait: true

View File

@ -7,10 +7,12 @@ spec:
interval: 10m interval: 10m
path: ./services/monero/monerod path: ./services/monero/monerod
targetNamespace: monero targetNamespace: monero
createNamespace: true
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
namespace: flux-system namespace: flux-system
dependsOn:
- name: monero
wait: true wait: true
timeout: 5m

View File

@ -5,3 +5,5 @@ resources:
- gotk-sync.yaml - gotk-sync.yaml
- kustomization-gitea.yaml - kustomization-gitea.yaml
- kustomization-harbor.yaml - kustomization-harbor.yaml
- kustomization-monero.yaml
- kustomization-monerod.yaml

View File

@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
# namespace: gitea # namespace: gitea
resources: resources:
- namespace.yaml
- deployment.yaml - deployment.yaml
- service.yaml - service.yaml
- pvc.yaml - pvc.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gitea

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: monero