fix
This commit is contained in:
@@ -6,46 +6,31 @@ metadata:
|
|||||||
name: prometheus
|
name: prometheus
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress-class:
|
domain:
|
||||||
default: traefik
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- your-company
|
||||||
|
type: string
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
examples:
|
||||||
|
- 1
|
||||||
|
type: integer
|
||||||
|
shards:
|
||||||
|
default: 1
|
||||||
|
examples:
|
||||||
|
- 1
|
||||||
|
type: integer
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
app-group:
|
||||||
default: monitor
|
default: monitor
|
||||||
examples:
|
examples:
|
||||||
- monitor
|
- monitor
|
||||||
type: string
|
type: string
|
||||||
logLevel:
|
|
||||||
default: info
|
|
||||||
examples:
|
|
||||||
- info
|
|
||||||
type: string
|
|
||||||
listenLocal:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
retention:
|
|
||||||
default: 10d
|
|
||||||
examples:
|
|
||||||
- 10d
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
enableAdminAPI:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
sub-domain:
|
|
||||||
default: prometheus
|
|
||||||
examples:
|
|
||||||
- prometheus
|
|
||||||
type: string
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
prometheus:
|
prometheus:
|
||||||
@@ -85,26 +70,41 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
shards:
|
issuer:
|
||||||
default: 1
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- 1
|
- letsencrypt-prod
|
||||||
type: integer
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
type: string
|
||||||
domain:
|
logLevel:
|
||||||
default: your-company
|
default: info
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- info
|
||||||
type: string
|
type: string
|
||||||
replicas:
|
listenLocal:
|
||||||
default: 1
|
default: false
|
||||||
examples:
|
examples:
|
||||||
- 1
|
- false
|
||||||
type: integer
|
type: boolean
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
retention:
|
||||||
|
default: 10d
|
||||||
|
examples:
|
||||||
|
- 10d
|
||||||
|
type: string
|
||||||
|
enableAdminAPI:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
sub-domain:
|
||||||
|
default: prometheus
|
||||||
|
examples:
|
||||||
|
- prometheus
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ resource "kubectl_manifest" "prometheus" {
|
|||||||
kind: Prometheus
|
kind: Prometheus
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
|
namespace: "${var.namespace}"
|
||||||
|
labels: ${jsonencode(local.common-labels)}
|
||||||
spec:
|
spec:
|
||||||
image: "${var.images.prometheus.registry}/${var.images.prometheus.repository}:${var.images.prometheus.tag}"
|
image: "${var.images.prometheus.registry}/${var.images.prometheus.repository}:${var.images.prometheus.tag}"
|
||||||
version: ${var.images.prometheus.tag}
|
version: ${var.images.prometheus.tag}
|
||||||
|
|||||||
Reference in New Issue
Block a user