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
After adding an invalid label to spec.templates.podTemplates[0].metadata.label e.g. some_bad_label: '/metrics' the operator tries to recreate the statefulsets but encounters the following error:
E0508 13:36:35.377188 1 creator.go:46] createStatefulSet():StatefulSet create failed. err: StatefulSet.apps "chi-clickhouse-store-0-0" is invalid: spec.template.labels: Invalid value: "/metrics": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')
My expected behavior is: After failing to create the statefulset the operator either aborts or rolls back
Actual behavior: After some time period, the operator moves to the next statefulset until all are deleted (and not recreated due to error)
The text was updated successfully, but these errors were encountered:
Operator version: 0.23.5
Adding an invalid label to a
podtemplate
, eventually causes the operator to delete all statefulsets during reconciliation, regardless of settings.I have the following settings:
After adding an invalid label to
spec.templates.podTemplates[0].metadata.label
e.g.some_bad_label: '/metrics'
the operator tries to recreate the statefulsets but encounters the following error:My expected behavior is:
After failing to create the statefulset the operator either aborts or rolls back
Actual behavior:
After some time period, the operator moves to the next statefulset until all are deleted (and not recreated due to error)
The text was updated successfully, but these errors were encountered: