From 84d3b98f8ed33cf0df9feaab825a0df884908771 Mon Sep 17 00:00:00 2001 From: divolgin Date: Fri, 1 Nov 2024 11:17:45 -0700 Subject: [PATCH] Fix okteto deploy error --- okteto-pipeline.yml | 14 +++++++++++--- okteto.yml | 12 ------------ 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 okteto.yml diff --git a/okteto-pipeline.yml b/okteto-pipeline.yml index 841738c..527e95a 100644 --- a/okteto-pipeline.yml +++ b/okteto-pipeline.yml @@ -1,7 +1,15 @@ -icon: https://github.com/okteto/polling/raw/master/icon.png +build: ~ + deploy: - okteto build -f ./okteto.Dockerfile -t okteto.dev/kots-lint:${OKTETO_GIT_COMMIT} . - cd kustomize/overlays/okteto && kustomize edit set image kots-lint=okteto.dev/kots-lint:${OKTETO_GIT_COMMIT} - kubectl apply -k kustomize/overlays/okteto -devs: - - okteto.yml + +dev: + kots-lint: + command: bash + workdir: /go/src/github.com/replicatedhq/kots-lint + sync: + - .:/go/src/github.com/replicatedhq/kots-lint + forward: + - 2354:2345 diff --git a/okteto.yml b/okteto.yml deleted file mode 100644 index 87fb069..0000000 --- a/okteto.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: kots-lint -command: bash -workdir: /go/src/github.com/replicatedhq/kots-lint -sync: - - .:/go/src/github.com/replicatedhq/kots-lint -resources: - limits: - cpu: "2" - memory: 4Gi -forward: - - 2354:2345 -