Error return by the Openshift cluster when using the oc tool to retrieve secrets with a key containing a dash(“-”) in it.
Solution
Let’s say the secret is defined in follow namespace &
- namespace: test
- name of the secret: `config-parameters`
Secret
kind: Secret
apiVersion: v1
metadata:
name: config-parameters
namespace: test
data:
test-id…