GoogleContainerTools / container-structure-test

validate the structure of your container images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR - field unboundEnv not found in type v2.MetadataTest

cavo789 opened this issue · comments

Hello

Just trying your tool; thanks for it.

I think there is a problem with the unboundEnv feature; seems inexisting:

schemaVersion: "2.0.0"
metadataTest:
  unboundEnv:
    - key: "PRIVATE_TOKEN"
=== RUN:
--- FAIL
duration: 0s
Error: error parsing config file: error unmarshalling config: yaml: unmarshal errors:
  line 17: field unboundEnv not found in type v2.MetadataTest

The documentation needs perhaps to be updated: https://github.com/GoogleContainerTools/container-structure-test#metadata-test

Thanks

@nkubala Could you make a new release? The issue is already fixed on current master branch. Thank you.

similarly,

Error: error parsing config file: error unmarshalling config: yaml: unmarshal errors:
  line 23: field envVars not found in type v2.MetadataTest