Hi Guys,
I am trying to create a secret in the Openshift cluster. But it is showing me the below error.
$ oc create secret generic secret_name --from-literal key1=secret1 --from-literal key2=secret2 -n myproj
The Secret "secret_name" is invalid: metadata.name: Invalid value: "secret_name": 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])?)*')
How can I solve this error?