kpt icon indicating copy to clipboard operation
kpt copied to clipboard

[Question] Following quickstart guide ends up with resource with an already registered id error

Open mgcrea opened this issue 3 years ago • 0 comments

Not sure it is an actual bug but trying kpt on a M1 Macbook and following the quickstart guide,

I get an error when reaching the Declaratively Defining Edits part:

kpt fn render fails with the following error:

[error]: failed to run function: may not add resource with an already registered id: apps_v1_Deployment|~X|my-nginx

Versions

▶ kpt version
1.0.0-beta.19
▶ docker version
Client:
 Cloud integration: v1.0.28
 Version:           20.10.17
 API version:       1.41
 Go version:        go1.17.11
 Git commit:        100c701
 Built:             Mon Jun  6 23:04:45 2022
 OS/Arch:           darwin/arm64
 Context:           default
 Experimental:      true

Server: Docker Desktop 4.11.1 (84025)
 Engine:
  Version:          20.10.17
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.11
  Git commit:       a89b842
  Built:            Mon Jun  6 23:01:01 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.6
  GitCommit:        10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
 runc:
  Version:          1.1.2
  GitCommit:        v1.1.2-0-ga916309
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

mgcrea avatar Aug 24 '22 07:08 mgcrea