File tree 1 file changed +7
-19
lines changed
1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -188,16 +188,13 @@ func (k *KonnectivityAgent) writeKonnectivityAgent(clusterConfig *v1beta1.Cluste
188
188
}
189
189
190
190
type konnectivityAgentConfig struct {
191
- ProxyServerHost string
192
- ProxyServerPort uint16
193
- AgentPort uint16
194
- Image string
195
- ServerCount uint
196
- PullPolicy string
197
- HostNetwork bool
198
- BindToNodeIP bool
199
- APIServerPortMapping string
200
- FeatureGates string
191
+ ProxyServerHost string
192
+ ProxyServerPort uint16
193
+ AgentPort uint16
194
+ Image string
195
+ ServerCount uint
196
+ PullPolicy string
197
+ HostNetwork bool
201
198
}
202
199
203
200
const konnectivityAgentTemplate = `
@@ -278,15 +275,6 @@ spec:
278
275
- --service-account-token-path=/var/run/secrets/tokens/konnectivity-agent-token
279
276
- --agent-identifiers=host=$(NODE_IP)
280
277
- --agent-id=$(NODE_IP)
281
- {{- if .BindToNodeIP }}
282
- - --bind-address=$(NODE_IP)
283
- {{- end }}
284
- {{- if .APIServerPortMapping }}
285
- - --apiserver-port-mapping={{ .APIServerPortMapping }}
286
- {{- end }}
287
- {{- if .FeatureGates }}
288
- - "--feature-gates={{ .FeatureGates }}"
289
- {{- end }}
290
278
volumeMounts:
291
279
- mountPath: /var/run/secrets/tokens
292
280
name: konnectivity-agent-token
You can’t perform that action at this time.
0 commit comments