-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[metricbeat] use deprecated kube-state-metrics config when existing #624
[metricbeat] use deprecated kube-state-metrics config when existing #624
Conversation
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
jenkins test this please |
Helm isn't liking this character it seems
|
Co-authored-by: Michael Russell <[email protected]>
…c.selector.matchLabels (elastic#622) This fix metricbeat chart upgrades when .Chart.Version change. UPGRADE FAILED Error: Deployment.apps "metricbeat-metricbeat-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"metricbeat-metricbeat-metrics", "chart":"metricbeat-7.7.0", "heritage":"Tiller", "release":"metricbeat"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable Error: UPGRADE FAILED: Deployment.apps "metricbeat-metricbeat-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"metricbeat-metricbeat-metrics", "chart":"metricbeat-7.7.0", "heritage":"Tiller", "release":"metricbeat"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable See helm/charts#7680 for more details
cf83c61
to
4689c0c
Compare
…ricbeat.yml value This is requires because helm doesn't support accessing values with dash in the name (see helm/helm#2192 for more details).
This was really tricky but it's fixed by 235e4e4 (see helm/helm#2192 for more details). |
@Crazybus, this is fixed now. Can you recheck 🙏 ? |
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!
Fix #623
${CHART}/tests/*.py
${CHART}/examples/*/test/goss.yaml