Files
charts/bitnami/wildfly/templates/ingress.yaml
T
Miguel Ángel Cabrera MiñagorriandGitHub e3bb5a6e36 [bitnami/*] Update ingress for serveral charts (#5012)
* 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 commit a7a1668fad.

* Revert "Update phpmyadmin ingress"

This reverts commit eef3d95ba3.

* Revert "Update prestashop ingress"

This reverts commit 5676c9b815.

* Revert "Update rabbitmq ingress"

This reverts commit c228cac700.

* Revert "Update redmine ingress"

This reverts commit 1db59ce0d8.

* Revert "Update spark ingress"

This reverts commit ca7413e84f.

* Revert "Update spring cloud dataflow ingress"

This reverts commit b400a3edb4.

* Update dependencies

* Add missing values to wildfly README

* Fix thanos port name

* Update dependencies

* Bump minio major in thanos
2021-01-15 10:45:40 +01:00

57 lines
2.3 KiB
YAML

{{- if .Values.ingress.enabled }}
apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }}
kind: Ingress
metadata:
name: {{ template "common.names.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.ingress.annotations .Values.commonAnnotations .Values.ingress.certManager }}
annotations:
{{- if .Values.ingress.certManager }}
kubernetes.io/tls-acme: "true"
{{- end }}
{{- if .Values.ingress.annotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
spec:
rules:
{{- if .Values.ingress.hostname }}
- host: {{ .Values.ingress.hostname }}
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.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" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if or .Values.ingress.tls .Values.ingress.extraTls }}
tls:
{{- if .Values.ingress.tls }}
- hosts:
- {{ .Values.ingress.hostname }}
secretName: {{ printf "%s-tls" .Values.ingress.hostname }}
{{- end }}
{{- if .Values.ingress.extraTls }}
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.extraTls "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}