RIC-919 Upgrade influxdb helm chart v1.8 > v2.2
[ric-plt/ric-dep.git] / helm / 3rdparty / influxdb / values.yaml
1 image:
2   repository: influxdb
3   tag: 2.2.0-alpine
4   pullPolicy: IfNotPresent
5
6 ## Annotations to be added to InfluxDB pods
7 ##
8 podAnnotations: {}
9
10 ## Labels to be added to InfluxDB pods
11 ##
12 podLabels: {}
13
14 nameOverride: ""
15 fullnameOverride: ""
16
17 ## Configure resource requests and limits
18 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
19 ##
20 resources: {}
21   # We usually recommend not to specify default resources and to leave this as a conscious
22   # choice for the user. This also increases chances charts run on environments with little
23   # resources, such as Minikube. If you do want to specify resources, uncomment the following
24   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
25   # limits:
26   #  cpu: 100m
27   #  memory: 128Mi
28   # requests:
29   #  cpu: 100m
30   #  memory: 128Mi
31
32 ## Node labels for pod assignment
33 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
34 ##
35 nodeSelector: {}
36
37 ## Tolerations for pod assignment
38 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
39 ##
40 tolerations: []
41
42 ## Affinity for pod assignment
43 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
44 ##
45 affinity: {}
46
47 securityContext: {}
48
49 ## Customize liveness, readiness and startup probes
50 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
51 ##
52 livenessProbe: {}
53   # path: "/health"
54   # scheme: "HTTP"
55   # initialDelaySeconds: 0
56   # periodSeconds: 10
57   # timeoutSeconds: 1
58   # failureThreshold: 3
59
60 readinessProbe: {}
61   # path: "/health"
62   # scheme: "HTTP"
63   # initialDelaySeconds: 0
64   # periodSeconds: 10
65   # timeoutSeconds: 1
66   # successThreshold: 1
67   # failureThreshold: 3
68
69 startupProbe:
70   enabled: false
71   # path: "/health"
72   # scheme: "HTTP"
73   # initialDelaySeconds: 30
74   # periodSeconds: 5
75   # timeoutSeconds: 1
76   # failureThreshold: 6
77
78 ## Extra environment variables to configure influxdb
79 ## e.g.
80 # env:
81 #   - name: FOO
82 #     value: BAR
83 #   - name: BAZ
84 #     valueFrom:
85 #       secretKeyRef:
86 #         name: my-secret
87 #         key: my-key
88 env: {}
89
90 ## Create default user through docker entrypoint
91 ## Defaults indicated below
92 ##
93 adminUser:
94   organization: "influxdata"
95   bucket: "default"
96   user: "admin"
97   retention_policy: "0s"
98   ## Leave empty to generate a random password and token.
99   ## Or fill any of these values to use fixed values.
100   password: ""
101   token: ""
102
103   ## The password and token are obtained from an existing secret. The expected
104   ## keys are `admin-password` and `admin-token`.
105   ## If set, the password and token values above are ignored.
106   # existingSecret: influxdb-auth
107
108 ## Persist data to a persistent volume
109 ##
110 persistence:
111   enabled: true
112   ## If true will use an existing PVC instead of creating one
113   # useExisting: false
114   ## Name of existing PVC to be used in the influx deployment
115   # name:
116   ## influxdb data Persistent Volume Storage Class
117   ## If defined, storageClassName: <storageClass>
118   ## If set to "-", storageClassName: "", which disables dynamic provisioning
119   ## If undefined (the default) or set to null, no storageClassName spec is
120   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
121   ##   GKE, AWS & OpenStack)
122   ##
123   # storageClass: "-"
124   accessMode: ReadWriteOnce
125   size: 50Gi
126   mountPath: /var/lib/influxdb2
127   subPath: ""
128
129 ## Add custom volume and volumeMounts
130 ##
131 # volumes:
132 #   - name: influxdb2-templates
133 #     hostPath:
134 #       path: /data/influxdb2-templates
135 #       type: Directory
136 # mountPoints:
137 #   - name: influxdb2-templates
138 #     mountPath: /influxdb2-templates
139 #     readOnly: true
140
141 ## Allow executing custom init scripts
142 ## If the container finds any files with the .sh extension inside of the
143 ## /docker-entrypoint-initdb.d folder, it will execute them.
144 ## When multiple scripts are present, they will be executed in lexical sort order by name.
145 ## For more details see Custom Initialization Scripts in https://hub.docker.com/_/influxdb
146 initScripts:
147   enabled: false
148   scripts:
149     init.sh: |+
150       #!/bin/bash
151       influx apply --force yes -u https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml
152
153 ## Specify a service type
154 ## ref: http://kubernetes.io/docs/user-guide/services/
155 ##
156 service:
157   type: ClusterIP
158   port: 80
159   targetPort: 8086
160   annotations: {}
161   labels: {}
162   portName: http
163
164 serviceAccount:
165   # Specifies whether a ServiceAccount should be created
166   create: true
167   # The name of the ServiceAccount to use.
168   # If not set and create is true, a name is generated using the fullname template
169   name:
170   # Annotations for the ServiceAccount
171   annotations: {}
172
173 ingress:
174   enabled: false
175   # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
176   # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
177   # className: nginx
178   tls: false
179   # secretName: my-tls-cert # only needed if tls above is true or default certificate is not configured for Nginx
180   hostname: influxdb.foobar.com
181   annotations: {}
182     # kubernetes.io/ingress.class: "nginx"
183     # kubernetes.io/tls-acme: "true"
184   path: /
185
186 ## Pod disruption budget configuration
187 ##
188 pdb:
189   ## Specifies whether a Pod disruption budget should be created
190   ##
191   create: true
192   minAvailable: 1
193   # maxUnavailable: 1