fix
This commit is contained in:
@@ -7,11 +7,6 @@ locals {
|
|||||||
"app.kubernetes.io/managed-by" = "vynil"
|
"app.kubernetes.io/managed-by" = "vynil"
|
||||||
"app.kubernetes.io/instance" = var.instance
|
"app.kubernetes.io/instance" = var.instance
|
||||||
}
|
}
|
||||||
rb-patch = <<-EOF
|
|
||||||
- op: replace
|
|
||||||
path: /subjects/0/namespace
|
|
||||||
value: "${var.namespace}"
|
|
||||||
EOF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data "kustomization_overlay" "data" {
|
data "kustomization_overlay" "data" {
|
||||||
@@ -65,4 +60,15 @@ data "kustomization_overlay" "data" {
|
|||||||
value: "${var.namespace}"
|
value: "${var.namespace}"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
patches {
|
||||||
|
target {
|
||||||
|
kind = "HorizontalPodAutoscaler"
|
||||||
|
name = "grafana"
|
||||||
|
}
|
||||||
|
patch = <<-EOF
|
||||||
|
- op: replace
|
||||||
|
path: /apiVersion
|
||||||
|
value: "autoscaling/v2"
|
||||||
|
EOF
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,40 +6,15 @@ metadata:
|
|||||||
name: grafana
|
name: grafana
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
sub-domain:
|
sub-domain:
|
||||||
default: grafana
|
default: grafana
|
||||||
examples:
|
examples:
|
||||||
- grafana
|
- grafana
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
domain-name:
|
||||||
default: letsencrypt-prod
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- your_company.com
|
||||||
type: string
|
|
||||||
admin_name:
|
|
||||||
default: grafana_admin
|
|
||||||
examples:
|
|
||||||
- grafana_admin
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
app-group:
|
|
||||||
default: monitor
|
|
||||||
examples:
|
|
||||||
- monitor
|
|
||||||
type: string
|
type: string
|
||||||
volume:
|
volume:
|
||||||
default:
|
default:
|
||||||
@@ -60,6 +35,21 @@ options:
|
|||||||
default: 10Gi
|
default: 10Gi
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
app-group:
|
||||||
|
default: monitor
|
||||||
|
examples:
|
||||||
|
- monitor
|
||||||
|
type: string
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
admin_name:
|
||||||
|
default: grafana_admin
|
||||||
|
examples:
|
||||||
|
- grafana_admin
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
busybox:
|
busybox:
|
||||||
@@ -157,6 +147,16 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user