You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: v1kind: Podmetadata:
name: client-examplenamespace: testspec:
containers:
- name: testimage: your-imageenv:
- name: CA_PASSWORD # the passwords will provided as env variables as well that your code can usevalueFrom:
secretKeyRef:
name: truststorekey: ca.password
- name: USER_PASSWORDvalueFrom:
secretKeyRef:
name: keystorekey: user.passwordvolumeMounts:
- name: keystoremountPath: /tmp/keystore # this folder will have /tmp/keystore/user.p12 and /tmp/keystore/user.password
- name: truststoremountPath: /tmp/truststore # this folder will have /tmp/truststore/ca.p12 and /tmp/truststore/ca.passwordvolumes:
- name: keystoresecret:
secretName: keystore
- name: truststoresecret:
secretName: truststore