80 lines
2.0 KiB
YAML
80 lines
2.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/grafana
|
|
pullPolicy: IfNotPresent
|
|
tag: 9.1.7@sha256:2f6a5673597ec9ebd692f8e97317c33d7115138dfa1912c662f5290b79c23998
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: HTTP
|
|
targetPort: 3000
|
|
port: 10038
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/api/health"
|
|
|
|
readiness:
|
|
path: "/api/health"
|
|
|
|
startup:
|
|
path: "/api/health"
|
|
|
|
secretEnv:
|
|
GF_SECURITY_ADMIN_USER: "admin"
|
|
GF_SECURITY_ADMIN_PASSWORD: "testpassword"
|
|
|
|
env:
|
|
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"
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/opt/bitnami/grafana/data"
|
|
grafana-tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
mountPath: /opt/bitnami/grafana/tmp
|
|
|
|
metrics:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: false
|
|
serviceMonitor:
|
|
interval: 1m
|
|
scrapeTimeout: 30s
|
|
labels: {}
|
|
# -- 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:
|
|
enabled: true
|