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

airshipctl config init subcommand #6

Closed
jezogwza opened this issue Feb 5, 2020 · 2 comments
Closed

airshipctl config init subcommand #6

jezogwza opened this issue Feb 5, 2020 · 2 comments
Assignees
Labels
3-Container Relates to plugin related issues cli Relates to configuration or code for the CLI enhancement New feature or request ready for review Change related to the issue is ready for review
Projects
Milestone

Comments

@jezogwza
Copy link
Contributor

jezogwza commented Feb 5, 2020

This command initializes the configuration with some adequate seed values.

All airshipctl or airshipui behavior is driven by what exists in the configuration files.
We need to create an airship configuration file set to define the intentions the operator/user has for the site.
One goal in Airship 2.0 is to maintain a declarative framework and to help facilitate usage by allowing the operator/user the config init function to seed the configuration. These configurations will prepare aspect of the configuration such as Manifest/Repository, Bootstrap information with some default consumed from Treasuremap.
Expectation is that the operator/user will use the config cmd to define its initial target cluster and context intentions for the ephemeral cluster, and the target cluster.

@jezogwza jezogwza added the enhancement New feature or request label Feb 5, 2020
@jezogwza jezogwza added this to To do in Airship 2.0 via automation Feb 5, 2020
@jezogwza jezogwza added this to the betav1 milestone Feb 5, 2020
@ianpittwood ianpittwood added the 3-Container Relates to plugin related issues label Feb 7, 2020
@drewwalters96 drewwalters96 self-assigned this Feb 10, 2020
@drewwalters96
Copy link
Contributor

Functionality complete WIP; will add tests next.

@drewwalters96
Copy link
Contributor

Ready for review https://review.opendev.org/707252

@drewwalters96 drewwalters96 moved this from To do to Submitted on Gerrit in Airship 2.0 Feb 12, 2020
@drewwalters96 drewwalters96 added cli Relates to configuration or code for the CLI ready for review Change related to the issue is ready for review labels Feb 12, 2020
Airship 2.0 automation moved this from Submitted on Gerrit to Done Feb 18, 2020
airshipbot pushed a commit that referenced this issue Feb 18, 2020
This change introduces logic for the config init subcommand, which
generates an airshipctl configuration file with default values. The
default values are extracted from constants and change when the source
code is updated.

Closes #6

Change-Id: I452e26bc5a924f0cdcd3153a9b124d23e2e5b1f0
Signed-off-by: Drew Walters <andrew.walters@att.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3-Container Relates to plugin related issues cli Relates to configuration or code for the CLI enhancement New feature or request ready for review Change related to the issue is ready for review
Projects
Airship 2.0
  
Done
Development

No branches or pull requests

4 participants