-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I am trying to create a cluster with custom admin secret according directions at:
https://github.com/rabbitmq/cluster-operator/tree/main/docs/examples/external-admin-secret-credentials
However I am hitting this error:
kubectl apply -f - <<EOF
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
name: rabbitmq
spec:
replicas: 1
secretBackend:
externalSecret:
name: "rabbitmq-user-custom"
EOF
error: error validating "STDIN": error validating data: ValidationError(RabbitmqCluster.spec.secretBackend): unknown field "externalSecret" in com.rabbitmq.v1beta1.RabbitmqCluster.spec.secretBackend; if you choose to ignore these errors, turn validation off with --validate=false
To Reproduce
- Create a brand new EKS cluster
- Install rabbitmq operator chart: helm install rabbitmq bitnami/rabbitmq-cluster-operator --version 3.2.5
- Apply the manifest:
kubectl apply -f - <<EOF
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
name: rabbitmq
spec:
replicas: 1
secretBackend:
externalSecret:
name: "rabbitmq-user-custom"
EOF
Expected behavior
The RabbitmqCluster is created without errors.
Version and environment information
- RabbitMQ: NA
- RabbitMQ Cluster Operator: 2.1.0 (chart 3.2.5), also on 2.2.0 (chart 3.2.7)
- Kubernetes: EKS 1.23
- Cloud provider or hardware configuration: AWS
Discussion
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working