Skip to content

Commit

Permalink
Update paas-webapp to add ingressTCP routes
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed May 29, 2024
1 parent 3502a52 commit 15f3e86
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/paas-webapp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions charts/paas-webapp/templates/ingressTCP.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 15f3e86

Please sign in to comment.