mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
* Update ingress for wildfly * Update ingress for tomcat * Update thanos ingress * Update testlink ingress * Update suitecrm ingress * Update spring cloud dataflow ingress * Update spark ingress * Update redmine ingress * Update rabbitmq ingress * Update prestashop ingress * Update phpmyadmin ingress * Update phpbb ingress * Revert "Update phpbb ingress" This reverts commita7a1668fad. * Revert "Update phpmyadmin ingress" This reverts commiteef3d95ba3. * Revert "Update prestashop ingress" This reverts commit5676c9b815. * Revert "Update rabbitmq ingress" This reverts commitc228cac700. * Revert "Update redmine ingress" This reverts commit1db59ce0d8. * Revert "Update spark ingress" This reverts commitca7413e84f. * Revert "Update spring cloud dataflow ingress" This reverts commitb400a3edb4. * Update dependencies * Add missing values to wildfly README * Fix thanos port name * Update dependencies * Bump minio major in thanos
49 lines
1.9 KiB
YAML
49 lines
1.9 KiB
YAML
{{- $query := (include "thanos.query.values" . | fromYaml) -}}
|
|
{{- if $query.ingress.enabled -}}
|
|
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "common.names.fullname" . }}-query
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
annotations:
|
|
{{- if $query.ingress.certManager }}
|
|
kubernetes.io/tls-acme: "true"
|
|
{{- end }}
|
|
{{- range $key, $value := $query.ingress.annotations }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
spec:
|
|
rules:
|
|
{{- if $query.ingress.hostname }}
|
|
- host: {{ $query.ingress.hostname }}
|
|
http:
|
|
paths:
|
|
- path: {{ $query.ingress.path }}
|
|
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
|
|
pathType: {{ $query.ingress.pathType }}
|
|
{{- end }}
|
|
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" .) "query") "servicePort" "http" "context" $) | nindent 14 }}
|
|
{{- end }}
|
|
{{- range $query.ingress.extraHosts }}
|
|
- host: {{ .name }}
|
|
http:
|
|
paths:
|
|
- path: {{ default "/" .path }}
|
|
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
|
pathType: {{ default "ImplementationSpecific" .pathType }}
|
|
{{- end }}
|
|
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" .) "query") "servicePort" "http" "context" $) | nindent 14 }}
|
|
{{- end }}
|
|
{{- if or $query.ingress.tls $query.ingress.extraTls $query.ingress.hosts }}
|
|
tls:
|
|
{{- if or $query.ingress.secrets $query.ingress.tls }}
|
|
- hosts:
|
|
- {{ $query.ingress.hostname }}
|
|
secretName: {{ printf "%s-tls" $query.ingress.hostname }}
|
|
{{- end }}
|
|
{{- if $query.ingress.extraTls }}
|
|
{{- toYaml $query.ingress.extraTls | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|