Skip to content

Instantly share code, notes, and snippets.

@adamancini
Created November 15, 2024 22:17
Show Gist options
  • Save adamancini/14c8ee441feab69b025acc70c88db9d5 to your computer and use it in GitHub Desktop.
Save adamancini/14c8ee441feab69b025acc70c88db9d5 to your computer and use it in GitHub Desktop.
...
spec:
contatiners:
- env:
- name: REQUESTS_CA_BUNDLE
value: /opt/cert/bundle.pem
volumeMounts:
- mountPath: /opt/cert
name: custom-cert
subPath: cert
readOnly: true
...
volumes:
- name: custom-cert
secret:
secretName: custom-cert
items:
- key: bundle.pem
path: cert/bundle.pem
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment