feat: Move spegel to apps

This commit is contained in:
2025-12-17 00:32:17 +01:00
parent cda4fab71d
commit c4059140e3
7 changed files with 3 additions and 68 deletions

View File

@@ -6,7 +6,6 @@ resources:
- ../../controllers/artifacts.yaml - ../../controllers/artifacts.yaml
- ../../controllers/cilium/cilium.yaml - ../../controllers/cilium/cilium.yaml
- ../../controllers/cert-manager/cert-manager.yaml - ../../controllers/cert-manager/cert-manager.yaml
- ../../controllers/spegel/spegel.yaml
- ../../controllers/longhorn/longhorn.yaml - ../../controllers/longhorn/longhorn.yaml
- ../../controllers/local-path-provisioner/local-path-provisioner.yaml - ../../controllers/local-path-provisioner/local-path-provisioner.yaml
- ../../controllers/cnpg/cnpg.yaml - ../../controllers/cnpg/cnpg.yaml
@@ -15,3 +14,6 @@ resources:
- ../../configs/certificates/certificates.yaml - ../../configs/certificates/certificates.yaml
- ../../configs/alerts/alerts.yaml - ../../configs/alerts/alerts.yaml
- ../../configs/longhorn-jobs/longhorn-jobs.yaml - ../../configs/longhorn-jobs/longhorn-jobs.yaml
- ../../apps/artifacts.yaml
- ../../apps/spegel/spegel.yaml

View File

@@ -19,11 +19,6 @@ spec:
copy: copy:
- from: "@foundation/controllers/cert-manager/**" - from: "@foundation/controllers/cert-manager/**"
to: "@artifact/" to: "@artifact/"
- name: spegel
originRevision: "@foundation"
copy:
- from: "@foundation/controllers/spegel/**"
to: "@artifact/"
- name: openebs - name: openebs
originRevision: "@foundation" originRevision: "@foundation"
copy: copy:

View File

@@ -1,26 +0,0 @@
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

@@ -1,9 +0,0 @@
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

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

View File

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

View File

@@ -1,15 +0,0 @@
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