Skip to content

Commit d4700fb

Browse files
committed
add current profile annotations to CVO manifests
This is matches openshift/enhancements#510 and doesn't change existing behavior
1 parent 1e51a0e commit d4700fb

7 files changed

+11
-1
lines changed

install/0000_00_cluster-version-operator_00_namespace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Namespace
33
metadata:
44
name: openshift-cluster-version
55
annotations:
6+
include.release.openshift.io/self-managed-high-availability: "true"
67
openshift.io/node-selector: ""
78
labels:
89
name: openshift-cluster-version

install/0000_00_cluster-version-operator_02_roles.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRoleBinding
33
metadata:
44
name: cluster-version-operator
5+
annotations:
6+
include.release.openshift.io/self-managed-high-availability: "true"
57
roleRef:
68
kind: ClusterRole
79
name: cluster-admin

install/0000_00_cluster-version-operator_03_deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
namespace: openshift-cluster-version
66
annotations:
77
exclude.release.openshift.io/internal-openshift-hosted: "true"
8+
include.release.openshift.io/self-managed-high-availability: "true"
89
spec:
910
selector:
1011
matchLabels:

install/0000_90_cluster-version-operator_00_prometheusrole.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ kind: Role
33
metadata:
44
name: prometheus-k8s
55
namespace: openshift-cluster-version
6+
annotations:
7+
include.release.openshift.io/self-managed-high-availability: "true"
68
rules:
79
- apiGroups:
810
- ""

install/0000_90_cluster-version-operator_01_prometheusrolebinding.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
namespace: openshift-cluster-version
66
annotations:
77
exclude.release.openshift.io/internal-openshift-hosted: "true"
8+
include.release.openshift.io/self-managed-high-availability: "true"
89
roleRef:
910
apiGroup: rbac.authorization.k8s.io
1011
kind: Role

install/0000_90_cluster-version-operator_02_servicemonitor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
namespace: openshift-cluster-version
88
annotations:
99
exclude.release.openshift.io/internal-openshift-hosted: "true"
10+
include.release.openshift.io/self-managed-high-availability: "true"
1011
spec:
1112
endpoints:
1213
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
@@ -32,6 +33,7 @@ metadata:
3233
namespace: openshift-cluster-version
3334
annotations:
3435
exclude.release.openshift.io/internal-openshift-hosted: "true"
36+
include.release.openshift.io/self-managed-high-availability: "true"
3537
spec:
3638
groups:
3739
- name: cluster-version

install/0001_00_cluster-version-operator_03_service.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ metadata:
66
labels:
77
k8s-app: cluster-version-operator
88
annotations:
9-
service.beta.openshift.io/serving-cert-secret-name: cluster-version-operator-serving-cert
9+
include.release.openshift.io/self-managed-high-availability: "true"
1010
exclude.release.openshift.io/internal-openshift-hosted: "true"
11+
service.beta.openshift.io/serving-cert-secret-name: cluster-version-operator-serving-cert
1112
spec:
1213
type: ClusterIP
1314
selector:

0 commit comments

Comments
 (0)