sts
tasks:
  fetch:
    desc: &quot;fetch component dependencies&quot;
    cmds:
      - rm -rf vendored
      - mkdir -p vendored sources
      - git clone --depth=1 https://github.com/kubernetes-incubator/metrics-server sources/metrics-server
      - cp -a sources/metrics-server/deploy/1.8+/*.yaml ./vendored/
      - git add ./vendored
      - rm -rf sources

  generate:
    desc: &quot;generate&quot;
    cmds:
      - kr8-helpers clean-output
      - find vendored -type f -name &quot;*.yaml&quot; -exec k