diff --git a/services/logging-operator/4.2.3/defaults/cm.yaml b/services/logging-operator/4.2.3/defaults/cm.yaml index 6a679b4d6..a01e234da 100644 --- a/services/logging-operator/4.2.3/defaults/cm.yaml +++ b/services/logging-operator/4.2.3/defaults/cm.yaml @@ -32,6 +32,7 @@ metadata: data: values.yaml: | --- + enableRecreateWorkloadOnImmutableFieldChange: true clusterFlows: - name: cluster-containers spec: diff --git a/services/logging-operator/4.2.3/pre-upgrade/pre-upgrade.yaml b/services/logging-operator/4.2.3/pre-upgrade/pre-upgrade.yaml index fa23a8c7d..8a78a0e33 100644 --- a/services/logging-operator/4.2.3/pre-upgrade/pre-upgrade.yaml +++ b/services/logging-operator/4.2.3/pre-upgrade/pre-upgrade.yaml @@ -13,9 +13,6 @@ rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get", "watch", "list", "update", "patch", "create"] - - apiGroups: ["apps"] - resources: ["daemonsets"] - verbs: ["delete", "list"] - apiGroups: ["helm.toolkit.fluxcd.io"] resources: ["helmreleases"] verbs: ["get", "watch", "list"] @@ -66,7 +63,4 @@ spec: fi helm mapkubeapis logging-operator --namespace ${releaseNamespace} - - # handle spec.selector update in logging-operator 4.2.0 - kubectl delete daemonset -n${releaseNamespace} -l app.kubernetes.io/managed-by=logging-operator-logging,app.kubernetes.io/name=fluentbit --ignore-not-found EOF