Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
# TODO this should be a clusterrole
name: prometheus-k8s
namespace: openshift-controller-manager-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "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-controller-manager-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
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-controller-manager
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
rules:
- apiGroups:
- ""
Expand All @@ -20,6 +22,8 @@ kind: RoleBinding
metadata:
name: prometheus-k8s
namespace: openshift-controller-manager
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
1 change: 1 addition & 0 deletions manifests/00_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Namespace
metadata:
annotations:
openshift.io/node-selector: ""
exclude.release.openshift.io/internal-openshift-hosted: "true"
labels:
openshift.io/run-level: "0"
openshift.io/cluster-monitoring: "true"
Expand Down
1 change: 1 addition & 0 deletions manifests/01_operand-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: openshift-controller-manager
annotations:
openshift.io/node-selector: ""
exclude.release.openshift.io/internal-openshift-hosted: "true"
labels:
openshift.io/run-level: "1"
openshift.io/cluster-monitoring: "true"
1 change: 1 addition & 0 deletions manifests/03_config.cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ metadata:
name: cluster
annotations:
release.openshift.io/create-only: "true"
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
managementState: Managed
2 changes: 2 additions & 0 deletions manifests/03_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: ConfigMap
metadata:
namespace: openshift-controller-manager-operator
name: openshift-controller-manager-operator-config
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
data:
config.yaml: |
apiVersion: operator.openshift.io/v1
Expand Down
2 changes: 2 additions & 0 deletions manifests/05_builder-deployer-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: ConfigMap
metadata:
namespace: openshift-controller-manager-operator
name: openshift-controller-manager-images
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
data:
builderImage: quay.io/openshift/origin-docker-builder:v4.0
deployerImage: quay.io/openshift/origin-deployer:v4.0
2 changes: 2 additions & 0 deletions manifests/06_roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:openshift:operator:openshift-controller-manager-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
roleRef:
kind: ClusterRole
name: cluster-admin
Expand Down
2 changes: 2 additions & 0 deletions manifests/07_serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ metadata:
name: openshift-controller-manager-operator
labels:
app: openshift-controller-manager-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"