Commit 05e796f1 authored by Jack Zampolin's avatar Jack Zampolin

Require user to set .Values.influxURL

parent 36e3ca95
{{- $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 }}
\ No newline at end of file
{{- $bl := empty .Values.influxURL }}
{{- if not $bl }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
......@@ -37,4 +39,5 @@ spec:
claimName: {{ template "fullname" . }}
{{ else }}
emptyDir: {}
{{ end }}
\ No newline at end of file
{{ end }}
{{- end }}
\ No newline at end of file
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment