Skip to content

Instantly share code, notes, and snippets.

@jwendell
Created November 8, 2019 00:12
Show Gist options
  • Save jwendell/56d5fa16723322b8be2a6d4131437034 to your computer and use it in GitHub Desktop.
Save jwendell/56d5fa16723322b8be2a6d4131437034 to your computer and use it in GitHub Desktop.

master:

$ istioctl version --short=false --remote=false
version.BuildInfo{Version:"d262f6b086bb67771e65132d0044adf9748a65ea-dirty", GitRevision:"d262f6b086bb67771e65132d0044adf9748a65ea-dirty", GolangVersion:"go1.13.3", BuildStatus:"Clean", GitTag:"1.2.0-rc.3-1261-gd262f6b08"}

$ istioctl manifest generate --set profile=minimal  --set values.istio_cni.HAHAHA=true 
bad path=value (values.istio_cni.HAHAHA=true): unknown field "HAHAHA" in v1alpha1.CNIConfig

1.4:

$ istioctl version --short=false --remote=false
version.BuildInfo{Version:"4830b12ee2cc5e9f72bbc213d57e3fe212cd63b2-dirty", GitRevision:"4830b12ee2cc5e9f72bbc213d57e3fe212cd63b2-dirty", GolangVersion:"go1.13.3", BuildStatus:"Clean", GitTag:"1.4.0-beta.2-21-g4830b12ee"}

$ istioctl manifest generate --set profile=minimal  --set values.istio_cni.HAHAHA=true 
Run the command with the --force flag if you want to ignore the validation error and proceed.
bad path=value (values.istio_cni.HAHAHA=true): unknown field "istio_cni" in v1alpha1.Values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment