Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / visualization / charts / grafana / values.yaml
1 rbac:
2   create: true
3   pspEnabled: true
4   pspUseAppArmor: true
5   namespaced: false
6 serviceAccount:
7   create: true
8   name:
9
10 replicas: 1
11
12 deploymentStrategy: RollingUpdate
13
14 readinessProbe:
15   httpGet:
16     path: /api/health
17     port: 3000
18
19 livenessProbe:
20   httpGet:
21     path: /api/health
22     port: 3000
23   initialDelaySeconds: 60
24   timeoutSeconds: 30
25   failureThreshold: 10
26
27 image:
28   repository: grafana/grafana
29   tag: 6.0.2
30   pullPolicy: IfNotPresent
31
32   ## Optionally specify an array of imagePullSecrets.
33   ## Secrets must be manually created in the namespace.
34   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
35   ##
36   # pullSecrets:
37   #   - myRegistrKeySecretName
38
39 securityContext:
40   runAsUser: 472
41   fsGroup: 472
42
43
44 extraConfigmapMounts: []
45   # - name: certs-configmap
46   #   mountPath: /etc/grafana/ssl/
47   #   configMap: certs-configmap
48   #   readOnly: true
49
50
51 extraEmptyDirMounts: []
52   # - name: provisioning-notifiers
53   #   mountPath: /etc/grafana/provisioning/notifiers
54
55
56 ## Assign a PriorityClassName to pods if set
57 # priorityClassName:
58
59 downloadDashboardsImage:
60   repository: appropriate/curl
61   tag: latest
62   pullPolicy: IfNotPresent
63
64 chownDataImage:
65   repository: busybox
66   tag: 1.30.0
67   pullPolicy: IfNotPresent
68
69 ## Pod Annotations
70 # podAnnotations: {}
71
72 ## Deployment annotations
73 # annotations: {}
74
75 ## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
76 ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
77 ## ref: http://kubernetes.io/docs/user-guide/services/
78 ##
79 service:
80   type: ClusterIP
81   port: 80
82   targetPort: 3000
83     # targetPort: 4181 To be used with a proxy extraContainer
84   annotations: {}
85   labels: {}
86
87 ingress:
88   enabled: false
89   annotations: {}
90     # kubernetes.io/ingress.class: nginx
91     # kubernetes.io/tls-acme: "true"
92   labels: {}
93   path: /
94   hosts:
95     - chart-example.local
96   tls: []
97   #  - secretName: chart-example-tls
98   #    hosts:
99   #      - chart-example.local
100
101 resources: {}
102 #  limits:
103 #    cpu: 100m
104 #    memory: 128Mi
105 #  requests:
106 #    cpu: 100m
107 #    memory: 128Mi
108
109 ## Node labels for pod assignment
110 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
111 #
112 nodeSelector: {}
113
114 ## Tolerations for pod assignment
115 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
116 ##
117 tolerations: []
118
119 ## Affinity for pod assignment
120 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
121 ##
122 affinity: {}
123
124 extraInitContainers: []
125
126 ## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
127 extraContainers: |
128 # - name: proxy
129 #   image: quay.io/gambol99/keycloak-proxy:latest
130 #   args:
131 #   - -provider=github
132 #   - -client-id=
133 #   - -client-secret=
134 #   - -github-org=<ORG_NAME>
135 #   - -email-domain=*
136 #   - -cookie-secret=
137 #   - -http-address=http://0.0.0.0:4181
138 #   - -upstream-url=http://127.0.0.1:3000
139 #   ports:
140 #     - name: proxy-web
141 #       containerPort: 4181
142
143 ## Enable persistence using Persistent Volume Claims
144 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
145 ##
146 persistence:
147   enabled: false
148   initChownData: true
149   # storageClassName: default
150   accessModes:
151     - ReadWriteOnce
152   size: 10Gi
153   # annotations: {}
154   # subPath: ""
155   # existingClaim:
156
157 # Administrator credentials when not using an existing secret (see below)
158 adminUser: admin
159 adminPassword: admin
160
161 # Use an existing secret for the admin user.
162 admin:
163   existingSecret: ""
164   userKey: admin-user
165   passwordKey: admin-password
166
167 ## Define command to be executed at startup by grafana container
168 ## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
169 ## Default is "run.sh" as defined in grafana's Dockerfile
170 # command:
171 # - "sh"
172 # - "/run.sh"
173
174 ## Use an alternate scheduler, e.g. "stork".
175 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
176 ##
177 # schedulerName:
178
179 ## Extra environment variables that will be pass onto deployment pods
180 env: {}
181
182 ## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
183 ## This can be useful for auth tokens, etc
184 envFromSecret: ""
185
186 ## Additional grafana server secret mounts
187 # Defines additional mounts with secrets. Secrets must be manually created in the namespace.
188 extraSecretMounts: []
189   # - name: secret-files
190   #   mountPath: /etc/secrets
191   #   secretName: grafana-secret-files
192   #   readOnly: true
193
194 ## Additional grafana server volume mounts
195 # Defines additional volume mounts.
196 extraVolumeMounts: []
197   # - name: extra-volume
198   #   mountPath: /mnt/volume
199   #   readOnly: true
200   #   existingClaim: volume-claim
201
202 ## Pass the plugins you want installed as a list.
203 ##
204 plugins: []
205   # - digrich-bubblechart-panel
206   # - grafana-clock-panel
207
208 ## Configure grafana datasources
209 ## ref: http://docs.grafana.org/administration/provisioning/#datasources
210 ##
211 datasources:
212   datasources.yaml:
213     apiVersion: 1
214     datasources:
215     - name: Prometheus
216       type: prometheus
217       url: http://localhost:9090
218       isDefault: true
219     - name: M3DB
220       type: prometheus
221       url: http://m3coordinator-m3db-cluster.edge1.svc.cluster.local:7201
222       access: proxy
223
224 ## Configure notifiers
225 ## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
226 ##
227 notifiers: {}
228 #  notifiers.yaml:
229 #    notifiers:
230 #    - name: email-notifier
231 #      type: email
232 #      uid: email1
233 #      # either:
234 #      org_id: 1
235 #      # or
236 #      org_name: Main Org.
237 #      is_default: true
238 #      settings:
239 #        addresses: an_email_address@example.com
240 #    delete_notifiers:
241
242 ## Configure grafana dashboard providers
243 ## ref: http://docs.grafana.org/administration/provisioning/#dashboards
244 ##
245 ## `path` must be /var/lib/grafana/dashboards/<provider_name>
246 ##
247 dashboardProviders: {}
248 #  dashboardproviders.yaml:
249 #    apiVersion: 1
250 #    providers:
251 #    - name: 'default'
252 #      orgId: 1
253 #      folder: ''
254 #      type: file
255 #      disableDeletion: false
256 #      editable: true
257 #      options:
258 #        path: /var/lib/grafana/dashboards/default
259
260 ## Configure grafana dashboard to import
261 ## NOTE: To use dashboards you must also enable/configure dashboardProviders
262 ## ref: https://grafana.com/dashboards
263 ##
264 ## dashboards per provider, use provider name as key.
265 ##
266 dashboards: {}
267   # default:
268   #   some-dashboard:
269   #     json: |
270   #       $RAW_JSON
271   #   custom-dashboard:
272   #     file: dashboards/custom-dashboard.json
273   #   prometheus-stats:
274   #     gnetId: 2
275   #     revision: 2
276   #     datasource: Prometheus
277   #   local-dashboard:
278   #     url: https://example.com/repository/test.json
279   #   local-dashboard-base64:
280   #     url: https://example.com/repository/test-b64.json
281   #     b64content: true
282
283 ## Reference to external ConfigMap per provider. Use provider name as key and ConfiMap name as value.
284 ## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
285 ## ConfigMap data example:
286 ##
287 ## data:
288 ##   example-dashboard.json: |
289 ##     RAW_JSON
290 ##
291 dashboardsConfigMaps: {}
292 #  default: ""
293
294 ## Grafana's primary configuration
295 ## NOTE: values in map will be converted to ini format
296 ## ref: http://docs.grafana.org/installation/configuration/
297 ##
298 grafana.ini:
299   paths:
300     data: /var/lib/grafana/data
301     logs: /var/log/grafana
302     plugins: /var/lib/grafana/plugins
303     provisioning: /etc/grafana/provisioning
304   analytics:
305     check_for_updates: true
306   log:
307     mode: console
308   grafana_net:
309     url: https://grafana.net
310 ## LDAP Authentication can be enabled with the following values on grafana.ini
311 ## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
312   # auth.ldap:
313   #   enabled: true
314   #   allow_sign_up: true
315   #   config_file: /etc/grafana/ldap.toml
316
317 ## Grafana's LDAP configuration
318 ## Templated by the template in _helpers.tpl
319 ## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
320 ## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
321 ## ref: http://docs.grafana.org/installation/ldap/#configuration
322 ldap:
323   # `existingSecret` is a reference to an existing secret containing the ldap configuration
324   # for Grafana in a key `ldap-toml`.
325   existingSecret: ""
326   # `config` is the content of `ldap.toml` that will be stored in the created secret
327   config: ""
328   # config: |-
329   #   verbose_logging = true
330
331   #   [[servers]]
332   #   host = "my-ldap-server"
333   #   port = 636
334   #   use_ssl = true
335   #   start_tls = false
336   #   ssl_skip_verify = false
337   #   bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
338
339 ## Grafana's SMTP configuration
340 ## NOTE: To enable, grafana.ini must be configured with smtp.enabled
341 ## ref: http://docs.grafana.org/installation/configuration/#smtp
342 smtp:
343   # `existingSecret` is a reference to an existing secret containing the smtp configuration
344   # for Grafana.
345   existingSecret: ""
346   userKey: "user"
347   passwordKey: "password"
348
349 ## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
350 ## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
351 sidecar:
352   image: kiwigrid/k8s-sidecar:0.0.13
353   imagePullPolicy: IfNotPresent
354   resources: {}
355 #   limits:
356 #     cpu: 100m
357 #     memory: 100Mi
358 #   requests:
359 #     cpu: 50m
360 #     memory: 50Mi
361   dashboards:
362     enabled: false
363     # label that the configmaps with dashboards are marked with
364     label: grafana_dashboard
365     # folder in the pod that should hold the collected dashboards
366     folder: /tmp/dashboards
367     # If specified, the sidecar will search for dashboard config-maps inside this namespace.
368     # Otherwise the namespace in which the sidecar is running will be used.
369     # It's also possible to specify ALL to search in all namespaces
370     searchNamespace: null
371   datasources:
372     enabled: false
373     # label that the configmaps with datasources are marked with
374     label: grafana_datasource
375     # If specified, the sidecar will search for datasource config-maps inside this namespace.
376     # Otherwise the namespace in which the sidecar is running will be used.
377     # It's also possible to specify ALL to search in all namespaces
378     searchNamespace: null