mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Use an existing secret for the InfluxDB auth - Sometimes you need to check in the values.yaml in a repo and you don't want to expose the secrets. With the existingSecret option you can use and existing kubernetes secret with the keys `influxdb-user` and `infuxdb-password` to set the corresponding environment variables in Kapacitor. The keys are the same as the ones used in the `influxdb-auth` secret created by the InfluxDB Helm chart. Signed-off-by: Angelo Fausti <afausti@lsst.org> * Bump minor version instead Signed-off-by: Angelo Fausti <afausti@lsst.org>
69 lines
2.1 KiB
YAML
69 lines
2.1 KiB
YAML
## kapacitor image version
|
|
## ref: https://hub.docker.com/r/library/kapacitor/tags/
|
|
##
|
|
image:
|
|
repository: "kapacitor"
|
|
tag: "1.5.2-alpine"
|
|
pullPolicy: "IfNotPresent"
|
|
|
|
## Specify a service type, defaults to NodePort
|
|
## ref: http://kubernetes.io/docs/user-guide/services/
|
|
##
|
|
service:
|
|
type: ClusterIP
|
|
|
|
## Persist data to a persistent volume
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
enabled: true
|
|
## kapacitor data Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
# storageClass: "-"
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
# existingClaim: ""
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
cpu: 0.1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|
|
|
|
## Set the environment variables for kapacitor (or anything else you want to use)
|
|
## ref: https://hub.docker.com/_/kapacitor/
|
|
## ref: https://docs.influxdata.com/kapacitor/latest/administration/configuration/
|
|
##
|
|
# Examples below
|
|
#
|
|
# envVars:
|
|
# KAPACITOR_SLACK_ENABLED: true
|
|
# KAPACITOR_SLACK_URL: "http://slack.com/xxxxx/xxxxx/xxxx/xxxxxxx"
|
|
# KAPACITOR_HTTP_LOG_ENABLED: true
|
|
# KAPACITOR_LOGGING_LEVEL: "INFO"
|
|
#
|
|
# or, at your terminal, with
|
|
#
|
|
# helm install --name kapacitor-rls --set influxURL=http://influxurl.com,envVars.KAPACITOR_SLACK_ENABLED=true,envVars.KAPACITOR_SLACK_URL="http://slack.com/xxxxx/xxxxx/xxxx/xxxxxxx" stable/kapacitor
|
|
|
|
## Set the URL of InfluxDB instance to create subscription on
|
|
## ref: https://docs.influxdata.com/kapacitor/v1.1/introduction/getting_started/
|
|
##
|
|
# influxURL: http://influxdb-influxdb.tick:8086
|
|
|
|
## Name of an existing Secrect used to set the environment variables for the
|
|
## InfluxDB user and password. The expected keys in the secret are
|
|
## `influxdb-user` and `influxdb-password`.
|
|
##
|
|
# existingSecret: influxdb-auth
|