apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.2k stars 184 forks source link

[BUG]minio examples are still in old group #8444

Open tianyue86 opened 1 week ago

tianyue86 commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Check minio OpsRequest yaml under examples
    apiVersion: apps.kubeblocks.io/v1alpha1
    kind: OpsRequest
    metadata:
    name: minio-restart
  2. Apply this yaml to restart minio cluster: error: resource mapping not found for name: "minio-restart" namespace: "default" from "rsmno.yaml": no matches for kind "OpsRequest" in version "apps.kubeblocks.io/v1alpha1"

The correct example:

apiVersion: operations.kubeblocks.io/v1alpha1
kind: OpsRequest
metadata:
  name: pg-restart

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

tianyue86 commented 1 week ago

Except for pg, other engine examples basically have the same problem, please change them together.

shanshanying commented 1 week ago

Got it. Will update the examples this week.