Skip to content

Commit

Permalink
fix: set enableRecreateWorkloadOnImmutableFieldChange
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuto committed Aug 3, 2023
1 parent 32d24fc commit b317848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions services/logging-operator/4.2.3/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ metadata:
data:
values.yaml: |
---
enableRecreateWorkloadOnImmutableFieldChange: true
clusterFlows:
- name: cluster-containers
spec:
Expand Down
6 changes: 0 additions & 6 deletions services/logging-operator/4.2.3/pre-upgrade/pre-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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

0 comments on commit b317848

Please sign in to comment.