* Gateway api support Signed-off-by: Kevin Fox <[email protected]> * Update readme Signed-off-by: Kevin Fox <[email protected]> * Fix gateway name. a gateway doesnt need to be named gateway Signed-off-by: Kevin Fox <[email protected]> * Fix naming issue Signed-off-by: Kevin Fox <[email protected]> * Incorperate feedback Signed-off-by: Kevin Fox <[email protected]> * Incorperate feedback Signed-off-by: Kevin Fox <[email protected]> --------- Signed-off-by: Kevin Fox <[email protected]>
14 lines
668 B
YAML
14 lines
668 B
YAML
{{- if .Values.rest.gatewayAPI.enabled -}}
|
|
{{- $routeKind := include "spire-lib.gateway-route-kind" (dict "gatewayAPI" .Values.rest.gatewayAPI) -}}
|
|
{{- include "spire-lib.gateway-routes" (dict
|
|
"root" .
|
|
"gatewayAPI" .Values.rest.gatewayAPI
|
|
"name" (printf "%s-rest" (include "spire-identity-exchange.fullname" .))
|
|
"namespace" (include "spire-identity-exchange.namespace" .)
|
|
"svcName" (printf "%s-rest" (include "spire-identity-exchange.fullname" .))
|
|
"port" .Values.rest.service.port
|
|
"labels" (include "spire-identity-exchange.labels" .)
|
|
"routeKind" $routeKind
|
|
"backendTLS" (eq $routeKind "HTTPRoute")) }}
|
|
{{- end }}
|