Skip to content
New issue

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

hubctl stack init <statefile> command does not recover certain env parameters from state #72

Open
oginskis opened this issue May 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@oginskis
Copy link
Contributor

Steps to reproduce:

  1. Create a stack template with one or few parameters defined with a component discriminator, for example:
- name: ingress
  component: mlflow
  parameters:
  - name: hosts
    fromEnv: MY_COOL_ENV_VAR
  1. Init, configure, and deploy the stack.
  2. Verify that MY_COOL_ENV_VAR value is present in the .env file
  3. Re-initialize the stack from state: hubctl stack init <statefile ref>
  4. MY_COOL_ENV_VAR is not present in the .env file and a user is asked to enter it again on hubctl stack configure

Expected:
MY_COOL_ENV_VAR should be present in the .env file.

@oginskis oginskis added bug Something isn't working help wanted Extra attention is needed labels Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants