You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a cluster with the persistent-storage.yaml shall result in a statefulset being created
Actual behaviour
Statefulset is not created as the pvc cannot be created.
Error:
create Pod rfr-redisfailover-persistent-0 in StatefulSet rfr-redisfailover-persistent failed error: failed to create PVC -rfr-redisfailover-persistent-0: PersistentVolumeClaim "-rfr-redisfailover-persistent-0" is invalid: metadata.name: Invalid value: "-rfr-redisfailover-persistent-0": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
Cause: volumeclaimtemplate metadata of statefulset is empty
Expected behaviour
Creating a cluster with the persistent-storage.yaml shall result in a statefulset being created
Actual behaviour
Statefulset is not created as the pvc cannot be created.
Error:
create Pod rfr-redisfailover-persistent-0 in StatefulSet rfr-redisfailover-persistent failed error: failed to create PVC -rfr-redisfailover-persistent-0: PersistentVolumeClaim "-rfr-redisfailover-persistent-0" is invalid: metadata.name: Invalid value: "-rfr-redisfailover-persistent-0": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
Cause: volumeclaimtemplate metadata of statefulset is empty
it seems kubernetes has changed the handling of embedded metadata. prometheus operator was struggling with a similar issue
Steps to reproduce the behaviour
Deploy operator
kubectl apply -f persistent-storage.yaml
Environment
How are the pieces configured?
The text was updated successfully, but these errors were encountered: