Initial commit
This commit is contained in:
20
bootstrap/kustomization/apps/gitea/gitea-install.yaml
Normal file
20
bootstrap/kustomization/apps/gitea/gitea-install.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: install-gitea--app
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 4m
|
||||
dependsOn:
|
||||
- name: install-traefik--infra
|
||||
path: ./apps/gitea/install
|
||||
prune: true
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cert-manager-install--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
timeout: 2m
|
||||
path: ./infrastructure/cert-manager-install
|
||||
prune: true
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cert-manager-issuer--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
timeout: 2m
|
||||
dependsOn:
|
||||
- name: cert-manager-install--infra
|
||||
path: ./infrastructure/cert-manager-issuer
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
20
bootstrap/kustomization/infrastructure/metallb-config.yaml
Normal file
20
bootstrap/kustomization/infrastructure/metallb-config.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: config-metallb--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 2m
|
||||
dependsOn:
|
||||
- name: install-metallb--infra
|
||||
path: ./infrastructure/metallb-config
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
healthChecks:
|
||||
- apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: metallb-controller
|
||||
namespace: infrastructure
|
||||
14
bootstrap/kustomization/infrastructure/metallb-install.yaml
Normal file
14
bootstrap/kustomization/infrastructure/metallb-install.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: install-metallb--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
timeout: 5m
|
||||
path: ./infrastructure/metallb-install
|
||||
prune: true
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
20
bootstrap/kustomization/infrastructure/routes.yaml
Normal file
20
bootstrap/kustomization/infrastructure/routes.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: routing--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 2m
|
||||
timeout: 2m
|
||||
dependsOn:
|
||||
- name: install-traefik--infra
|
||||
path: ./infrastructure/routes
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
healthChecks:
|
||||
- apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: traefik
|
||||
namespace: infrastructure
|
||||
16
bootstrap/kustomization/infrastructure/traefik-install.yaml
Normal file
16
bootstrap/kustomization/infrastructure/traefik-install.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: install-traefik--infra
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
timeout: 5m
|
||||
dependsOn:
|
||||
- name: config-metallb--infra
|
||||
path: ./infrastructure/traefik-install
|
||||
prune: true
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
4
bootstrap/ns/apps.yaml
Normal file
4
bootstrap/ns/apps.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gitea
|
||||
4
bootstrap/ns/infrastructure.yaml
Normal file
4
bootstrap/ns/infrastructure.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: infrastructure
|
||||
8
bootstrap/repositories/jetstack.yaml
Normal file
8
bootstrap/repositories/jetstack.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: jetstack
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://charts.jetstack.io
|
||||
8
bootstrap/repositories/metallb.yaml
Normal file
8
bootstrap/repositories/metallb.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: metallb
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://metallb.github.io/metallb
|
||||
8
bootstrap/repositories/traefik.yaml
Normal file
8
bootstrap/repositories/traefik.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: traefik
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://traefik.github.io/charts
|
||||
Reference in New Issue
Block a user