Skip to content

Commit 9cb4803

Browse files
authored
fix: keep CMA to avoid helm uninstall errors (#83)
* fix: keep CMA to avoid helm uninstall errors Signed-off-by: Artur Shad Nik <[email protected]> * fix: template Signed-off-by: Artur Shad Nik <[email protected]> --------- Signed-off-by: Artur Shad Nik <[email protected]>
1 parent 4036a73 commit 9cb4803

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

fleetconfig-controller/charts/fleetconfig-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Resource specifications for all klusterlet-managed containers.
158158
| `replicas` | fleetconfig-controller replica count | `1` |
159159
| `imageRegistry` | Image registry | `""` |
160160
| `image.repository` | Image repository | `quay.io/open-cluster-management/fleetconfig-controller` |
161-
| `image.tag` | Image tag | `v0.1.5` |
161+
| `image.tag` | Image tag | `v0.1.6` |
162162
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
163163
| `imagePullSecrets` | Image pull secrets | `[]` |
164164
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |

fleetconfig-controller/charts/fleetconfig-controller/templates/ocm/fcc-addon/addon-template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ apiVersion: addon.open-cluster-management.io/v1alpha1
44
kind: AddOnTemplate
55
metadata:
66
name: fleetconfig-controller-agent
7+
annotations:
8+
helm.sh/resource-policy: keep
79
spec:
810
addonName: fleetconfig-controller-agent
911
agentSpec:

fleetconfig-controller/charts/fleetconfig-controller/templates/ocm/fcc-addon/cluster-management-addon.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
apiVersion: addon.open-cluster-management.io/v1alpha1
44
kind: ClusterManagementAddOn
55
metadata:
6-
name: fleetconfig-controller-agent
6+
name: fleetconfig-controller-agent
7+
annotations:
8+
helm.sh/resource-policy: keep
79
spec:
810
addOnMeta:
911
displayName: FleetConfig Controller Agent

fleetconfig-controller/charts/fleetconfig-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ imageRegistry: ""
294294
## @param image.pullPolicy Image pull policy
295295
image:
296296
repository: quay.io/open-cluster-management/fleetconfig-controller
297-
tag: v0.1.5
297+
tag: v0.1.6
298298
pullPolicy: IfNotPresent
299299

300300
## @param imagePullSecrets Image pull secrets

0 commit comments

Comments
 (0)