<p><strong>skaffold.yaml</strong></p>
<pre><code>apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  kubectl:
    manifests:
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: karan346/auth
      context: auth
      docker:
        dockerfile: Dockerfile
      sync:
        manual:
          - src: 'src/**/*.ts'
            des: .
</code></pre>
<p><strong>Error</strong></p>
<pre><code>parsing skaffold config: error parsing skaffold configuration file: unable to parse config: yaml: unmarshal errors:

line 10: field des not found in type v2alpha3.SyncRule
</code></pre>
<p>Not able to fix the issue. Everything is setup correctly.</p>
<p>Also, is there any version that is stable and won't give errors in the future?</p>

<p>Error you're facing is:</p>
<pre><code>line 10: field des not found in type v2alpha3.SyncRule
</code></pre>
<p>There's no field <code>des</code> in these <code>api</code> and <code>kind</code>.</p>
<p>Based on the <a href="https://skaffold.dev/docs/pipeline-stages/filesync/#manual-sync-mode" rel="nofollow noreferrer">documentation for manual file sync</a>, field should be named as <code>dest</code>. See the example below:</p>
<pre><code>build:
  artifacts:
    - image: gcr.io/k8s-skaffold/node-example
      context: node
      sync:
        manual:
          # sync a single file into the `/etc` folder
          - src: '.filebaserc'
            dest: /etc
</code></pre>
<hr />
<p>Last available <code>apiVersion</code> of <code>skaffold</code> at the moment of posting the answer is <code>skaffold/v2beta26</code>.</p>
<p>It's always can be checked on <a href="https://skaffold.dev/docs/references/yaml/" rel="nofollow noreferrer">skaffold.yaml documentation</a></p>
