mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Require user to set .Values.influxURL
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{{- $bl := empty .Values.influxURL }}
|
||||
{{- if not $bl }}
|
||||
Kapacitor can be accessed via port 9092 on the following DNS name from within your cluster:
|
||||
|
||||
- http://{{ template "fullname" . }}.{{ .Release.Namespace }}:9092
|
||||
@@ -19,4 +21,9 @@ To tail the logs for the Kapacitor pod run the following:
|
||||
To watch for the LoadBalancer IP or Hostname to populate run the following:
|
||||
|
||||
- kubectl get svc -w --namespace {{ .Release.Namespace }} -l app={{ template "fullname" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if empty .Values.influxURL }}
|
||||
You have not set .Values.influxURL. Kapacitor needs an InfluxDB instance to create a subscription on. Please set that value to deploy kapacitor
|
||||
{{- end }}
|
||||
@@ -1,3 +1,5 @@
|
||||
{{- $bl := empty .Values.influxURL }}
|
||||
{{- if not $bl }}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -37,4 +39,5 @@ spec:
|
||||
claimName: {{ template "fullname" . }}
|
||||
{{ else }}
|
||||
emptyDir: {}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
@@ -35,4 +35,4 @@ resources:
|
||||
## 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
|
||||
# influxURL: http://influxdb-influxdb.tick:8086
|
||||
|
||||
Reference in New Issue
Block a user