Skaffold.yaml not being parsed correctly

Viewed 168

I have the following skaffold.yaml config file:

apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  kubectl:
    manifest:
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: hamza9899/auth
      context: auth
      docker:
        dockerfile: Dockerfile
      sync:
        manual:
          - src: 'src/**/*.ts'
            dest: .

But when I run skaffold dev I get the following error :

  line 16: field manifest not found in type v2alpha3.KubectlDeploy```
0 Answers
Related