diff --git a/kubernetes/infrastructure/spegel/kustomization.yaml b/kubernetes/infrastructure/spegel/kustomization.yaml new file mode 100644 index 0000000..de3303d --- /dev/null +++ b/kubernetes/infrastructure/spegel/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: spegel +resources: + - namespace.yaml + - spegel.yaml diff --git a/kubernetes/infrastructure/spegel/namespace.yaml b/kubernetes/infrastructure/spegel/namespace.yaml new file mode 100644 index 0000000..fa87a08 --- /dev/null +++ b/kubernetes/infrastructure/spegel/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: spegel diff --git a/kubernetes/infrastructure/spegel/spegel.yaml b/kubernetes/infrastructure/spegel/spegel.yaml new file mode 100644 index 0000000..2ea32c0 --- /dev/null +++ b/kubernetes/infrastructure/spegel/spegel.yaml @@ -0,0 +1,43 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: spegel + namespace: spegel +spec: + type: "oci" + interval: 5m0s + url: oci://ghcr.io/spegel-org/helm-charts +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: spegel + namespace: spegel +spec: + interval: 1m + chart: + spec: + chart: spegel + version: "v0.0.24" + interval: 5m + sourceRef: + kind: HelmRepository + name: spegel + values: + image: + pullPolicy: Always + spegel: + registries: + [ + "https://cgr.dev", + "https://docker.io", + "https://ghcr.io", + "https://quay.io", + "https://mcr.microsoft.com", + "https://public.ecr.aws", + "https://gcr.io", + "https://registry.k8s.io", + "https://k8s.gcr.io", + "https://lscr.io", + "https://git.fascinated.cc", + ]