modified: casa.full-stack.code-workspace
This commit is contained in:
@@ -101,18 +101,11 @@
|
|||||||
"focus": false,
|
"focus": false,
|
||||||
"panel": "shared"
|
"panel": "shared"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Kustomize - Build - Selected File",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "bash -c '[[ \"$(basename ${file})\" == \"kustomization.yaml\" ]] && kubectl kustomize ${fileDirname} || echo \"❌ invalid kustomization.yaml\"'",
|
|
||||||
"problemMatcher": [],
|
|
||||||
"group": "build"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Kustomize - Build & Deploy - Selected File",
|
"label": "Kustomize - Deploy - Selected File",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "bash -c '[[ \"$(basename ${file})\" == \"kustomization.yaml\" ]] && kubectl kustomize ${fileDirname} | kubectl apply -f - || echo \"❌ invalid kustomization.yaml\"'",
|
"command": "kubectl apply -k ${fileDirname}",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"group": "build"
|
"group": "build"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user