fix
This commit is contained in:
@@ -45,6 +45,13 @@ data "kustomization_overlay" "data" {
|
||||
listenLocal: ${var.listenLocal}
|
||||
enableAdminAPI: ${var.enableAdminAPI}
|
||||
retention: "${var.retention}"
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- namespace: ${var.namespace}
|
||||
name: prometheus-community-kube-alertmanager
|
||||
port: http-web
|
||||
pathPrefix: "/"
|
||||
apiVersion: v2
|
||||
EOF
|
||||
}
|
||||
patches {
|
||||
|
||||
@@ -6,56 +6,6 @@ metadata:
|
||||
name: prometheus
|
||||
description: null
|
||||
options:
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
replicas:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
logLevel:
|
||||
default: info
|
||||
examples:
|
||||
- info
|
||||
type: string
|
||||
sub-domain:
|
||||
default: prometheus
|
||||
examples:
|
||||
- prometheus
|
||||
type: string
|
||||
retention:
|
||||
default: 10d
|
||||
examples:
|
||||
- 10d
|
||||
type: string
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
app-group:
|
||||
default: monitor
|
||||
examples:
|
||||
- monitor
|
||||
type: string
|
||||
listenLocal:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
images:
|
||||
default:
|
||||
prometheus:
|
||||
@@ -95,11 +45,61 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
app-group:
|
||||
default: monitor
|
||||
examples:
|
||||
- monitor
|
||||
type: string
|
||||
replicas:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
shards:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
logLevel:
|
||||
default: info
|
||||
examples:
|
||||
- info
|
||||
type: string
|
||||
sub-domain:
|
||||
default: prometheus
|
||||
examples:
|
||||
- prometheus
|
||||
type: string
|
||||
listenLocal:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
retention:
|
||||
default: 10d
|
||||
examples:
|
||||
- 10d
|
||||
type: string
|
||||
enableAdminAPI:
|
||||
default: false
|
||||
examples:
|
||||
|
||||
@@ -15,13 +15,6 @@ metadata:
|
||||
release: "prometheus-community"
|
||||
heritage: "Helm"
|
||||
spec:
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- namespace: vynil-monitor
|
||||
name: prometheus-community-kube-alertmanager
|
||||
port: http-web
|
||||
pathPrefix: "/"
|
||||
apiVersion: v2
|
||||
image: "quay.io/prometheus/prometheus:v2.49.1"
|
||||
version: v2.49.1
|
||||
externalUrl: http://prometheus-community-kube-prometheus.vynil-monitor:9090
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
# Source: kube-prometheus-stack/templates/prometheus/serviceaccount.yaml
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
|
||||
Reference in New Issue
Block a user