We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2df4593 commit ed04fc1Copy full SHA for ed04fc1
node-client/src/config.ts
@@ -164,7 +164,7 @@ export class KubeConfig {
164
this.clusters = [
165
{
166
name: clusterName,
167
- caFile: pathPrefix + Config.SERVICEACCOUNT_CA_PATH,
+ caFile: `${pathPrefix}${Config.SERVICEACCOUNT_CA_PATH}`,
168
caData: null,
169
server: `${scheme}://${host}:${port}`,
170
skipTLSVerify: false,
@@ -173,7 +173,7 @@ export class KubeConfig {
173
this.users = [
174
175
name: userName,
176
- token: fs.readFileSync(pathPrefix + Config.SERVICEACCOUNT_TOKEN_PATH).toString(),
+ token: fs.readFileSync(`${pathPrefix}${Config.SERVICEACCOUNT_TOKEN_PATH}`).toString(),
177
// empty defaults, fields are required...
178
certData: null,
179
certFile: null,
0 commit comments