fixed namespace & added monero ks
This commit is contained in:
parent
f216d39379
commit
4be0172a1f
@ -7,8 +7,7 @@ spec:
|
||||
interval: 10m
|
||||
path: ./services/gitea
|
||||
targetNamespace: gitea
|
||||
createNamespace: true
|
||||
prune: true
|
||||
prune: false
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
|
||||
@ -7,7 +7,6 @@ spec:
|
||||
interval: 10m
|
||||
path: ./services/harbor
|
||||
targetNamespace: harbor
|
||||
createNamespace: true
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
|
||||
15
infrastructure/flux-system/kustomization-monero.yaml
Normal file
15
infrastructure/flux-system/kustomization-monero.yaml
Normal 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
|
||||
@ -7,10 +7,12 @@ spec:
|
||||
interval: 10m
|
||||
path: ./services/monero/monerod
|
||||
targetNamespace: monero
|
||||
createNamespace: true
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
wait: true
|
||||
dependsOn:
|
||||
- name: monero
|
||||
wait: true
|
||||
timeout: 5m
|
||||
@ -5,3 +5,5 @@ resources:
|
||||
- gotk-sync.yaml
|
||||
- kustomization-gitea.yaml
|
||||
- kustomization-harbor.yaml
|
||||
- kustomization-monero.yaml
|
||||
- kustomization-monerod.yaml
|
||||
|
||||
@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
# namespace: gitea
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- pvc.yaml
|
||||
|
||||
4
services/gitea/namespace.yaml
Normal file
4
services/gitea/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gitea
|
||||
4
services/monero/kustomization.yaml
Normal file
4
services/monero/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
4
services/monero/namespace.yaml
Normal file
4
services/monero/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: monero
|
||||
Loading…
x
Reference in New Issue
Block a user