Skip to content

Commit

Permalink
Fix okteto deploy error (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin authored Nov 1, 2024
1 parent 3a70bf5 commit d9c6389
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
14 changes: 11 additions & 3 deletions okteto-pipeline.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 0 additions & 12 deletions okteto.yml

This file was deleted.

0 comments on commit d9c6389

Please sign in to comment.