Fix traefik extensions

This commit is contained in:
Nikolai Rodionov 2024-05-19 20:36:10 +02:00
parent 9b3fd3c895
commit c3ffa693c2
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: softplayer-lib-workload
description: A library to be reused accross softplayer charts
type: library
version: 0.1.1
version: 0.1.2
maintainers:
- name: allanger
email: allanger@badhouseplants.net

View File

@ -2,7 +2,7 @@
{{- range $k, $v := .Values.traefik.tcpRoutes }}
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
---
{{- if .Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}

View File

@ -2,7 +2,7 @@
{{- range $k, $v := .Values.traefik.udpRoutes }}
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
---
{{- if .Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteUDP" }}
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteUDP" }}
apiVersion: traefik.io/v1alpha1
kind: IngressRouteUDP
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}