x
This commit is contained in:
parent
e7168a3039
commit
80344a23ec
17 changed files with 70 additions and 122 deletions
30
deployments/kusts/home-server.yaml
Normal file
30
deployments/kusts/home-server.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
## I am so fucking mad with Flux right now I can't even begin explaining it.
|
||||
# I have to do this because it doesn't respect order in kusts...
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: home-server-apps
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
ref:
|
||||
branch: main
|
||||
url: ssh://git@repobase.net/j/home-server.git
|
||||
secretRef:
|
||||
name: ssh-credentials
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: home-server-apps
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
path: ./deployments/home-server
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-server-apps
|
||||
targetNamespace: home-server
|
||||
|
30
deployments/kusts/operators.yaml
Normal file
30
deployments/kusts/operators.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
## I am so fucking mad with Flux right now I can't even begin explaining it.
|
||||
# I have to do this because it doesn't respect order in kusts...
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: operators
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
ref:
|
||||
branch: main
|
||||
url: ssh://git@repobase.net/j/home-server.git
|
||||
secretRef:
|
||||
name: ssh-credentials
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: operators
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
path: ./deployments/operators
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: operators
|
||||
targetNamespace: home-server
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue