You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As #93 has shown, the manifest generated by spin kube deploy --dry-run does not necessarily match the manifest applied by spin kube deploy.
One of the main reasons to have a --dry-run option is to be able to see what will happen if you let the tool execute the command automatically (e.g. to debug why the tool is not doing what you think it does).
Having separate codepaths for generating the --dry-run output kind of negates this purpose because the implementations can diverge (as has been the case in #93).
So I think the plugin should marshal the configuration generated with the help of the spin operator code into YAML to implement the --dry-run functionality, or alternatively construct the YAML document, and then unmarshal it internally to deploy.
The text was updated successfully, but these errors were encountered:
just to confirm, did you try spin kube deploy --dry-run and spin kube deploy OR by any chance you had tried spin kube scaffold and then spin kube deploy.
in anycase we should update spin kube deploy to use same scaffolding as spin kube scaffold.
The --dry-run version is using core.spinkube.dev and the other version is using core.spinoperator.dev because it uses "github.com/spinkube/spin-operator v0.1.0" to create the manifest.
As #93 has shown, the manifest generated by
spin kube deploy --dry-run
does not necessarily match the manifest applied byspin kube deploy
.One of the main reasons to have a
--dry-run
option is to be able to see what will happen if you let the tool execute the command automatically (e.g. to debug why the tool is not doing what you think it does).Having separate codepaths for generating the
--dry-run
output kind of negates this purpose because the implementations can diverge (as has been the case in #93).So I think the plugin should marshal the configuration generated with the help of the spin operator code into YAML to implement the
--dry-run
functionality, or alternatively construct the YAML document, and then unmarshal it internally to deploy.The text was updated successfully, but these errors were encountered: