datopian / ckan-cloud-helm

CKAN on Kubernetes (k8s) - Helm charts
https://tech.datopian.com/
MIT License
20 stars 10 forks source link

Accept extra env variables for jobs and ckan pods #22

Closed zelima closed 4 years ago

akariv commented 4 years ago

@zelima can you please explain the use case here?

zelima commented 4 years ago

@akariv Eg right now we need to export variable like REQUESTS_CA_BUNDLE for requests library so that it knows where to search custom certificates

extraCkanContainerEnvs: |-
    - name: REQUESTS_CA_BUNDLE
      value: /etc/ssl/certs/ca-certificates.crt
extraJobsContainerEnvs: |-
    - name: REQUESTS_CA_BUNDLE
      value: /etc/ssl/certs/ca-certificates.crt
akariv commented 4 years ago

Got it, thanks.

Don't forget to add the documentation for the extra variables in the CCO repo.