Remove duplicate snapshot controller.

This commit is contained in:
Joseph Hanson 2024-01-16 21:20:04 -06:00
parent 8907406bb6
commit 42e772da05
5 changed files with 0 additions and 80 deletions

View file

@ -8,4 +8,3 @@ resources:
# Flux-Kustomizations # Flux-Kustomizations
- ./node-feature-discovery/ks.yaml - ./node-feature-discovery/ks.yaml
- ./reloader/ks.yaml - ./reloader/ks.yaml
- ./snapshot-controller/ks.yaml

View file

@ -1,34 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: snapshot-controller
spec:
interval: 30m
chart:
spec:
chart: snapshot-controller
version: 2.0.4
sourceRef:
kind: HelmRepository
name: piraeus
namespace: flux-system
maxHistory: 2
install:
crds: CreateReplace
remediation:
retries: 3
upgrade:
cleanupOnFail: true
crds: CreateReplace
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controller:
serviceMonitor:
create: true
webhook:
enabled: false

View file

@ -1,6 +0,0 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml

View file

@ -1,17 +0,0 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/cert-manager.io/issuer_v1.json
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: snapshot-controller-webhook-selfsign
spec:
selfSigned: {}
---
# yaml-language-server: $schema=https://ks.hsn.dev/cert-manager.io/issuer_v1.json
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: snapshot-controller-webhook-ca
spec:
ca:
secretName: snapshot-controller-webhook-ca

View file

@ -1,22 +0,0 @@
---
# 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 snapshot-controller
namespace: flux-system
spec:
targetNamespace: system
commonMetadata:
labels:
app.kubernetes.io/name: *appname
interval: 10m
path: "./kubernetes/apps/system/snapshot-controller/app"
prune: true
sourceRef:
kind: GitRepository
name: homelab
wait: true
timeout: 2m
dependsOn:
- name: cert-manager