modified: casa.full-stack.code-workspace
This commit is contained in:
@@ -101,18 +101,11 @@
|
||||
"focus": false,
|
||||
"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",
|
||||
"command": "bash -c '[[ \"$(basename ${file})\" == \"kustomization.yaml\" ]] && kubectl kustomize ${fileDirname} | kubectl apply -f - || echo \"❌ invalid kustomization.yaml\"'",
|
||||
"command": "kubectl apply -k ${fileDirname}",
|
||||
"problemMatcher": [],
|
||||
"group": "build"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user