Humio Operator 0.0.12 GA (2020-09-08)
Version? | Type? | Release Date? | Config.Changes? |
---|---|---|---|
0.0.12 | GA | 2020-09-08 |
No special changes are necessary when upgrading the LogScale Operator between versions 0.0.0-0.0.11.
Fixed in this release
Updates
The selector labels changed in version 0.0.12, so for this reason it is necessary to delete the
humio-operator
deployment prior to upgrading the helm chart. The upgrade steps are:Delete the
humio-operator
deployment by running:kubectl delete deployment humio-operator -n humio-operator
Run the
helm upgrade
command as documented above
If the
humio-operator
deployment is not removed before the upgrade, the upgrade will fail with:syslogError: UPGRADE FAILED: cannot patch "humio-operator" with kind Deployment: Deployment.apps "humio-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"humio-operator", "app.kubernetes.io/instance":"humio-operator", "app.kubernetes.io/name":"humio-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable