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

Add new fields to HCP bootstrap config request and push state request #17296

Merged
merged 8 commits into from
May 13, 2023

Conversation

hanshasselberg
Copy link
Member

@hanshasselberg hanshasselberg commented May 10, 2023

Description

To support linking cluster, HCP needs to know the datacenter and if ACLs are enabled. Otherwise hosted Consul Core UI won't work properly.

Testing & Reproduction steps

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label May 10, 2023
@hanshasselberg hanshasselberg added pr/no-changelog PR does not need a corresponding .changelog entry backport/1.14 backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. labels May 10, 2023
@hanshasselberg hanshasselberg force-pushed the hans/add_new_field_to_bootstrap_config_and_push_state branch from ed54e24 to 9144ed8 Compare May 10, 2023 20:28
@hanshasselberg hanshasselberg changed the title add new fields to bootstrap config and push state Add new fields to HCP bootstrap config request and push state request May 10, 2023
@hanshasselberg hanshasselberg force-pushed the hans/add_new_field_to_bootstrap_config_and_push_state branch from cfb9275 to 85f27f5 Compare May 11, 2023 09:48
@@ -18,6 +18,7 @@ import (

"github.com/hashicorp/consul/agent/hcp/config"
"github.com/hashicorp/consul/version"
consulversion "github.com/hashicorp/consul/version"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the same dep imported on the line above.

Copy link
Member Author

Choose a reason for hiding this comment

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

good find, fixed.

@loshz
Copy link
Contributor

loshz commented May 12, 2023

Just need to gofmt agent/hcp/client.go and then CI should pass.

@freddygv freddygv merged commit b6097a9 into main May 13, 2023
@freddygv freddygv deleted the hans/add_new_field_to_bootstrap_config_and_push_state branch May 13, 2023 03:01
hanshasselberg added a commit that referenced this pull request May 13, 2023
* update hcp-sdk-go

* add version, datacenter and acl info

* fewer changes

* go mod tidy and lint

* less code

* remove duplicated dep

* fmt

* go mod tidy
hanshasselberg added a commit that referenced this pull request May 13, 2023
* update hcp-sdk-go

* add version, datacenter and acl info

* fewer changes

* go mod tidy and lint

* less code

* remove duplicated dep

* fmt

* trigger ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. pr/dependencies PR specifically updates dependencies of project pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants