Skip to content

Commit

Permalink
Change chmod from 777 to 755 for KubV1 (#18816)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-mohithgc authored Aug 21, 2023
1 parent 74ffa80 commit 7b12c79
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions Tasks/KubernetesV1/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/KubernetesV1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@types/uuid": "^8.3.0",
"agent-base": "^6.0.2",
"azure-pipelines-task-lib": "^4.0.1-preview",
"azure-pipelines-tasks-azure-arm-rest": "3.223.4",
"azure-pipelines-tasks-azure-arm-rest": "^3.226.0",
"azure-pipelines-tasks-docker-common": "2.0.1-preview.0",
"azure-pipelines-tasks-kubernetes-common": "^2.224.1",
"azure-pipelines-tasks-utility-common": "^3.210.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/KubernetesV1/src/clusterconnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default class ClusterConnection {
if( versionOrLocation === "location") {
let pathToKubectl = tl.getPathInput("specifyLocation", true, true);
try {
fs.chmodSync(pathToKubectl, "777");
fs.chmodSync(pathToKubectl, "755");
} catch (ex) {
tl.debug(`Could not chmod ${pathToKubectl}, exception: ${JSON.stringify(ex)}`)
}
Expand Down
2 changes: 1 addition & 1 deletion Tasks/KubernetesV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 226,
"Minor": 227,
"Patch": 0
},
"demands": [],
Expand Down
2 changes: 1 addition & 1 deletion Tasks/KubernetesV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 226,
"Minor": 227,
"Patch": 0
},
"demands": [],
Expand Down

0 comments on commit 7b12c79

Please sign in to comment.