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 = `
@@ -276,15 +273,6 @@ spec:
276
273
- --service-account-token-path=/var/run/secrets/tokens/konnectivity-agent-token
277
274
- --agent-identifiers=host=$(NODE_IP)
278
275
- --agent-id=$(NODE_IP)
279
- {{- if .BindToNodeIP }}
280
- - --bind-address=$(NODE_IP)
281
- {{- end }}
282
- {{- if .APIServerPortMapping }}
283
- - --apiserver-port-mapping={{ .APIServerPortMapping }}
284
- {{- end }}
285
- {{- if .FeatureGates }}
286
- - "--feature-gates={{ .FeatureGates }}"
287
- {{- end }}
288
276
volumeMounts:
289
277
- mountPath: /var/run/secrets/tokens
290
278
name: konnectivity-agent-token
You can’t perform that action at this time.
0 commit comments