fixed namespace & added monero ks
This commit is contained in:
parent
f216d39379
commit
4be0172a1f
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
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
|
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
|
||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
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