I have a skaffold.yaml
file like below:
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
mk:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
- image: learnertester/auth
context: auth
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.ts'
dest: .
- image: learnertester/ticketing-client
Now, I have installed microk8s
on Ubuntu 22.04 and want to use it. I have also defined an alias mk
for microk8s kubectl
. But when I change the following line:
deploy:
kubectl:
To:
deploy:
mk:
I get the below error running skaffold dev
:
parsing skaffold config: error parsing skaffold configuration file: unable to parse config: yaml: unmarshal errors:
line 55: field mk not found in type v2alpha3.DeployConfig
How should I fix that?