Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add current profile annotations to CVO manifests #179

Merged
merged 1 commit into from
Nov 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions install/03_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: cluster-autoscaler-operator
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- autoscaling.openshift.io
Expand Down Expand Up @@ -99,6 +101,8 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: cluster-autoscaler-operator
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-autoscaler-operator
Expand All @@ -113,6 +117,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-autoscaler-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand All @@ -128,6 +134,8 @@ kind: ServiceAccount
metadata:
name: cluster-autoscaler-operator
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"

---
apiVersion: v1
Expand All @@ -138,6 +146,8 @@ metadata:
k8s-app: cluster-autoscaler
name: cluster-autoscaler
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"

---
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -147,6 +157,8 @@ metadata:
labels:
k8s-addon: cluster-autoscaler.addons.k8s.io
k8s-app: cluster-autoscaler
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups: [""]
resources: ["events","endpoints"]
Expand Down Expand Up @@ -205,6 +217,8 @@ metadata:
labels:
k8s-addon: cluster-autoscaler.addons.k8s.io
k8s-app: cluster-autoscaler
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups: [""]
resources: ["configmaps"]
Expand All @@ -222,6 +236,8 @@ metadata:
labels:
k8s-addon: cluster-autoscaler.addons.k8s.io
k8s-app: cluster-autoscaler
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand All @@ -240,6 +256,8 @@ metadata:
labels:
k8s-addon: cluster-autoscaler.addons.k8s.io
k8s-app: cluster-autoscaler
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -255,6 +273,8 @@ kind: RoleBinding
metadata:
name: prometheus-k8s-cluster-autoscaler-operator
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -271,6 +291,8 @@ kind: Role
metadata:
name: prometheus-k8s-cluster-autoscaler-operator
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand Down