diff --git a/manifests/01-namespace.yaml b/manifests/01-namespace.yaml index c780eaef72..f6f00f983d 100644 --- a/manifests/01-namespace.yaml +++ b/manifests/01-namespace.yaml @@ -1,6 +1,7 @@ apiVersion: v1 kind: Namespace metadata: - name: openshift-cluster-node-tuning-operator - annotations: - openshift.io/node-selector: "" + name: openshift-cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" + openshift.io/node-selector: "" diff --git a/manifests/02-crd-profile.yaml b/manifests/02-crd-profile.yaml index 8773b37626..19f801817c 100644 --- a/manifests/02-crd-profile.yaml +++ b/manifests/02-crd-profile.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: profiles.tuned.openshift.io + annotations: + include.release.openshift.io/self-managed-high-availability: "true" spec: group: tuned.openshift.io names: diff --git a/manifests/02-crd-tuned.yaml b/manifests/02-crd-tuned.yaml index eda1b87283..bca0d55e36 100644 --- a/manifests/02-crd-tuned.yaml +++ b/manifests/02-crd-tuned.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: tuneds.tuned.openshift.io + annotations: + include.release.openshift.io/self-managed-high-availability: "true" spec: group: tuned.openshift.io names: diff --git a/manifests/03-rbac.yaml b/manifests/03-rbac.yaml index 699738af8f..1a5af277c3 100644 --- a/manifests/03-rbac.yaml +++ b/manifests/03-rbac.yaml @@ -5,6 +5,8 @@ kind: ServiceAccount metadata: name: cluster-node-tuning-operator namespace: openshift-cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" --- @@ -13,6 +15,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" rules: - apiGroups: ["tuned.openshift.io"] resources: ["*"] @@ -59,6 +63,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" subjects: - kind: ServiceAccount name: cluster-node-tuning-operator @@ -77,6 +83,8 @@ kind: ServiceAccount metadata: name: tuned namespace: openshift-cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" --- @@ -85,6 +93,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-node-tuning:tuned + annotations: + include.release.openshift.io/self-managed-high-availability: "true" rules: - apiGroups: ["tuned.openshift.io"] resources: ["*"] @@ -101,6 +111,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: cluster-node-tuning:tuned + annotations: + include.release.openshift.io/self-managed-high-availability: "true" roleRef: kind: ClusterRole name: cluster-node-tuning:tuned diff --git a/manifests/04-operator.yaml b/manifests/04-operator.yaml index 145be14e58..139a4d9003 100644 --- a/manifests/04-operator.yaml +++ b/manifests/04-operator.yaml @@ -3,6 +3,8 @@ kind: Deployment metadata: name: cluster-node-tuning-operator namespace: openshift-cluster-node-tuning-operator + annotations: + include.release.openshift.io/self-managed-high-availability: "true" spec: replicas: 1 selector: diff --git a/manifests/05-clusteroperator.yaml b/manifests/05-clusteroperator.yaml index b8658891ae..9581f0825d 100644 --- a/manifests/05-clusteroperator.yaml +++ b/manifests/05-clusteroperator.yaml @@ -2,6 +2,8 @@ apiVersion: config.openshift.io/v1 kind: ClusterOperator metadata: name: node-tuning + annotations: + include.release.openshift.io/self-managed-high-availability: "true" spec: {} status: versions: