Compare commits

..

12 Commits

Author SHA1 Message Date
Jan Novak
b02ef13a6b add several config files, namely relevant to docker-30 and gitea 2025-12-27 00:22:32 +01:00
Jan Novak(SRE)
cd85cc8163 gitops: add forgotten longhorn kustomization 2025-05-19 21:50:30 +02:00
Jan Novak(SRE)
a64ac54bdb gitops: deploy longhorn storage 2025-05-19 21:49:16 +02:00
Jan Novak(SRE)
bab22dce79 giopts: add host kuard.home.lab to kuard ingress 2025-05-18 20:23:14 +02:00
Jan Novak(SRE)
aef00e12a8 gitops: disable admissionWebhook on ingress controller 2025-05-18 20:15:54 +02:00
Jan Novak(SRE)
821db10dba gitops: fix kuard 2025-05-18 19:52:26 +02:00
Jan Novak(SRE)
608289d7d7 gitops: deploy kubernetes up and running demo application 2025-05-18 19:50:33 +02:00
Jan Novak(SRE)
950f531658 gitops: add kustomization with ingress-nginx deployment 2025-05-18 19:45:51 +02:00
Jan Novak(SRE)
65fdc58e48 gitops: store cilium kustomization in flux-system namespace 2025-05-11 23:59:34 +02:00
Jan Novak(SRE)
8f0b5f2863 gitops: point flux kustomizations directly at flux-system dir, add
kustomization for cilium
2025-05-11 23:56:52 +02:00
Flux Bot
45d2df4def Add Flux sync manifests 2025-05-11 23:46:39 +02:00
Flux Bot
dfa1242c38 Add Flux v2.5.1 component manifests 2025-05-11 23:46:36 +02:00
17 changed files with 12830 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: cilium
namespace: kube-system
spec:
chart:
spec:
chart: cilium
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: cilium
version: 1.16.5
interval: 5m0s

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cilium
namespace: flux-system
spec:
interval: 1m0s
url: https://helm.cilium.io/

View File

@@ -0,0 +1,52 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cilium
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/cilium
prune: true
sourceRef:
kind: GitRepository
name: flux-system
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ingress-nginx
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/ingress-nginx
prune: true
sourceRef:
kind: GitRepository
name: flux-system
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kuard
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/kuard
prune: true
sourceRef:
kind: GitRepository
name: flux-system
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: longhorn
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/longhorn
prune: true
sourceRef:
kind: GitRepository
name: flux-system

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: https://gitlab.hrajfrisbee.cz/infrastructure/home-kubernetes.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./gitops/home-kubernetes/flux-system
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- extra-kustomizations.yaml

View File

@@ -0,0 +1,21 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: ingress-nginx
namespace: ingress-nginx
spec:
chart:
spec:
chart: ingress-nginx
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: ingress-nginx
version: 4.12.0
values:
controller:
admissionWebhooks:
enabled: false
patch:
enabled: false
interval: 5m0s

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: ingress-nginx
namespace: ingress-nginx
spec:
interval: 5m0s
url: https://kubernetes.github.io/ingress-nginx

View File

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

View File

@@ -0,0 +1,29 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kuard
namespace: kuard
spec:
selector:
matchLabels:
app: kuard
replicas: 1
template:
metadata:
labels:
app: kuard
spec:
containers:
- image: gcr.io/kuar-demo/kuard-amd64:1
imagePullPolicy: Always
name: kuard
ports:
- containerPort: 8080
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi

View File

@@ -0,0 +1,29 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kuard
namespace: kuard
spec:
ingressClassName: nginx
rules:
- host: test.kuard.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kuard
port:
number: 80
- host: kuard.home.lab
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kuard
port:
number: 80

View File

@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kuard

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: kuard
namespace: kuard
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
selector:
app: kuard

View File

@@ -0,0 +1,15 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: longhorn
namespace: longhorn
spec:
chart:
spec:
chart: longhorn
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: longhorn
version: v1.8.1
interval: 5m0s

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: longhorn
namespace: longhorn
spec:
interval: 5m0s
url: https://charts.longhorn.io

View File

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

View File