diff --git a/manifest/monitoring/dashboard/application.yaml b/manifest/monitoring/dashboard/application.yaml new file mode 100644 index 0000000..cc76cf7 --- /dev/null +++ b/manifest/monitoring/dashboard/application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: dashboard-application + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://github.com/ictsc/ictsc-drove.git + path: manifest/infrastructure/kubernetes-dashboard + targetRevision: main + plugin: {} + destination: + server: https://kubernetes.default.svc + namespace: dashboard + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true diff --git a/manifest/monitoring/dashboard/env/common/values.yaml b/manifest/monitoring/dashboard/env/common/values.yaml new file mode 100644 index 0000000..cd8083d --- /dev/null +++ b/manifest/monitoring/dashboard/env/common/values.yaml @@ -0,0 +1,10 @@ +app: + ingress: + enabled: true + tls: + enabled: false + +kong: + proxy: + http: + enabled: true diff --git a/manifest/monitoring/dashboard/environments.yaml b/manifest/monitoring/dashboard/environments.yaml new file mode 100644 index 0000000..a61425c --- /dev/null +++ b/manifest/monitoring/dashboard/environments.yaml @@ -0,0 +1,3 @@ +environments: + dev: {} + prod: {} diff --git a/manifest/monitoring/dashboard/helmfile.yaml b/manifest/monitoring/dashboard/helmfile.yaml new file mode 100644 index 0000000..71b4fca --- /dev/null +++ b/manifest/monitoring/dashboard/helmfile.yaml @@ -0,0 +1,16 @@ +bases: + - environments.yaml + +repositories: + - name: dashboard + url: https://kubernetes.github.io/dashboard/ + +releases: + - name: kubernetes-dashboard + namespace: dashboard + chart: kubernetes-dashboard/kubernetes-dashboard + version: 7.8.0 + values: + - env/common/values.yaml + - name: local-charts + chart: ./local diff --git a/manifest/monitoring/dashboard/local/hierarchy.yaml b/manifest/monitoring/dashboard/local/hierarchy.yaml new file mode 100644 index 0000000..4da6b5b --- /dev/null +++ b/manifest/monitoring/dashboard/local/hierarchy.yaml @@ -0,0 +1,7 @@ +apiVersion: hnc.x-k8s.io/v1alpha2 +kind: HierarchyConfiguration +metadata: + name: hierarchy + namespace: dashboard +spec: + parent: infrastructure