backstage icon indicating copy to clipboard operation
backstage copied to clipboard

Support the caFile file in the Kubernetes plugin configuration

Open jpeach opened this issue 2 years ago • 2 comments

Feature Suggestion

As noted in https://github.com/backstage/backstage/pull/12911, the Kubernetes cluster caData field needs to be base64 encoded.

However, it looks like the Kubernetes client also supports a caFile field that reads the raw value from a file. This would work really well when Backstage is getting CA certificated from Kubernetes secrets volumes.

Possible Implementation

I image that everywhere the plugin passes caData down to the Kubernetes client, it also needs to pass caFile.

Context

Deploy Backstage in a Kubernetes cluster. The Kubernetes plugin is configured to scan multiple clusters. The CA certificates for each cluster are available as secrets in the deployment namespace.

jpeach avatar Sep 21 '22 05:09 jpeach

ref https://github.com/backstage/backstage/issues/13762

jpeach avatar Sep 21 '22 05:09 jpeach

ping @mclarke47 here

freben avatar Sep 21 '22 09:09 freben

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 20 '22 09:11 github-actions[bot]