Skip to content

Commit 4a6b610

Browse files
authored
fix: set 'resource-policy: keep' on managed cluster set namespaces (#79)
* fix: set 'resource-policy: keep' on managed cluster set namespaces --------- Signed-off-by: Tyler Gillson <[email protected]>
1 parent b5d7997 commit 4a6b610

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
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.2` |
161+
| `image.tag` | Image tag | `v0.1.3` |
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/topology-resources.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ apiVersion: v1
44
kind: Namespace
55
metadata:
66
name: managed-cluster-set-global
7+
annotations:
8+
helm.sh/resource-policy: keep
79
---
810
apiVersion: cluster.open-cluster-management.io/v1beta2
911
kind: ManagedClusterSetBinding
@@ -20,6 +22,8 @@ apiVersion: v1
2022
kind: Namespace
2123
metadata:
2224
name: managed-cluster-set-default
25+
annotations:
26+
helm.sh/resource-policy: keep
2327
---
2428
apiVersion: cluster.open-cluster-management.io/v1beta2
2529
kind: ManagedClusterSetBinding
@@ -36,6 +40,8 @@ apiVersion: v1
3640
kind: Namespace
3741
metadata:
3842
name: managed-cluster-set-spokes
43+
annotations:
44+
helm.sh/resource-policy: keep
3945
---
4046
apiVersion: cluster.open-cluster-management.io/v1beta2
4147
kind: ManagedClusterSet

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.2
297+
tag: v0.1.3
298298
pullPolicy: IfNotPresent
299299

300300
## @param imagePullSecrets Image pull secrets

0 commit comments

Comments
 (0)