diff --git a/kubernetes/teyvat/apps/database/dragonfly/app/gatus.yaml b/kubernetes/teyvat/apps/database/dragonfly/app/gatus.yaml deleted file mode 100644 index 497316e267..0000000000 --- a/kubernetes/teyvat/apps/database/dragonfly/app/gatus.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: dragonfly-gatus-ep - labels: - gatus.io/enabled: "true" -data: - config.yaml: | - endpoints: - - name: dragonfly-db - group: infrastructure - url: tcp://dragonfly.database.svc.cluster.local:6379 - interval: 1m - conditions: ["[CONNECTED] == true"] - alerts: [{ type: discord }] - ui: - hide-url: true - hide-hostname: true diff --git a/kubernetes/teyvat/apps/database/dragonfly/app/helmrelease.yaml b/kubernetes/teyvat/apps/database/dragonfly/app/helmrelease.yaml deleted file mode 100644 index d8b7282b18..0000000000 --- a/kubernetes/teyvat/apps/database/dragonfly/app/helmrelease.yaml +++ /dev/null @@ -1,66 +0,0 @@ ---- -# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: &app dragonfly -spec: - interval: 35m - chart: - spec: - chart: dragonfly - version: v1.14.2 - sourceRef: - kind: HelmRepository - name: dragonfly - namespace: flux-system - maxHistory: 3 - install: - remediation: - retries: 3 - upgrade: - cleanupOnFail: true - remediation: - retries: 3 - uninstall: - keepHistory: false - dependsOn: - - name: rook-ceph-cluster - namespace: rook-ceph - values: - replicaCount: 1 - podSecurityContext: - fsGroup: 2000 - securityContext: - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsNonRoot: true - runAsUser: 1000 - service: - type: LoadBalancer - serviceMonitor: - enabled: true - prometheusRule: - enabled: true - spec: - - alert: DragonflyMissing - expr: absent(dragonfly_uptime_in_seconds) == 1 - for: 0m - labels: - severity: critical - annotations: - summary: Dragonfly is missing - description: "Dragonfly is missing" - storage: - enabled: true - requests: 1Gi - storageClassName: ceph-block - resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 512Mi diff --git a/kubernetes/teyvat/apps/database/dragonfly/app/kustomization.yaml b/kubernetes/teyvat/apps/database/dragonfly/app/kustomization.yaml deleted file mode 100644 index 9f287b3837..0000000000 --- a/kubernetes/teyvat/apps/database/dragonfly/app/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# yaml-language-server: $schema=https://json.schemastore.org/kustomization -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ./gatus.yaml - - ./helmrelease.yaml diff --git a/kubernetes/teyvat/apps/database/dragonfly/ks.yaml b/kubernetes/teyvat/apps/database/dragonfly/ks.yaml deleted file mode 100644 index 11e3c577c2..0000000000 --- a/kubernetes/teyvat/apps/database/dragonfly/ks.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: &app dragonfly - namespace: flux-system -spec: - targetNamespace: database - commonMetadata: - labels: - app.kubernetes.io/name: *app - dependsOn: - - name: external-secrets-bitwarden - path: ./kubernetes/teyvat/apps/database/dragonfly/app - prune: true - sourceRef: - kind: GitRepository - name: home-kubernetes - wait: true - interval: 30m - retryInterval: 1m - timeout: 5m diff --git a/kubernetes/teyvat/apps/database/kustomization.yaml b/kubernetes/teyvat/apps/database/kustomization.yaml index 6badf97847..1e2d47caa6 100644 --- a/kubernetes/teyvat/apps/database/kustomization.yaml +++ b/kubernetes/teyvat/apps/database/kustomization.yaml @@ -7,5 +7,4 @@ resources: - ./namespace.yaml # Flux-Kustomizations - ./cloudnative-pg/ks.yaml - # - ./dragonfly/ks.yaml - ./dragonfly-operator/ks.yaml