feat: Move spegel to apps
All checks were successful
kustomization/spegel/1498c208 reconciliation succeeded
kustomization/cilium/1498c208 reconciliation succeeded
kustomization/local-path-provisioner/1498c208 reconciliation succeeded
kustomization/cert-manager/1498c208 reconciliation succeeded
kustomization/longhorn/1498c208 reconciliation succeeded
kustomization/longhorn-jobs/1498c208 reconciliation succeeded
kustomization/cnpg/1498c208 reconciliation succeeded
kustomization/certificates/1498c208 reconciliation succeeded
kustomization/flux-system/1498c208 reconciliation succeeded
kustomization/alerts/1498c208 reconciliation succeeded

This commit is contained in:
2025-12-17 00:32:17 +01:00
parent cfa317caf4
commit 0b7ba9c2a4
8 changed files with 19 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: spegel
namespace: spegel
spec:
interval: 12h
install:
strategy:
name: RetryOnFailure
retryInterval: 2m
upgrade:
strategy:
name: RetryOnFailure
retryInterval: 3m
chart:
spec:
chart: spegel
version: "0.5.x"
sourceRef:
kind: HelmRepository
name: spegel
interval: 24h
values:
spegel:
containerdRegistryConfigPath: /etc/cri/conf.d/hosts

View File

@@ -0,0 +1,9 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: spegel
namespace: spegel
spec:
type: "oci"
interval: 24h
url: oci://ghcr.io/spegel-org/helm-charts

View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- helm-repository.yaml
- helm-release.yaml

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: spegel
labels:
pod-security.kubernetes.io/enforce: privileged

15
apps/spegel/spegel.yaml Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: spegel
namespace: flux-system
spec:
interval: 1h
retryInterval: 2m
timeout: 5m
sourceRef:
kind: ExternalArtifact
name: spegel
path: ./
prune: true
wait: true