kptdev/kpt

bugs in Docs: 1.2 Quickstart

czka opened this issue · 1 comments

czka commented
kpt version  
1.0.0-beta.47

Going through the tutorial step by step all is ok until command kpt fn render in Declaratively Defining Edits:

Package "nginx": 
[RUNNING] "gcr.io/kpt-fn/set-labels:v0.1"
[PASS] "gcr.io/kpt-fn/set-labels:v0.1" in 3.6s
  Stderr:
    "WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested"
[RUNNING] "gcr.io/kpt-fn/kubeval:v0.3"
[FAIL] "gcr.io/kpt-fn/kubeval:v0.3" in 3.2s
  Results:
    [error] kpt.dev/v1alpha1/ResourceGroup/default/inventory-90146759: Validating arbitrary CRDs is not supported yet. You can skip them by setting ignore_missing_schemas or skip_kinds in the function config: ERR  - stdin: Failed initializing schema file:///tmp/master-standalone-strict/resourcegroup-kpt-v1alpha1.json: open /tmp/master-standalone-strict/resourcegroup-kpt-v1alpha1.json: no such file or directory 
  Stderr:
    "WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested"
  Exit code: 1

The next kpt live init command fails as well:

initializing "resourcegroup.yaml" data (namespace: default)...failed

Error: Inventory information has already been added to the package ResourceGroup object. Changing it after a package has been applied to the cluster can lead to undesired results. Use the --force flag to suppress this error.
czka commented

Naah, my bad, nevermind.