From 44cccb5f6b75c532aa6b097e2989d7581e78869e Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 13:30:53 +0300 Subject: proper refactoring --- third-party/grafana/helmfile.yaml | 10 ---------- third-party/grafana/values.yaml | 36 ------------------------------------ third-party/nginx/helmfile.yaml | 10 ---------- third-party/nginx/values.yaml | 18 ------------------ third-party/prometheus/helmfile.yaml | 11 ----------- third-party/prometheus/values.yaml | 8 -------- 6 files changed, 93 deletions(-) delete mode 100644 third-party/grafana/helmfile.yaml delete mode 100644 third-party/grafana/values.yaml delete mode 100644 third-party/nginx/helmfile.yaml delete mode 100644 third-party/nginx/values.yaml delete mode 100644 third-party/prometheus/helmfile.yaml delete mode 100644 third-party/prometheus/values.yaml (limited to 'third-party') diff --git a/third-party/grafana/helmfile.yaml b/third-party/grafana/helmfile.yaml deleted file mode 100644 index 3c98528..0000000 --- a/third-party/grafana/helmfile.yaml +++ /dev/null @@ -1,10 +0,0 @@ -repositories: - - name: grafana - url: https://grafana.github.io/helm-charts - -releases: - - name: grafana - namespace: monitoring - chart: grafana/grafana - values: - - ./values.yaml diff --git a/third-party/grafana/values.yaml b/third-party/grafana/values.yaml deleted file mode 100644 index 7c8815b..0000000 --- a/third-party/grafana/values.yaml +++ /dev/null @@ -1,36 +0,0 @@ -adminUser: admin -adminPassword: secret -persistence: - enabled: true - size: 5Gi -datasources: - datasources.yaml: - apiVersion: 1 - datasources: - - name: Prometheus - type: prometheus - url: http://prometheus-server - access: proxy - isDefault: true -service: - type: ClusterIP - port: 80 -ingress: - enabled: true - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/redirect-entry-point: https - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" - traefik.ingress.kubernetes.io/router.tls.certresolver: default - traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud - traefik.ingress.kubernetes.io/router.tls.domains.0.sans: grafana.topkek.cloud - labels: {} - hosts: - - grafana.topkek.cloud - path: / - pathType: Prefix - tls: - - hosts: - - grafana.topkek.cloud - secretName: grafana-topkek-cloud-tls diff --git a/third-party/nginx/helmfile.yaml b/third-party/nginx/helmfile.yaml deleted file mode 100644 index a33c107..0000000 --- a/third-party/nginx/helmfile.yaml +++ /dev/null @@ -1,10 +0,0 @@ -repositories: - - name: bitnami - url: https://charts.bitnami.com/bitnami - -releases: - - name: nginx - namespace: default - chart: bitnami/nginx - values: - - ./values.yaml diff --git a/third-party/nginx/values.yaml b/third-party/nginx/values.yaml deleted file mode 100644 index d8f23ae..0000000 --- a/third-party/nginx/values.yaml +++ /dev/null @@ -1,18 +0,0 @@ -service: - type: ClusterIP - port: 80 -ingress: - enabled: true - hostname: k3s.topkek.cloud # Replace with your actual domain - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" - traefik.ingress.kubernetes.io/router.tls.certresolver: "default" - cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/redirect-entry-point: https - traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud - traefik.ingress.kubernetes.io/router.tls.domains.0.sans: k3s.topkek.cloud - tls: - - hosts: - - k3s.topkek.cloud - secretName: k3-topkek-cloud-tls diff --git a/third-party/prometheus/helmfile.yaml b/third-party/prometheus/helmfile.yaml deleted file mode 100644 index 3b3fae3..0000000 --- a/third-party/prometheus/helmfile.yaml +++ /dev/null @@ -1,11 +0,0 @@ -repositories: - - name: prometheus-community - url: https://prometheus-community.github.io/helm-charts - -releases: - - name: prometheus - namespace: monitoring - chart: prometheus-community/prometheus - version: 14.11.1 - values: - - ./values.yaml diff --git a/third-party/prometheus/values.yaml b/third-party/prometheus/values.yaml deleted file mode 100644 index 3da4c7e..0000000 --- a/third-party/prometheus/values.yaml +++ /dev/null @@ -1,8 +0,0 @@ -server: - persistentVolume: - enabled: true - size: 10Gi -alertmanager: - persistentVolume: - enabled: true - size: 2Gi -- cgit 1.4.1-2-gfad0