From b0f9c7cdbcbb92cb01149bb33cdfdae53be119a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 24 Jan 2024 15:57:39 +0100 Subject: [PATCH] fix --- monitor/grafana/datas.tf | 2 +- monitor/grafana/index.yaml | 108 ++++++++++++++++++------------------- 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/monitor/grafana/datas.tf b/monitor/grafana/datas.tf index 15307db..10db8d0 100644 --- a/monitor/grafana/datas.tf +++ b/monitor/grafana/datas.tf @@ -85,7 +85,7 @@ data "kustomization_overlay" "data" { metadata: name: grafana annotations: - configmap.reloader.stakater.com/reload: "${kubernetes_config_map_v1.config.metadata[0].name}" + configmap.reloader.stakater.com/reload: "grafana" EOF } } diff --git a/monitor/grafana/index.yaml b/monitor/grafana/index.yaml index 15f47c5..8ca51e9 100644 --- a/monitor/grafana/index.yaml +++ b/monitor/grafana/index.yaml @@ -6,60 +6,6 @@ metadata: name: grafana description: null options: - sub-domain: - default: grafana - examples: - - grafana - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - admin_name: - default: grafana_admin - examples: - - grafana_admin - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string - app-group: - default: monitor - examples: - - monitor - type: string - volume: - default: - accessMode: ReadWriteOnce - size: 10Gi - examples: - - accessMode: ReadWriteOnce - size: 10Gi - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: object images: default: busybox: @@ -157,6 +103,60 @@ options: type: string type: object type: object + admin_name: + default: grafana_admin + examples: + - grafana_admin + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + sub-domain: + default: grafana + examples: + - grafana + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string + app-group: + default: monitor + examples: + - monitor + type: string + volume: + default: + accessMode: ReadWriteOnce + size: 10Gi + examples: + - accessMode: ReadWriteOnce + size: 10Gi + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: object dependencies: [] providers: kubernetes: true