(cluster *kops.Cluster)
| 526 | } |
| 527 | |
| 528 | func (b *NodeUpScript) WithProxyEnv(cluster *kops.Cluster) { |
| 529 | b.ProxyEnv = func() (string, error) { |
| 530 | return createProxyEnv(cluster.Spec.Networking.EgressProxy) |
| 531 | } |
| 532 | } |
| 533 | |
| 534 | // By setting some sysctls early, we avoid broken configurations that prevent nodeup download. |
| 535 | // See https://github.com/kubernetes/kops/issues/10206 for details. |