Skip to content

Commit 6be5d90

Browse files
shigupt202dizco
andauthored
[KubernetesManifestV0] porting chmod fix in release (#13915)
* Fix KubernetesManifest bake on KUBECONFIG empty (#13912) * Fix KubernetesManifest bake on KUBECONFIG empty Fixes #13911 * Bump version * Bumping version Co-authored-by: Gabriel <[email protected]>
1 parent 20acc57 commit 6be5d90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tasks/KubernetesManifestV0/src/actions/bake.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HelmRenderEngine extends RenderEngine {
3838
public bake = async (): Promise<any> => {
3939
// Helm latest releases require restricted permissions on Kubeconfig
4040
const kubeconfigPath = tl.getVariable('KUBECONFIG');
41-
if (kubeconfigPath != null)
41+
if (kubeconfigPath)
4242
fs.chmodSync(kubeconfigPath, '600');
4343
const helmPath = await helmutility.getHelm();
4444
const helmCommand = new Helm(helmPath, TaskParameters.namespace);

Tasks/KubernetesManifestV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 178,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"groups": [],

Tasks/KubernetesManifestV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 178,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"groups": [],

0 commit comments

Comments
 (0)