diff --git a/charts/relution/Chart.yaml b/charts/relution/Chart.yaml index 65fe751..94d30b8 100644 --- a/charts/relution/Chart.yaml +++ b/charts/relution/Chart.yaml @@ -11,7 +11,7 @@ sources: type: application -version: 2.6.0-1 +version: 2.6.1-1 appVersion: "5.33.0" diff --git a/charts/relution/ci/full-values.yaml b/charts/relution/ci/full-values.yaml index 2ac1e6b..08fc2cd 100644 --- a/charts/relution/ci/full-values.yaml +++ b/charts/relution/ci/full-values.yaml @@ -24,12 +24,14 @@ ingressRoute: middlewares: - name: test namespace: test + priority: 10 additionalRoutes: - kind: Rule match: "Host(`{{ .Values.ingressRoute.defaultRoute.host }}`) && Path(`test`)" middlewares: - name: test namespace: test + priority: 15 tls: enabled: true generateCertificate: true diff --git a/charts/relution/templates/ingressroute.yaml b/charts/relution/templates/ingressroute.yaml index 645b339..7a1e0cd 100644 --- a/charts/relution/templates/ingressroute.yaml +++ b/charts/relution/templates/ingressroute.yaml @@ -29,6 +29,9 @@ spec: namespace: {{ required "ingressRoute.defaultRoute.middlewares[*].namespace is required!" .namespace }} {{- end }} {{- end }} + {{- if .priority }} + priority: {{ .priority }} + {{- end }} services: - kind: Service name: {{ $fullName }} @@ -46,6 +49,9 @@ spec: namespace: {{ required "ingressRoute.additionalRoutes[*].middlewares[*].namespace is required!" .namespace }} {{- end }} {{- end }} + {{- if .priority }} + priority: {{ .priority }} + {{- end }} services: - kind: Service name: {{ $fullName }} diff --git a/charts/relution/values.yaml b/charts/relution/values.yaml index 5f51f47..e6af74b 100644 --- a/charts/relution/values.yaml +++ b/charts/relution/values.yaml @@ -54,12 +54,14 @@ ingressRoute: middlewares: [] # - name: "" # namespace: "" + # priority: 10 additionalRoutes: [] # - kind: Rule # match: "" # middlewares: [] # # - name: "" # # namespace: "" + # priority: 10 tls: enabled: false generateCertificate: false