How to configure application to use SSL certificates from secrets in Openshift
Issue
- How to configure an application to use SSL certificates from secrets.
- Mountable secrets failure in Openshift v3.
- Pod fails to deploy with below error :
Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message
───────── ──────── ───── ──── ───────────── ────── ───────
12h 10s 4029 {kubelet node.example.com} FailedMount Unable to mount volumes for pod "jws-app-2-wpzyu_shilpa-test": secrets "jws-app-secret" not found
12h 9s 4029 {kubelet node.example.com} FailedSync Error syncing pod, skipping: secrets "jws-app-secret" not found
- Example use of a secret
Environment
- Red Hat OpenShift Enterprise
- 3.0, 3.1, 3.2
- Red Hat OpenShift Container Platform
- 3.3+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.