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

Commit acab53a

Browse files
authored
Merge pull request #1244 from HotelsDotCom/bug/propagate-kubenetwork-settings-to-nodes
Inherit controlplane Kubenetes-Newtworking config in node pools.
2 parents 53bc676 + a290bfe commit acab53a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/nodepool/config/deployment.go

+3
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,8 @@ func (c DeploymentSettings) WithDefaultsFrom(main cfg.DeploymentSettings) Deploy
131131
//Inherit main KubeDns config
132132
c.KubeDns.MergeIfEmpty(main.KubeDns)
133133

134+
//Inherit main Kubernetes config (e.g. for Kubernetes.Networking.SelfHosting etc.)
135+
c.Kubernetes = main.Kubernetes
136+
134137
return c
135138
}

0 commit comments

Comments
 (0)