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
I started a cluster with cloud_storage_credentials_source=sts and no value for cloud_storage_access_key or cloud_storage_secret_key (they are not needed when using sts or anything different from config_file).
Trying to change another config, like cluster_id (rpk cluster config set cluster_id xxx), I get a validation error saying that both cloud_storage_access_key and cloud_storage_secret_key are required.
What should have happened instead?
When using cloud_storage_credentials_source!=config_file then cloud_storage_access_key and cloud_storage_secret_key should not be required in config validaiton
I think this wasn't caught in tests because they set the property in extra_rp_conf before starting redpanda, and then the property is getting loaded via the bootstrap config rather than via the validated admin_server.cc path.
The validation needs fixing in admin_server.cc config_multi_property_validation
Version & Environment
Redpanda version: latest
What went wrong?
I started a cluster with
cloud_storage_credentials_source=sts
and no value forcloud_storage_access_key
orcloud_storage_secret_key
(they are not needed when usingsts
or anything different fromconfig_file
).Trying to change another config, like
cluster_id
(rpk cluster config set cluster_id xxx
), I get a validation error saying that bothcloud_storage_access_key
andcloud_storage_secret_key
are required.What should have happened instead?
When using
cloud_storage_credentials_source!=config_file
thencloud_storage_access_key
andcloud_storage_secret_key
should not be required in config validaitoncc: @jcsp
The text was updated successfully, but these errors were encountered: