Trying out spegel.
This commit is contained in:
parent
b9825e3741
commit
876e2f2c78
5 changed files with 62 additions and 1 deletions
|
@ -7,5 +7,6 @@ resources:
|
||||||
- ./namespace.yaml
|
- ./namespace.yaml
|
||||||
# Flux-Kustomizations
|
# Flux-Kustomizations
|
||||||
- ./cilium/ks.yaml
|
- ./cilium/ks.yaml
|
||||||
- ./metrics-server/ks.yaml
|
|
||||||
- ./hccm/ks.yaml
|
- ./hccm/ks.yaml
|
||||||
|
- ./metrics-server/ks.yaml
|
||||||
|
- ./spegel/ks.yaml
|
||||||
|
|
23
kubernetes/apps/kube-system/spegel/app/helmrepository.yaml
Normal file
23
kubernetes/apps/kube-system/spegel/app/helmrepository.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: spegel
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: spegel
|
||||||
|
version: v0.0.15
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: xenitab
|
||||||
|
interval: 30m
|
||||||
|
values:
|
||||||
|
spegel:
|
||||||
|
containerdSock: /run/containerd/containerd.sock
|
||||||
|
containerdRegistryConfigPath: /etc/cri/conf.d/hosts
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./ocirepository.yaml
|
||||||
|
- ./helmrelease.yaml
|
11
kubernetes/apps/kube-system/spegel/app/ocirepository.yaml
Normal file
11
kubernetes/apps/kube-system/spegel/app/ocirepository.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1beta2.json
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: xenitab
|
||||||
|
spec:
|
||||||
|
type: oci
|
||||||
|
interval: 30m
|
||||||
|
url: oci://ghcr.io/xenitab/helm-charts
|
||||||
|
timeout: 3m
|
19
kubernetes/apps/kube-system/spegel/ks.yaml
Normal file
19
kubernetes/apps/kube-system/spegel/ks.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &appname spegel
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: kube-system
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *appname
|
||||||
|
interval: 10m
|
||||||
|
path: "./kubernetes/apps/kube-system/spegel/app"
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: valinor
|
||||||
|
wait: false
|
Reference in a new issue