Skip to content

Commit e0ad690

Browse files
skipper: do not use service account with routesrv
Skipper does not need to access Kubernetes API when it uses routesrv. Signed-off-by: Alexander Yastrebov <[email protected]>
1 parent 102e5e1 commit e0ad690

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cluster/manifests/skipper/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ spec:
7979
parent-resource-hash: 71556441059f2d033fb06b1e73df03598c7ecaa6
8080
{{- end }}
8181
priorityClassName: "{{ .Cluster.ConfigItems.system_priority_class }}"
82+
{{ if ne .Cluster.ConfigItems.skipper_routesrv_enabled "exec" }}
8283
serviceAccountName: skipper-ingress
84+
{{ end }}
8385
terminationGracePeriodSeconds: {{ .Cluster.ConfigItems.skipper_termination_grace_period }}
8486
dnsPolicy: ClusterFirstWithHostNet
8587
hostNetwork: true

0 commit comments

Comments
 (0)