This commit is contained in:
2024-01-24 15:51:06 +01:00
parent 42fe75fe41
commit 918d19d957
2 changed files with 53 additions and 39 deletions

View File

@@ -74,4 +74,18 @@ data "kustomization_overlay" "data" {
value: "${var.namespace}"
EOF
}
patches {
target {
kind = "Deployment"
name = "grafana"
}
patch = <<-EOF
apiVersion: apps/v1
kind: Deployment
metadata:
name: grafana
annotations:
configmap.reloader.stakater.com/reload: "${kubernetes_config_map_v1.config.metadata[0].name}"
EOF
}
}

View File

@@ -6,21 +6,40 @@ metadata:
name: grafana
description: null
options:
issuer:
default: letsencrypt-prod
volume:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi
type: string
type: object
admin_name:
default: grafana_admin
examples:
- traefik
- grafana_admin
type: string
app-group:
default: monitor
examples:
- monitor
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
images:
default:
busybox:
@@ -118,44 +137,25 @@ options:
type: string
type: object
type: object
sub-domain:
default: grafana
examples:
- grafana
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
domain:
default: your-company
examples:
- your-company
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
admin_name:
default: grafana_admin
domain:
default: your-company
examples:
- grafana_admin
- your-company
type: string
sub-domain:
default: grafana
examples:
- grafana
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
dependencies: []
providers: