<pre><code>apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  kubectl:
    manifests: 
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: fifapes123/auth
      context: auth
      docker: 
        dockerfile: Dockerfile
      sync: 
        manual:
          - src: 'src/**/*.ts'
            dest: .


</code></pre>
<p>I am getting error on line number 5?I am using the skaffold/v2alpha3 in which manifests under kubectl is allowed then why i am getting &quot;property manifests is not allowed&quot;?</p>

Gaurav Sharma
<pre><code>apiVersion: skaffold/v3
kind: Config
build:
 artifacts:
  - image: fifapes123/auth
    context: auth
    sync:
     manual:
     - src: src/**/*.ts
       dest: .
    docker:
      dockerfile: Dockerfile
local:
 push: false
manifests:
 rawYaml:
 - ./infra/k8s/*
deploy:
 kubectl: {}
</code></pre>
<p>Try the above YAML config. You should <a href="https://skaffold.dev/docs/upgrading/" rel="noreferrer">update</a> your <code>skaffold.yaml</code> to the latest apiVersion (apiVersion: v3alpha1). This can be easily done by <code>skaffold fix</code> command</p>
