2021-11-23 22:51:54 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/grafana
|
2021-11-23 22:51:54 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-05-14 05:54:15 +00:00
|
|
|
tag: v9.5.2@sha256:31baa2ec4499ebc548e9fdfe44f3acb9acbc41bcf1d2ec458f8be66a93d20a3a
|
2021-11-23 22:51:54 +00:00
|
|
|
|
|
|
|
securityContext:
|
2023-03-04 12:42:14 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
2021-11-23 22:51:54 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2023-03-04 12:42:14 +00:00
|
|
|
protocol: http
|
2021-11-23 22:51:54 +00:00
|
|
|
targetPort: 3000
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10038
|
2021-11-23 22:51:54 +00:00
|
|
|
|
2023-03-04 12:42:14 +00:00
|
|
|
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"
|
2021-11-23 22:51:54 +00:00
|
|
|
|
2023-03-04 12:42:14 +00:00
|
|
|
readiness:
|
|
|
|
path: "/api/health"
|
2021-11-23 22:51:54 +00:00
|
|
|
|
2023-03-04 12:42:14 +00:00
|
|
|
startup:
|
|
|
|
path: "/api/health"
|
2021-11-23 22:51:54 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
2021-12-05 11:23:54 +00:00
|
|
|
mountPath: "/opt/bitnami/grafana/data"
|
2022-09-21 17:29:01 +00:00
|
|
|
grafana-tmp:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
mountPath: /opt/bitnami/grafana/tmp
|
2021-11-23 22:51:54 +00:00
|
|
|
|
|
|
|
metrics:
|
2023-03-04 12:42:14 +00:00
|
|
|
main:
|
|
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
enabled: true
|
|
|
|
type: serviceMonitor
|
|
|
|
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
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
2023-03-04 12:42:14 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|