From 63b10a132a1cc01e32a9c0fef3797fe911445b0f Mon Sep 17 00:00:00 2001 From: Lukas Date: Sat, 5 Oct 2024 02:05:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clusterrolebinding.yaml | 12 ------ apps/kubernetes-dashboard/helm-release.yaml | 41 ------------------- .../kubernetes-dashboard/helm-repository.yaml | 7 ---- apps/kubernetes-dashboard/kustomization.yaml | 8 ---- apps/kubernetes-dashboard/namespace.yaml | 4 -- 5 files changed, 72 deletions(-) delete mode 100644 apps/kubernetes-dashboard/clusterrolebinding.yaml delete mode 100644 apps/kubernetes-dashboard/helm-release.yaml delete mode 100644 apps/kubernetes-dashboard/helm-repository.yaml delete mode 100644 apps/kubernetes-dashboard/kustomization.yaml delete mode 100644 apps/kubernetes-dashboard/namespace.yaml diff --git a/apps/kubernetes-dashboard/clusterrolebinding.yaml b/apps/kubernetes-dashboard/clusterrolebinding.yaml deleted file mode 100644 index f5ffd96..0000000 --- a/apps/kubernetes-dashboard/clusterrolebinding.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: kubernetes-dashboard-view -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: view -subjects: -- kind: ServiceAccount - name: kubernetes-dashboard - namespace: kubernetes-dashboard diff --git a/apps/kubernetes-dashboard/helm-release.yaml b/apps/kubernetes-dashboard/helm-release.yaml deleted file mode 100644 index 8551dfc..0000000 --- a/apps/kubernetes-dashboard/helm-release.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: kubernetes-dashboard -spec: - interval: 1h - chart: - spec: - chart: kubernetes-dashboard - sourceRef: - kind: HelmRepository - name: kubernetes-dashboard - interval: 1h - values: - extraArgs: - - --enable-skip-login - - --enable-insecure-login - protocolHttp: true - service: - externalPort: 80 - ingress: - enabled: true - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/router.entrypoints: websecure,web - traefik.ingress.kubernetes.io/router.tls: "true" - hosts: - - kubernetes.chaosdorf.space - tls: - - secretName: kubernetes-dashboard-tls - hosts: - - kubernetes.chaosdorf.space - customPaths: - - path: / - pathType: ImplementationSpecific - backend: - service: - name: >- - {{ include "kubernetes-dashboard.fullname" . }} - port: - name: http diff --git a/apps/kubernetes-dashboard/helm-repository.yaml b/apps/kubernetes-dashboard/helm-repository.yaml deleted file mode 100644 index da0dc01..0000000 --- a/apps/kubernetes-dashboard/helm-repository.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: kubernetes-dashboard -spec: - url: https://kubernetes.github.io/dashboard/ - interval: 1h diff --git a/apps/kubernetes-dashboard/kustomization.yaml b/apps/kubernetes-dashboard/kustomization.yaml deleted file mode 100644 index 8324465..0000000 --- a/apps/kubernetes-dashboard/kustomization.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: kubernetes-dashboard -resources: -- clusterrolebinding.yaml -- helm-release.yaml -- helm-repository.yaml -- namespace.yaml diff --git a/apps/kubernetes-dashboard/namespace.yaml b/apps/kubernetes-dashboard/namespace.yaml deleted file mode 100644 index 7f5196a..0000000 --- a/apps/kubernetes-dashboard/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: kubernetes-dashboard