I have vault running inside minishift. I could expose the vault and access externally. so vault is working fine as expected. In another namespace, created the sample deployment file to talk to vault server using the below deployment.yaml file. The pod crashed when deployed due to below error.
What is this error and what config am missing in the deployment config.
Using role=app1-roleUsing mount_path=auth/ocp/loginError making API request.
URL: PUT http://172.30.238.95:8200/v1/auth/ocp/login
Code: 500. Errors:
- Post http://192.168.42.186:8443/apis/authentication.k8s.io/v1/tokenreviews: net/http: HTTP/1.x transport connection broken: malformed HTTP response “\x15\x03\x01\x00\x02\x02\x16”
- name: app
- name: VAULT_ADDR
- name: VAULT_ROLE
- name: SECRET_KEY
- name: VAULT_LOGIN_PATH