Skip to content

Commit

Permalink
Merge pull request openshift#339 from csrwng/roks_profile
Browse files Browse the repository at this point in the history
Add IBM Cloud managed annotations to CVO manifests
  • Loading branch information
openshift-merge-robot authored Nov 18, 2020
2 parents 4b1f9e2 + 3eead9d commit 28f0879
Show file tree
Hide file tree
Showing 212 changed files with 21,553 additions and 8,234 deletions.
17 changes: 9 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,27 @@ go 1.13

require (
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/coreos/bbolt v1.3.3 // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/emicklei/go-restful v2.11.1+incompatible // indirect
github.com/go-logr/logr v0.3.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/gorilla/websocket v1.4.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.11.3 // indirect
github.com/hashicorp/golang-lru v0.5.3 // indirect
github.com/openshift/api v0.0.0-20201023182528-2ed1db6e1551
github.com/openshift/api v0.0.0-20201117184740-859beeffd973
github.com/openshift/client-go v0.0.0-20201020074620-f8fd44879f7c
github.com/openshift/library-go v0.0.0-20201023142140-a2f8f23f66f0
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.10.0
github.com/sirupsen/logrus v1.6.0
github.com/spf13/cobra v1.0.0
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
github.com/ugorji/go v1.1.7 // indirect
go.uber.org/zap v1.12.0 // indirect
k8s.io/api v0.19.2
k8s.io/apimachinery v0.19.2
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect
golang.org/x/text v0.3.4 // indirect
k8s.io/api v0.19.4
k8s.io/apimachinery v0.19.4
k8s.io/client-go v0.19.2
sigs.k8s.io/structured-merge-diff/v3 v3.0.1-0.20200706213357-43c19bbb7fba // indirect
k8s.io/klog/v2 v2.4.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect
)
268 changes: 28 additions & 240 deletions go.sum

Large diffs are not rendered by default.

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/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
labels:
Expand Down
1 change: 1 addition & 0 deletions manifests/010-prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: samples-operator-alerts
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
groups:
Expand Down
1 change: 1 addition & 0 deletions manifests/02-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
1 change: 1 addition & 0 deletions manifests/03-rbac-proxies-role-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator-proxy-reader
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
Expand Down
1 change: 1 addition & 0 deletions manifests/03-rbac-proxies-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterRole
metadata:
name: cluster-samples-operator-proxy-reader
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand Down
5 changes: 5 additions & 0 deletions manifests/03-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand Down Expand Up @@ -35,6 +36,7 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand All @@ -61,6 +63,7 @@ metadata:
rbac.authorization.k8s.io/aggregate-to-cluster-reader: "true"
name: system:openshift:cluster-samples-operator:cluster-reader
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand All @@ -81,6 +84,7 @@ metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
Expand All @@ -97,6 +101,7 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
Expand Down
1 change: 1 addition & 0 deletions manifests/04-openshift-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: cluster-samples-operator-openshift-edit
namespace: openshift
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
Expand Down
2 changes: 2 additions & 0 deletions manifests/05-kube-system-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: coreos-pull-secret-reader
namespace: openshift-config
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand All @@ -23,6 +24,7 @@ metadata:
name: cluster-samples-operator-openshift-config-secret-reader
namespace: openshift-config
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
subjects:
- kind: ServiceAccount
Expand Down
3 changes: 2 additions & 1 deletion 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/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
service.beta.openshift.io/serving-cert-secret-name: samples-operator-tls
labels:
Expand All @@ -16,4 +17,4 @@ spec:
protocol: TCP
targetPort: 60000
selector:
name: cluster-samples-operator
name: cluster-samples-operator
1 change: 1 addition & 0 deletions manifests/06-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
replicas: 1
Expand Down
1 change: 1 addition & 0 deletions manifests/06-servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
name: cluster-samples-operator
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
endpoints:
Expand Down
1 change: 1 addition & 0 deletions manifests/07-clusteroperator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterOperator
metadata:
name: openshift-samples
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec: {}
status:
Expand Down
9 changes: 9 additions & 0 deletions manifests/08-openshift-imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
namespace: openshift
name: cli
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -23,6 +24,7 @@ metadata:
namespace: openshift
name: cli-artifacts
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -39,6 +41,7 @@ metadata:
namespace: openshift
name: installer
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -55,6 +58,7 @@ metadata:
namespace: openshift
name: installer-artifacts
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -71,6 +75,7 @@ metadata:
namespace: openshift
name: tests
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -87,6 +92,7 @@ metadata:
namespace: openshift
name: tools
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -103,6 +109,7 @@ metadata:
namespace: openshift
name: must-gather
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -119,6 +126,7 @@ metadata:
namespace: openshift
name: oauth-proxy
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand All @@ -135,6 +143,7 @@ metadata:
namespace: openshift
name: hello-openshift
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
spec:
tags:
Expand Down
4 changes: 3 additions & 1 deletion manifests/09-servicemonitor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
name: prometheus-k8s
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
rules:
- apiGroups:
Expand All @@ -24,6 +25,7 @@ metadata:
name: prometheus-k8s
namespace: openshift-cluster-samples-operator
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -32,4 +34,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: prometheus-k8s
namespace: openshift-monitoring
namespace: openshift-monitoring
2 changes: 2 additions & 0 deletions vendor/github.com/go-logr/logr/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions vendor/github.com/go-logr/logr/discard.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28f0879

Please sign in to comment.