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
1 change: 1 addition & 0 deletions manifests/00-ns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Namespace
metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
name: openshift-cluster-machine-approver
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-cluster-machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: RoleBinding
metadata:
name: prometheus-k8s
namespace: openshift-cluster-machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
app: machine-approver
name: cluster-machine-approver
namespace: openshift-cluster-machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
namespace: openshift-cluster-machine-approver
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
groups:
- name: cluster-machine-approver.rules
Expand Down
10 changes: 10 additions & 0 deletions manifests/01-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ kind: ServiceAccount
metadata:
namespace: openshift-cluster-machine-approver
name: machine-approver-sa
annotations:
include.release.openshift.io/self-managed-high-availability: "true"

---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: machine-approver
namespace: openshift-config-managed
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand All @@ -27,6 +31,8 @@ kind: RoleBinding
metadata:
name: machine-approver
namespace: openshift-config-managed
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -41,6 +47,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:openshift:controller:machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- certificates.k8s.io
Expand Down Expand Up @@ -114,6 +122,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:openshift:controller:machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
2 changes: 2 additions & 0 deletions manifests/02-kube-rbac-proxy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: ConfigMap
metadata:
name: kube-rbac-proxy
namespace: openshift-cluster-machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
data:
config-file.yaml: |+
authorization:
Expand Down
1 change: 1 addition & 0 deletions manifests/03-metrics-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: machine-approver
namespace: openshift-cluster-machine-approver
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
service.alpha.openshift.io/serving-cert-secret-name: machine-approver-tls
labels:
app: machine-approver
Expand Down
1 change: 1 addition & 0 deletions manifests/04-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
machine-approver: "true"
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
strategy:
type: Recreate
Expand Down
1 change: 1 addition & 0 deletions manifests/05-clusteroperator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: machine-approver
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec: {}
status:
versions:
Expand Down