Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 7d16d5c

Browse files
committed
Set proxy hostname and cluster cidr
1 parent 3cfef46 commit 7d16d5c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/asset/internal/templates.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,13 @@ spec:
277277
- proxy
278278
- --kubeconfig=/etc/kubernetes/kubeconfig
279279
- --proxy-mode=iptables
280+
- --hostname-override=$(POD_IP)
281+
- --cluster-cidr=10.2.0.0/16
282+
env:
283+
- name: POD_IP
284+
valueFrom:
285+
fieldRef:
286+
fieldPath: status.podIP
280287
securityContext:
281288
privileged: true
282289
volumeMounts:

0 commit comments

Comments
 (0)