Gateway api support (#890)
* 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]>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{{- 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 }}
|
||||
Reference in New Issue
Block a user