Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions manifests/01-namespace.yaml
Original file line number Diff line number Diff line change
@@ -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: ""
2 changes: 2 additions & 0 deletions manifests/02-crd-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions manifests/02-crd-tuned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 12 additions & 0 deletions manifests/03-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

---

Expand All @@ -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: ["*"]
Expand Down Expand Up @@ -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
Expand All @@ -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"

---

Expand All @@ -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: ["*"]
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions manifests/04-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions manifests/05-clusteroperator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down