-
Notifications
You must be signed in to change notification settings - Fork 143
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
cleanup CCO from ibm-cloud-managed #443
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: system:openshift:cloud-credential-operator:cluster-reader | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
name: credentialsrequests.cloudcredential.openshift.io | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
name: openshift-cloud-credential-operator | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: prometheus-k8s | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: prometheus-k8s | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: cloud-credential-operator | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: cloud-credential-operator-rolebinding | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: cloud-credential-operator-role | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: operator.openshift.io/v1 | ||
kind: CloudCredential | ||
metadata: | ||
name: cluster | ||
annotations: | ||
include.release.openshift.io/self-managed-high-availability: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: cloud-credential-operator | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: cloud-credential-operator-role | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. needs name/namespace There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed. also added an additional Service that may have long ago been part of CCO and is presently marked for deletion (named 'controller-manager-service') but cover it under the ibm-cloud-managed list of things to delete in the event that it was ever installed on that profile. |
||
metadata: | ||
name: controller-manager-service | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: cco-metrics | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: cco-trusted-ca | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: cloud-credential-operator | ||
namespace: openshift-cloud-credential-operator | ||
annotations: | ||
include.release.openshift.io/ibm-cloud-managed: "true" | ||
release.openshift.io/delete: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joelddiaz if we're not removing cloud cred requests from all repos before 4.10, then it doesn't make sense to exclude the CRD just yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was thinking we'd block this PR until all the depending PRs merge (which of course means we're looking at this stuff landing for 4.11).