We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a sample porter.yaml is
porter.yaml
outputs: - name: kubeconfig description: "Kubeconfig for the newly created " type: string applyTo: - install - upgrade - uninstall install: - exec: description: "Display Cluster info" command: bash flags: c: cat /root/.kube/config outputs: - name: kubeconfig path: /root/.kube/config uninstall: - exec: description: "Uninstalling: get kubeconfig from outputs" command: bash flags: c: "echo {{ bundle.outputs.kubeconfig }} > /root/.kube/config"
after install I can see the output using porter instances output show kubeconfig -i hack when I do porter uninstall hack got this
porter instances output show kubeconfig -i hack
porter uninstall hack
uninstalling hack... executing uninstall action from Test (bundle instance: hack) Error: unable to resolve sourced values: unable to resolve step: unable to render template exec: command: bash description: 'Uninstalling: get kubeconfig from outputs' flags: c: "echo {{ bundle.outputs.kubeconfig }} > /root/.kube/config" : Missing variable "kubeconfig" Error: failed to uninstall the bundle: container exit code: 1, message: <nil>. fetching outputs failed: error copying outputs from container: Error: No such container:path: 2f4ab208d54d3d9fc6d96e70faf62c73c43e3c0413da180f2c584400a0b18095:/cnab/app/outputs
any idea ??
The text was updated successfully, but these errors were encountered:
Thank you for the issue @ffoysal ; indeed Porter should support output value interpolation between actions. I'll dig in.
Sorry, something went wrong.
vdice
Successfully merging a pull request may close this issue.
a sample
porter.yaml
isafter install I can see the output using
porter instances output show kubeconfig -i hack
when I do
porter uninstall hack
got thisany idea ??
The text was updated successfully, but these errors were encountered: