Custom SSL CA CERTIFICATE by Configuration for Kubernetes Executor
See original GitHub issueDescription
Add more configuration settings for the Kubernetes Executor in order to support ssl_ca_cert
(parameter for kubernetes-client / python : customize the certificate file to verify the peer).
As an example :
airflow.yaml
[kubernetes]
ssl_ca_cert =
Use case / motivation
We are prototyping Airflow in a Kubernetes Cluster that is issuing a custom CA Certificate. Since we are not able to add our certificate to the TrustChain, airflow can’t communicate with the API Server.
When no ca_cert
is specified, kubernetes-client will use certifi as its TrustChain.
See : https://github.com/kubernetes-client/python/blob/master/kubernetes/client/rest.py#L66
All queries will use urllib3, using certifi’s ca.
Related Issues
N/A
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Improve documentation for setting up custom certificates - GitLab
The first scenario requires both mapping a volume and updating the system CA certificates in pre_build_script (using update-ca-certificates (the ...
Read more >Manage TLS Certificates in a Cluster - Kubernetes
Kubernetes provides a certificates.k8s.io API, which lets you provision TLS certificates signed by a Certificate Authority (CA) that you control ...
Read more >Kubernetes add ca certificate to pods' trust root - Stack Overflow
So I believe the idea here is that /etc/ssl/certs/ is the location of tls certs that are trusted by pods, and the subPath...
Read more >Installing Rancher Server with SSL
The command will configure the server's ca-certificate bundle so that the Rancher services for machine provisioning, catalog and compose executor can ...
Read more >Running Spark on Kubernetes - Spark 3.3.1 Documentation
Using Apache YuniKorn as Customized Scheduler for Spark on Kubernetes ... Path to the CA cert file for connecting to the Kubernetes API...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for opening your first issue here! Be sure to follow the issue template!
cc @jedcunningham WDYT?