github.com/replicatedcom/ship@v0.50.0/integration/init/grafana-with-values/input/values.yaml (about) 1 rbac: 2 create: true 3 pspEnabled: true 4 serviceAccount: 5 create: true 6 name: 7 8 replicas: 1 9 10 deploymentStrategy: RollingUpdate 11 12 readinessProbe: 13 httpGet: 14 path: /api/health 15 port: 3000 16 17 livenessProbe: 18 httpGet: 19 path: /api/health 20 port: 3000 21 initialDelaySeconds: 60 22 timeoutSeconds: 30 23 failureThreshold: 10 24 25 image: 26 repository: grafana/grafana 27 tag: 5.3.4 28 pullPolicy: IfNotPresent 29 30 ## Optionally specify an array of imagePullSecrets. 31 ## Secrets must be manually created in the namespace. 32 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ 33 ## 34 # pullSecrets: 35 # - myRegistrKeySecretName 36 37 securityContext: 38 runAsUser: 472 39 fsGroup: 472 40 41 ## Assign a PriorityClassName to pods if set 42 # priorityClassName: 43 44 downloadDashboardsImage: 45 repository: appropriate/curl 46 tag: latest 47 pullPolicy: IfNotPresent 48 49 ## Pod Annotations 50 # podAnnotations: {} 51 52 ## Deployment annotations 53 # annotations: {} 54 55 ## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service). 56 ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it. 57 ## ref: http://kubernetes.io/docs/user-guide/services/ 58 ## 59 service: 60 type: ClusterIP 61 port: 80 62 annotations: {} 63 labels: {} 64 65 ingress: 66 enabled: false 67 annotations: {} 68 # kubernetes.io/ingress.class: nginx 69 # kubernetes.io/tls-acme: "true" 70 labels: {} 71 path: / 72 hosts: 73 - chart-example.local 74 tls: [] 75 # - secretName: chart-example-tls 76 # hosts: 77 # - chart-example.local 78 79 resources: {} 80 # limits: 81 # cpu: 100m 82 # memory: 128Mi 83 # requests: 84 # cpu: 100m 85 # memory: 128Mi 86 87 ## Node labels for pod assignment 88 ## ref: https://kubernetes.io/docs/user-guide/node-selection/ 89 # 90 nodeSelector: {} 91 92 ## Tolerations for pod assignment 93 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 94 ## 95 tolerations: [] 96 97 ## Affinity for pod assignment 98 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity 99 ## 100 affinity: {} 101 102 ## Enable persistence using Persistent Volume Claims 103 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ 104 ## 105 persistence: 106 enabled: true 107 storageClassName: default 108 accessModes: 109 - ReadWriteOnce 110 size: 111Gi 111 # annotations: {} 112 # subPath: "" 113 # existingClaim: 114 115 adminUser: admin 116 adminPassword: strongpassword 117 118 ## Use an alternate scheduler, e.g. "stork". 119 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ 120 ## 121 # schedulerName: 122 123 ## Extra environment variables that will be pass onto deployment pods 124 env: {} 125 126 ## The name of a secret in the same kubernetes namespace which contain values to be added to the environment 127 ## This can be useful for auth tokens, etc 128 envFromSecret: "" 129 130 ## Additional grafana server secret mounts 131 # Defines additional mounts with secrets. Secrets must be manually created in the namespace. 132 extraSecretMounts: [] 133 # - name: secret-files 134 # mountPath: /etc/secrets 135 # secretName: grafana-secret-files 136 # readOnly: true 137 138 ## Pass the plugins you want installed as a list. 139 ## 140 plugins: [] 141 # - digrich-bubblechart-panel 142 # - grafana-clock-panel 143 144 ## Configure grafana datasources 145 ## ref: http://docs.grafana.org/administration/provisioning/#datasources 146 ## 147 datasources: {} 148 # datasources.yaml: 149 # apiVersion: 1 150 # datasources: 151 # - name: Prometheus 152 # type: prometheus 153 # url: http://prometheus-prometheus-server 154 # access: proxy 155 # isDefault: true 156 157 ## Configure grafana dashboard providers 158 ## ref: http://docs.grafana.org/administration/provisioning/#dashboards 159 ## 160 ## `path` must be /var/lib/grafana/dashboards/<provider_name> 161 ## 162 dashboardProviders: {} 163 # dashboardproviders.yaml: 164 # apiVersion: 1 165 # providers: 166 # - name: 'default' 167 # orgId: 1 168 # folder: '' 169 # type: file 170 # disableDeletion: false 171 # editable: true 172 # options: 173 # path: /var/lib/grafana/dashboards/default 174 175 ## Configure grafana dashboard to import 176 ## NOTE: To use dashboards you must also enable/configure dashboardProviders 177 ## ref: https://grafana.com/dashboards 178 ## 179 ## dashboards per provider, use provider name as key. 180 ## 181 dashboards: {} 182 # default: 183 # some-dashboard: 184 # json: | 185 # $RAW_JSON 186 # prometheus-stats: 187 # gnetId: 2 188 # revision: 2 189 # datasource: Prometheus 190 # local-dashboard: 191 # url: https://example.com/repository/test.json 192 193 ## Reference to external ConfigMap per provider. Use provider name as key and ConfiMap name as value. 194 ## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both. 195 ## ConfigMap data example: 196 ## 197 ## data: 198 ## example-dashboard.json: | 199 ## RAW_JSON 200 ## 201 dashboardsConfigMaps: {} 202 # default: "" 203 204 ## Grafana's primary configuration 205 ## NOTE: values in map will be converted to ini format 206 ## ref: http://docs.grafana.org/installation/configuration/ 207 ## 208 grafana.ini: 209 paths: 210 data: /var/lib/grafana/data 211 logs: /var/log/grafana 212 plugins: /var/lib/grafana/plugins 213 provisioning: /etc/grafana/provisioning 214 analytics: 215 check_for_updates: true 216 log: 217 mode: console 218 grafana_net: 219 url: https://grafana.net 220 ## LDAP Authentication can be enabled with the following values on grafana.ini 221 ## NOTE: Grafana will fail to start if the value for ldap.toml is invalid 222 # auth.ldap: 223 # enabled: true 224 # allow_sign_up: true 225 # config_file: /etc/grafana/ldap.toml 226 227 ## Grafana's LDAP configuration 228 ## Templated by the template in _helpers.tpl 229 ## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled 230 ## ref: http://docs.grafana.org/installation/configuration/#auth-ldap 231 ## ref: http://docs.grafana.org/installation/ldap/#configuration 232 ldap: 233 # `existingSecret` is a reference to an existing secret containing the ldap configuration 234 # for Grafana in a key `ldap-toml`. 235 existingSecret: "" 236 # `config` is the content of `ldap.toml` that will be stored in the created secret 237 config: "" 238 # config: |- 239 # verbose_logging = true 240 241 # [[servers]] 242 # host = "my-ldap-server" 243 # port = 636 244 # use_ssl = true 245 # start_tls = false 246 # ssl_skip_verify = false 247 # bind_dn = "uid=%s,ou=users,dc=myorg,dc=com" 248 249 ## Grafana's SMTP configuration 250 ## NOTE: To enable, grafana.ini must be configured with smtp.enabled 251 ## ref: http://docs.grafana.org/installation/configuration/#smtp 252 smtp: 253 # `existingSecret` is a reference to an existing secret containing the smtp configuration 254 # for Grafana in keys `user` and `password`. 255 existingSecret: "" 256 257 ## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders 258 ## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards 259 sidecar: 260 image: kiwigrid/k8s-sidecar:0.0.6 261 imagePullPolicy: IfNotPresent 262 resources: 263 # limits: 264 # cpu: 100m 265 # memory: 100Mi 266 # requests: 267 # cpu: 50m 268 # memory: 50Mi 269 dashboards: 270 enabled: false 271 # label that the configmaps with dashboards are marked with 272 label: grafana_dashboard 273 # folder in the pod that should hold the collected dashboards 274 folder: /tmp/dashboards 275 # If specified, the sidecar will search for dashboard config-maps inside this namespace. 276 # Otherwise the namespace in which the sidecar is running will be used. 277 # It's also possible to specify ALL to search in all namespaces 278 searchNamespace: null 279 datasources: 280 enabled: false 281 # label that the configmaps with datasources are marked with 282 label: grafana_datasource 283 # If specified, the sidecar will search for datasource config-maps inside this namespace. 284 # Otherwise the namespace in which the sidecar is running will be used. 285 # It's also possible to specify ALL to search in all namespaces 286 searchNamespace: null