* 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]>
13 lines
456 B
YAML
13 lines
456 B
YAML
{{- if .Values.fetchCA.gatewayAPI.enabled -}}
|
|
{{- $fullName := printf "%s-fetchca" (include "spiffe-step-ssh.fullname" .) -}}
|
|
{{- include "spire-lib.gateway-routes" (dict
|
|
"root" .
|
|
"gatewayAPI" .Values.fetchCA.gatewayAPI
|
|
"name" $fullName
|
|
"namespace" .Release.Namespace
|
|
"svcName" $fullName
|
|
"port" .Values.fetchCA.service.port
|
|
"labels" (include "spiffe-step-ssh.labels" .)
|
|
"routeKind" "TLSRoute") }}
|
|
{{- end }}
|