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

chore(vclusterctl): consolidate vcluster cli and platform config #1781

Closed

Conversation

johannesfrey
Copy link
Contributor

@johannesfrey johannesfrey commented May 17, 2024

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Part of ENG-3722

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster would create multiple config files in multiple places.

What else do we need to know?

  • consolidates vcluster CLI and platform config and adds manager to the config
  • introduces global, configurable --config flag

Updated the loft deps to incorporate: https://github.com/loft-sh/loft-enterprise/commit/bd4285e840c1c3d4157265a71e72daaae6f12c51
Therefore, many changed files are actual changes in vendor, which don't need to be reviewed.

Copy link

netlify bot commented May 17, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit a94a3a1
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/664f481bb2983400080856ad

@johannesfrey johannesfrey force-pushed the vclusterctl-single-config-2 branch 6 times, most recently from c12ce10 to f3eb913 Compare May 17, 2024 12:57
@johannesfrey johannesfrey changed the title WIP chore(vclusterctl): consolidate vcluster cli and platform config May 17, 2024
@johannesfrey johannesfrey force-pushed the vclusterctl-single-config-2 branch 12 times, most recently from 1bd154e to 117e0e4 Compare May 21, 2024 12:41
)

type Config struct {
TelemetryDisabled bool `json:"telemetryDisabled,omitempty"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decided to not wrap this in e.g. CLIConfig, as this would break current ~/.vcluster/config.json configs that have telemetry settings configured.

@johannesfrey johannesfrey marked this pull request as ready for review May 21, 2024 12:45
@johannesfrey johannesfrey force-pushed the vclusterctl-single-config-2 branch 5 times, most recently from 06f6f63 to 5066aa4 Compare May 21, 2024 15:24
@johannesfrey johannesfrey force-pushed the vclusterctl-single-config-2 branch 2 times, most recently from be46e11 to b21e860 Compare May 22, 2024 06:18
@johannesfrey johannesfrey marked this pull request as draft May 22, 2024 06:31
@johannesfrey johannesfrey force-pushed the vclusterctl-single-config-2 branch 5 times, most recently from 57e15dd to ed6e1fa Compare May 23, 2024 12:31
@johannesfrey
Copy link
Contributor Author

Closed in favour of #1798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant