diff --git a/charts/paas-webapp/Chart.yaml b/charts/paas-webapp/Chart.yaml index ba6527d..e421346 100644 --- a/charts/paas-webapp/Chart.yaml +++ b/charts/paas-webapp/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.1.1 +version: 2.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 1.25.1 +appVersion: 1.26.0 dependencies: - name: webapp diff --git a/charts/paas-webapp/templates/ingressTCP.yaml b/charts/paas-webapp/templates/ingressTCP.yaml new file mode 100644 index 0000000..1f9fdad --- /dev/null +++ b/charts/paas-webapp/templates/ingressTCP.yaml @@ -0,0 +1,24 @@ +{{- if .Values.ingressTCP.enabled }} +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRouteTCP +metadata: + name: {{ .Values.ingressTCP.name }} + namespace: {{ .Values.ingressTCP.namespace }} + {{- with .Values.ingressTCP.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- with .Values.ingressTCP.entryPoints }} + entryPoints: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.ingressTCP.routes }} + routes: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- if .Values.ingressTCP.tls.enabled }} + tls: + secretName: {{ .Values.ingressTCP.tls.secretName }} + {{- end }} +{{- end }}