freddygv
38456bedcb
Add changelog entry
2021-10-27 09:02:10 -06:00
freddygv
8006c6df73
Swap in structs.EqualPartitions for cmp
2021-10-26 23:36:01 -06:00
freddygv
37a16e9487
Replace Split with SplitN
2021-10-26 23:36:01 -06:00
freddygv
b9b6447977
Finish removing useInDatacenter
2021-10-26 23:36:01 -06:00
freddygv
e1691d1627
Update XDS for sidecars dialing through gateways
2021-10-26 23:35:48 -06:00
freddygv
62e0fc62c1
Configure sidecars to watch gateways in partitions
...
Previously the datacenter of the gateway was the key identifier, now it
is the datacenter and partition.
When dialing services in other partitions or datacenters we now watch
the appropriate partition.
2021-10-26 23:35:37 -06:00
freddygv
eacb73cb78
Remove useInDatacenter from disco chain requests
...
useInDatacenter was used to determine whether the mesh gateway mode of
the upstream should be returned in the discovery chain target. This
commit makes it so that the mesh gateway mode is returned every time,
and it is up to the caller to decide whether mesh gateways should be
watched or used.
2021-10-26 23:35:21 -06:00
R.B. Boyer
ef559dfdd4
agent: refactor the agent delegate interface to be partition friendly ( #11429 )
2021-10-26 15:08:55 -05:00
Chris S. Kim
ff6a33511e
docs: Document datacenter limitations for admin partitions ( #11425 )
2021-10-26 15:35:39 -04:00
Chris S. Kim
fa293362be
agent: Ensure partition is considered in agent endpoints ( #11427 )
2021-10-26 15:20:57 -04:00
Brandon Romano
8ba3abf4d8
Switch to og-image & Fix build error with acl-legacy ( #11423 )
...
* Update share card image & switch to og-image
* Remove path from api-docs-nav-data. Working
* Add redirect back in
Co-authored-by: Pamela Bortnick <pbortnick@gmail.com>
2021-10-26 14:29:18 -04:00
John Cowen
76f5de1455
ui: Ensure dc selector correctly shows the currently selected dc ( #11380 )
...
* ui: Ensure dc selector correctly shows the currently selected dc
* ui: Restrict access to non-default partitions in non-primaries (#11420 )
This PR restricts access via the UI to only the default partition when in a non-primary datacenter i.e. you can only have multiple (non-default) partitions in the primary datacenter.
2021-10-26 19:26:04 +01:00
John Cowen
b96794401f
ui: Add initial "How 2 Test UI" docs ( #11296 )
...
Attempt to document out what a beginner to the project needs to know here in order to get started quickly
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2021-10-26 19:18:03 +01:00
Kim Ngo
a189244061
Update CTS compatibility matrix to include TFC and flexible ( #11424 )
2021-10-26 13:12:44 -05:00
John Cowen
86c88cc43a
ui: Ensure we provide an id for filtering policy-tokens ( #11311 )
2021-10-26 19:00:32 +01:00
Chris S. Kim
76bbeb3baf
ui: Pass primary dc through to uiserver ( #11317 )
...
Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2021-10-26 10:30:17 -04:00
Daniel Nephin
4ae2c8de9d
Merge pull request #11232 from hashicorp/dnephin/acl-legacy-remove-docs
...
acl: add docs and changelog for the removal of the legacy ACL system
2021-10-25 18:38:00 -04:00
David Yu
fc68feec65
docs: Move consul-k8s architecture docs to Overview ( #11414 )
...
* docs: Move consul-k8s architecture docs to Overview
2021-10-25 15:33:41 -07:00
Daniel Nephin
c841c76373
Merge pull request #11184 from hashicorp/dnephin/acl-legacy-remove-state-store
...
acl: remove legacy type constants, and remove state store support for setting legacy ACLs
2021-10-25 17:46:59 -04:00
Daniel Nephin
5663ff3a70
Merge pull request #11183 from hashicorp/dnephin/acl-legacy-remove-struct
...
acl: remove the remaining parts of structs/acl_legacy.go
2021-10-25 17:44:39 -04:00
Daniel Nephin
5d41b4d2f4
Update agent/consul/acl_client.go
...
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
2021-10-25 17:25:14 -04:00
Daniel Nephin
65d48e5042
state: remove support for updating legacy ACL tokens
2021-10-25 17:25:14 -04:00
Daniel Nephin
0784a31e85
acl: remove init check for legacy anon token
...
This token should always already be migrated from a previous version.
2021-10-25 17:25:14 -04:00
Daniel Nephin
daba3c2309
acl: remove legacy parameter to ACLDatacenter
...
It is no longer used now that legacy ACLs have been removed.
2021-10-25 17:25:14 -04:00
Daniel Nephin
3390f85ab4
acl: remove ACLTokenTypeManagement
2021-10-25 17:25:14 -04:00
Daniel Nephin
32b4ad42ac
acl: remove ACLTokenTypeClient,
...
along with the last test referencing it.
2021-10-25 17:25:14 -04:00
Daniel Nephin
aea4cc5a6d
acl: remove legacy arg to store.ACLTokenSet
...
And remove the tests for legacy=true
2021-10-25 17:25:14 -04:00
Daniel Nephin
c77e5747b1
acl: remove EmbeddedPolicy
...
This method is no longer. It only existed for legacy tokens, which are no longer supported.
2021-10-25 17:25:14 -04:00
Daniel Nephin
121431bf17
acl: remove tests for resolving legacy tokens
...
The code for this was already removed, which suggests this is not actually testing what it claims.
I'm guessing these are still resolving because the tokens are converted to non-legacy tokens?
2021-10-25 17:25:14 -04:00
Daniel Nephin
0d0761927a
acl: stop replication on leadership lost
...
It seems like this was missing. Previously this was only called by init of ACLs during an upgrade.
Now that legacy ACLs are removed, nothing was calling stop.
Also remove an unused method from client.
2021-10-25 17:24:12 -04:00
Daniel Nephin
98823e573f
Remove incorrect TODO
2021-10-25 17:20:06 -04:00
Daniel Nephin
1344137ce2
acl: move the legacy ACL struct to the one package where it is used
...
It is now only used for restoring snapshots. We can remove it in phase 2.
2021-10-25 17:20:06 -04:00
Daniel Nephin
531f2f8a3f
acl: remove most of the rest of structs/acl_legacy.go
2021-10-25 17:20:06 -04:00
Paul Banks
954b283fec
Merge pull request #11163 from hashicorp/feature/ingress-tls-mixed
...
Add support for enabling connect-based ingress TLS per listener.
2021-10-25 21:36:01 +01:00
FFMMM
fea6f08bf9
fix autopilot_failure_tolerance, add autopilot metrics test case ( #11399 )
...
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-10-25 10:55:59 -07:00
Pamela Bortnick
3c77c3e789
fix social share image ( #11235 )
...
* Fix social share image
* Change name
* make absolute path
2021-10-25 13:09:28 -04:00
David Yu
6e3fbf1ece
docs: minor Consul K8s changes ( #11402 )
...
* docs: minor Consul K8s changes
2021-10-25 10:00:10 -07:00
Pete Lopez
eb905424a6
Use correct registry url
...
A small typo in the module source leads to an error when performing `terraform init`.
2021-10-22 17:12:23 -07:00
R.B. Boyer
c5b7e2a759
test: pin the version of bats to one that works on CircleCI ( #11401 )
2021-10-22 17:06:25 -05:00
Uday
f983e2ec8b
Update segment.mdx
2021-10-22 13:49:30 -07:00
David Yu
d17459a7e3
docs: bump reference to consul-k8s cli to beta and reformat helm config example ( #11398 )
2021-10-22 09:14:35 -07:00
Daniel Nephin
97ff404e98
Merge pull request #11395 from hashicorp/dnephin/remove-old-test-flake-workflow
...
build-support: remove test-flake machinery
2021-10-21 17:27:04 -04:00
Daniel Nephin
d46f2429ec
build-support: remove test-flake machinery
...
This machinery was not used, and does not appear to be maintained. In practice we really
don't need anything to detect flaky tests. Our CI system identifies flaky tests at
https://app.circleci.com/insights/github/hashicorp/consul/workflows/go-tests/tests?branch=main
Mostly what we need is a way to reproduce flakes, which can be done directly with the Go
CLI, using the -race, -count, and (new in Go 1.17) -shuffle flags.
2021-10-21 17:16:25 -04:00
Daniel Nephin
846ff9a2c7
Merge pull request #11364 from hashicorp/use-go1.17
...
ci: test against go1.17
2021-10-21 16:52:18 -04:00
Chris S. Kim
c0991f479f
Update docs for tls_cipher_suites ( #11070 )
2021-10-21 16:41:51 -04:00
FFMMM
0954d261ae
use *telemetry.MetricsPrefix as prometheus.PrometheusOpts.Name ( #11290 )
...
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-10-21 13:33:01 -07:00
Daniel Nephin
66798ca42d
ci: test against go1.17
2021-10-21 16:18:32 -04:00
Dhia Ayachi
58f5686c08
fix leadership transfer on leave suggestions ( #11387 )
...
* add suggestions
* set isLeader to false when leadership transfer succeed
2021-10-21 14:02:26 -04:00
mrspanishviking
47e91c3832
Merge pull request #11389 from hashicorp/cli-intentions-docs
...
docs: added deprecation message to CLI command intentions overview page
2021-10-21 10:39:10 -07:00
Karl Cardenas
8e1bfbae56
docs: added deprecation message to CLI command intentions overview page
2021-10-21 10:29:23 -07:00