On this page the section on adding a snapshot says:
- Add any required secrets or credentials into an Elasticsearch keystore following the how to use the keystore guide.
But I am confused as to what to name the secret? For example when creating the
gcs.client.default.credentials_file I get errors about DNS-1123:
kubectl create secret generic gcs.client.default.credentials_file --from-file=.gcs-key.json The Secret "gcs.client.default.credentials_file" is invalid: metadata.name: Invalid value: "gcs.client.default.credentials_file": a DNS-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])?)*')
Can someone point me in the right direction here?