feat: add node labels (#1)
Reviewed-on: #1 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #1.
This commit is contained in:
@@ -10,23 +10,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/actions/extract-namespace-from-repo-name@v0
|
||||
id: namespace
|
||||
with:
|
||||
repo: ${{ github.repository }}
|
||||
- uses: azure/setup-kubectl@v4
|
||||
- uses: azure/setup-helm@v4
|
||||
- uses: azure/k8s-set-context@v4
|
||||
with:
|
||||
method: kubeconfig
|
||||
kubeconfig: ${{ secrets.KUBECONFIG }}
|
||||
- name: Validate
|
||||
uses: azure/k8s-lint@v3
|
||||
with:
|
||||
namespace: ${{ steps.namespace.outputs.namespace }}
|
||||
lintType: dryrun
|
||||
manifests: "k8s/"
|
||||
- name: Validate Helm
|
||||
uses: helmfile/helmfile-action@v2.0.5
|
||||
with:
|
||||
helmfile-args: diff
|
||||
run: |
|
||||
kubectl apply --server-side --field-manager=t000-n --dry-run=server -f k8s/
|
||||
|
||||
Reference in New Issue
Block a user