Skip to content

Commit

Permalink
add cvo ha annotations to tombstones
Browse files Browse the repository at this point in the history
This change adds the annotation
`include.release.openshift.io/self-managed-high-availability: "true"`
to the tombstones. This is needed to ensure that the CVO will process
them.
  • Loading branch information
elmiko committed Aug 3, 2021
1 parent 356e121 commit ad92e46
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions install/0000_99_machine-api-operator_00_tombstones.yaml
Original file line number Diff line number Diff line change
@@ -1,67 +1,76 @@
apiVersion: cloudcredentials.openshift.io/v1
apiVersion: cloudcredential.openshift.io/v1
kind: CredentialsRequest
metadata:
name: openshift-machine-api
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: apiextensions.k8s.io
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: machinehealthchecks.healthchecking.openshift.io
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: apiextensions.k8s.io
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: machinedisruptionbudgets.healthchecking.openshift.io
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: machine-api-manager
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: machine-api-manager-rolebinding
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: machine-api-termination-handler
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: machine-api-termination-handler
namespace: openshift-machine-api
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: cloud-provider-config-reader
namespace: openshift-config
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"
---
apiVersion: rbac.authorization.k8s.io
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: machine-api-cloud-provider-config-reader
namespace: openshift-config
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/delete: "true"

0 comments on commit ad92e46

Please sign in to comment.