This commit is contained in:
Vendored
+16
-1
@@ -8,6 +8,7 @@
|
|||||||
"args": [
|
"args": [
|
||||||
"${file}"
|
"${file}"
|
||||||
],
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Kustomize - Build - Selected File",
|
"label": "Kustomize - Build - Selected File",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
@@ -21,6 +22,20 @@
|
|||||||
"command": "bash -c '[[ \"$(basename ${file})\" == \"kustomization.yaml\" ]] && kubectl kustomize ${fileDirname} | kubectl apply -f - || echo \"❌ invalid kustomization.yaml\"'",
|
"command": "bash -c '[[ \"$(basename ${file})\" == \"kustomization.yaml\" ]] && kubectl kustomize ${fileDirname} | kubectl apply -f - || echo \"❌ invalid kustomization.yaml\"'",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"group": "build"
|
"group": "build"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"label": "flux - Reconcile Source Git",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "flux reconcile source git GIT-REPO-NAME -n YOUR-NAMESPACE",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "flux - Reconcile full-stack (with-source)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "flux reconcile kustomization KUSTOMIZATION-NAME -n YOUR-NAMESPACE --with-source",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": "build"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user