refactor: make kube-proxy addon user-configurable #2426
Conversation
/hold |
2aa5f5e
to
faa1860
Compare
Codecov Report
@@ Coverage Diff @@
## master #2426 +/- ##
=========================================
+ Coverage 72.29% 72.3% +<.01%
=========================================
Files 130 130
Lines 23606 23648 +42
=========================================
+ Hits 17066 17098 +32
- Misses 5516 5524 +8
- Partials 1024 1026 +2 |
@@ -7590,22 +8132,37 @@ func TestSetAddonsConfig(t *testing.T) { | |||
Containers: []KubernetesContainerSpec{ | |||
{ | |||
Name: "kubedns", | |||
Image: specConfig.KubernetesImageBase + K8sComponentsByVersionMap["1.15.4"][common.KubeDNSAddonName], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaning this errata up while I'm here
}, | ||
{ | ||
Name: "dnsmasq", | ||
Image: specConfig.KubernetesImageBase + K8sComponentsByVersionMap["1.15.4"]["dnsmasq"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
}, | ||
{ | ||
Name: "sidecar", | ||
Image: specConfig.KubernetesImageBase + K8sComponentsByVersionMap["1.15.4"]["k8s-dns-sidecar"], | ||
Image: specConfig.KubernetesImageBase + K8sComponentsByVersionMap["1.13.11"]["k8s-dns-sidecar"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
ea5c39f
to
5f7c30b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Related to #2251 |
Reason for Change:
This PR makes the
kube-proxy
component a user-configurable addon, exposed via the existingkubernetesConfig.addons
interface.Issue Fixed:
Requirements:
Notes: