2023-03-04 12:45:49 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/grafana
|
|
|
|
pullPolicy: IfNotPresent
|
2023-07-18 15:40:24 +00:00
|
|
|
tag: v10.0.2@sha256:bb4f23972e032404b296f6b5c727858fc78c6313c540bc5101ee1e7f2348922d
|
2023-05-24 09:42:44 +00:00
|
|
|
manifestManager:
|
|
|
|
enabled: true
|
2023-03-04 12:45:49 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
targetPort: 3000
|
|
|
|
port: 10038
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
replicas: 2
|
|
|
|
strategy: RollingUpdate
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
GF_SECURITY_ADMIN_USER: "admin"
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: "testpassword"
|
|
|
|
GF_INSTALL_PLUGINS: ""
|
|
|
|
GF_PATHS_PLUGINS: "/opt/bitnami/grafana/data/plugins"
|
|
|
|
GF_AUTH_LDAP_ENABLED: "false"
|
|
|
|
GF_AUTH_LDAP_CONFIG_FILE: "/opt/bitnami/grafana/conf/ldap.toml"
|
|
|
|
GF_AUTH_LDAP_ALLOW_SIGN_UP: "false"
|
|
|
|
GF_PATHS_PROVISIONING: "/opt/bitnami/grafana/conf/provisioning"
|
|
|
|
GF_PATHS_CONFIG: "/opt/bitnami/grafana/conf/grafana.ini"
|
|
|
|
GF_PATHS_DATA: "/opt/bitnami/grafana/data"
|
|
|
|
GF_PATHS_LOGS: "/opt/bitnami/grafana/logs"
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/health"
|
|
|
|
|
|
|
|
readiness:
|
|
|
|
path: "/api/health"
|
|
|
|
|
|
|
|
startup:
|
|
|
|
path: "/api/health"
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/opt/bitnami/grafana/data"
|
|
|
|
grafana-tmp:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
mountPath: /opt/bitnami/grafana/tmp
|
|
|
|
|
|
|
|
metrics:
|
|
|
|
main:
|
|
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
enabled: true
|
2023-07-12 07:44:44 +00:00
|
|
|
type: "servicemonitor"
|
2023-03-04 12:45:49 +00:00
|
|
|
endpoints:
|
|
|
|
- port: main
|
|
|
|
path: /metrics
|
|
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
prometheusRule:
|
|
|
|
enabled: false
|
|
|
|
labels: {}
|
|
|
|
# -- Configure additionial rules for the chart under this key.
|
|
|
|
# @default -- See prometheusrules.yaml
|
|
|
|
rules:
|
|
|
|
[]
|
|
|
|
# - alert: UnifiPollerAbsent
|
|
|
|
# annotations:
|
|
|
|
# description: Unifi Poller has disappeared from Prometheus service discovery.
|
|
|
|
# summary: Unifi Poller is down.
|
|
|
|
# expr: |
|
|
|
|
# absent(up{job=~".*unifi-poller.*"} == 1)
|
|
|
|
# for: 5m
|
|
|
|
# labels:
|
|
|
|
# severity: critical
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|