mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
support influxdb with ingress (#5099)
* support influxdb with ingress and increment version to 0.8.5 * don't default value for SSL cert and increment version to 0.9.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: influxdb
|
||||
version: 0.9.0
|
||||
version: 0.9.1
|
||||
appVersion: 1.4
|
||||
description: Scalable datastore for metrics, events, and real-time analytics.
|
||||
keywords:
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "influxdb.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "influxdb.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.ingress.annotations | indent 4 }}
|
||||
spec:
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.ingress.hostname | quote }}
|
||||
secretName: {{ .Values.ingress.secretName }}
|
||||
{{- end }}
|
||||
rules:
|
||||
- host: {{ .Values.ingress.hostname }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "influxdb.fullname" . }}
|
||||
servicePort: 8086
|
||||
{{- end -}}
|
||||
@@ -86,6 +86,15 @@ resources:
|
||||
memory: 16Gi
|
||||
cpu: 8
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
tls: false
|
||||
# secretName: my-tls-cert # only needed if tls above is true
|
||||
hostname: influxdb.foobar.com
|
||||
annotations:
|
||||
# kubernetes.io/ingress.class: "nginx"
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user