Skip to content

Commit

Permalink
Merge pull request #334 from guillaumerose/master
Browse files Browse the repository at this point in the history
add current profile annotations to CVO manifests
  • Loading branch information
openshift-merge-robot committed Oct 23, 2020
2 parents 09c152d + c72b2cd commit 64613f6
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/01-namespace.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: ""
labels:
openshift.io/cluster-monitoring: "true"
Expand Down
2 changes: 2 additions & 0 deletions manifests/010-prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
name: samples-operator-alerts
name: samples-operator-alerts
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
groups:
- name: SamplesOperator
Expand Down
2 changes: 2 additions & 0 deletions manifests/02-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ kind: ServiceAccount
metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
2 changes: 2 additions & 0 deletions manifests/03-rbac-proxies-role-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator-proxy-reader
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-samples-operator
Expand Down
2 changes: 2 additions & 0 deletions manifests/03-rbac-proxies-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cluster-samples-operator-proxy-reader
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- config.openshift.io
Expand Down
10 changes: 10 additions & 0 deletions manifests/03-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -32,6 +34,8 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- samples.operator.openshift.io
Expand All @@ -56,6 +60,8 @@ metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-cluster-reader: "true"
name: system:openshift:cluster-samples-operator:cluster-reader
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- samples.operator.openshift.io
Expand All @@ -74,6 +80,8 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-samples-operator
Expand All @@ -88,6 +96,8 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-samples-operator
Expand Down
2 changes: 2 additions & 0 deletions manifests/04-openshift-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator-openshift-edit
namespace: openshift
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-samples-operator
Expand Down
4 changes: 4 additions & 0 deletions manifests/05-kube-system-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Role
metadata:
name: coreos-pull-secret-reader
namespace: openshift-config
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand All @@ -20,6 +22,8 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator-openshift-config-secret-reader
namespace: openshift-config
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
name: cluster-samples-operator
Expand Down
1 change: 1 addition & 0 deletions manifests/06-metricsservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
service.beta.openshift.io/serving-cert-secret-name: samples-operator-tls
labels:
name: cluster-samples-operator
Expand Down
2 changes: 2 additions & 0 deletions manifests/06-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Deployment
metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
replicas: 1
selector:
Expand Down
2 changes: 2 additions & 0 deletions manifests/06-servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: ServiceMonitor
metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
endpoints:
- targetPort: 60000
Expand Down
2 changes: 2 additions & 0 deletions manifests/07-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: openshift-samples
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec: {}
status:
versions:
Expand Down
18 changes: 18 additions & 0 deletions manifests/08-openshift-imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: cli
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -20,6 +22,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: cli-artifacts
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -34,6 +38,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: installer
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -48,6 +54,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: installer-artifacts
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -62,6 +70,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: tests
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -76,6 +86,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: tools
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -90,6 +102,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: must-gather
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand All @@ -104,6 +118,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: oauth-proxy
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: v4.4
Expand All @@ -118,6 +134,8 @@ apiVersion: image.openshift.io/v1
metadata:
namespace: openshift
name: hello-openshift
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
- name: latest
Expand Down
4 changes: 4 additions & 0 deletions manifests/09-servicemonitor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
- ""
Expand All @@ -21,6 +23,8 @@ kind: RoleBinding
metadata:
name: prometheus-k8s
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down

0 comments on commit 64613f6

Please sign in to comment.