Skip to content

Commit

Permalink
fix(ingress): update traefik ingress to set apiVersion to support v2/3
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Sep 2, 2024
1 parent e4bb29c commit e58b684
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/deep-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 1.0.11
version: 1.0.12

# 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.gateway.enabled -}}
{{- if .Values.gateway.traefik.enabled -}}
apiVersion: traefik.containo.us/v1alpha1
apiVersion: {{ .Values.gateway.traefik.apiVersion }}
kind: IngressRoute
metadata:
name: {{ template "deep.fullname" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/deep-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,7 @@ gateway:
additionalPorts: {}
# config for using traefik 'IngressRoute'
traefik:
apiVersion: traefik.containo.us/v1alpha1
# -- Specified whether an IngressRoute should be created
enabled: false
host: gateway.deep.example.com
Expand Down
2 changes: 1 addition & 1 deletion charts/deep/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 1.0.25
version: 1.0.26

# 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
Expand Down
2 changes: 1 addition & 1 deletion charts/deep/templates/ingressRoute.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.service.enabled -}}
{{- if .Values.service.traefik.enabled -}}
apiVersion: traefik.containo.us/v1alpha1
apiVersion: {{ .Values.service.traefik.apiVersion }}
kind: IngressRoute
metadata:
name: {{ template "deep.fullname" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/deep/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ service:
labels: {}
# config for using traefik 'IngressRoute'
traefik:
apiVersion: traefik.containo.us/v1alpha1
# -- Specified whether an IngressRoute should be created
enabled: false
host: gateway.deep.example.com
Expand Down

0 comments on commit e58b684

Please sign in to comment.