Skip to content
Snippets Groups Projects

deployment/provenance: Adapt template to manage grpc or rpc service

Closed Antoine R. Dumont requested to merge mr/adapt-provenance-deployment into production
2 files
+ 7
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -7,15 +7,6 @@
{{- if not (hasKey $graphConfig "port") }}
{{- $graphConfig := set $graphConfig "port" $port -}}
{{- end -}}
{{- $annotations := $graphConfig.ingress.extraAnnotations | default dict }}
{{- if (eq $type "grpc") }}
{{- $annotations = mustMergeOverwrite $annotations
(dict "nginx.ingress.kubernetes.io/ssl-redirect" "true"
"nginx.ingress.kubernetes.io/backend-protocol" "GRPC") -}}
{{- $_ := set $graphConfig.ingress "extraAnnotations" $annotations -}}
{{- $_ := set $graphConfig.ingress "className" "nginx" -}}
{{ end }}
{{- include "swh.ingress" (dict "serviceType" ( print "graph-" $graphType )
"configuration" $graphConfig
"Values" $.Values) -}}
Loading