Merge pull request #31012 from polasudo/fix/update-service-acc-ca-path

Exporting SERVICEACCOUNT_CA_PATH
This commit is contained in:
Patrik Oldsberg
2025-09-16 16:42:13 +02:00
committed by GitHub
3 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-common': patch
---
Make SERVICEACCOUNT_CA_PATH public so it can be imported by external modules.
+4
View File
@@ -455,6 +455,10 @@ export interface SecretsFetchResponse {
type: 'secrets';
}
// @public
export const SERVICEACCOUNT_CA_PATH =
'/var/run/secrets/kubernetes.io/serviceaccount/ca.crt';
// @public (undocumented)
export interface ServiceFetchResponse {
// (undocumented)
@@ -17,7 +17,7 @@
/**
* A constant that specifies the location of the certificate for the service account.
*
* @internal
* @public
*/
export const SERVICEACCOUNT_CA_PATH =
'/var/run/secrets/kubernetes.io/serviceaccount/ca.crt';