R.B. Boyer
da5a138a3d
also update for dns_prefer_namespace deprecation
2021-12-14 16:22:00 -06:00
R.B. Boyer
e9ec5bceab
docs: version specific upgrade content for 1.11.0
2021-12-14 16:22:00 -06:00
Chris S. Kim
3b32e1b1b6
docs: Add API docs for Admin Partitions ( #11834 )
2021-12-14 17:04:02 -05:00
R.B. Boyer
df6e8a4661
docs: document partition config flag ( #11840 )
2021-12-14 16:02:08 -06:00
Chris S. Kim
540b5c1945
docs: Update discovery chain compilation results with partition fields ( #11835 )
2021-12-14 15:37:34 -05:00
Kyle Havlovitz
8701ff7a62
Merge pull request #11839 from hashicorp/export-config-name-docs
...
docs: Update exported-services page to include required Name field
2021-12-14 12:30:06 -08:00
trujillo-adam
53a04204bd
fixed merge conflicts
2021-12-14 12:28:15 -08:00
Kyle Havlovitz
e964cb37cf
docs: Update exported-services page to include required Name field
2021-12-14 12:10:30 -08:00
trujillo-adam
499e2a68d8
trying to fix merge conflicts and apply feedback
2021-12-14 11:54:33 -08:00
trujillo-adam
d676e5803f
Apply suggestions from code review
...
Apply suggestions from code review
Co-authored-by: Ashwin Venkatesh <ashwin@hashicorp.com>
Co-authored-by: David Yu <dyu@hashicorp.com>
2021-12-14 11:51:34 -08:00
trujillo-adam
4c073e0d9f
Merge branch 'docs/admin-partitions-rc-updates' of github.com:hashicorp/consul into docs/admin-partitions-rc-updates
...
applying feedback on admin partitions rc docs
2021-12-14 11:44:15 -08:00
Kyle Havlovitz
381943dc57
docs: add virtual IP section to DNS docs
2021-12-14 11:39:17 -08:00
trujillo-adam
28d5df03ad
applying feedback on rc admin partition documentation
2021-12-14 11:28:38 -08:00
Kyle Havlovitz
1d720abe58
docs: Update namespaced DNS services section for partitions format
2021-12-14 11:05:41 -08:00
Paul Banks
6a97a5d02e
Merge pull request #11164 from hashicorp/docs/ingress-sds
...
Document SDS for ingress gateways
2021-12-14 17:32:40 +00:00
Freddy
52ab80969e
Merge pull request #11829 from hashicorp/ap/upstream-metrics
2021-12-14 09:16:59 -07:00
freddygv
6f09051ded
Update golden files
2021-12-14 08:57:09 -07:00
freddygv
9d4c8db0d7
Get partition label from upstream metrics
2021-12-14 08:40:47 -07:00
Matt Siegel
49c278e5b0
Merge pull request #11826 from hashicorp/proxycfg/valid-upstreams
...
[OSS] Handle discovery chain race
2021-12-14 10:14:00 -05:00
freddygv
415b6ef0a8
Add changelog entry
2021-12-13 19:03:12 -07:00
freddygv
d7975586d6
Purge chain if it shouldn't be there
2021-12-13 18:56:44 -07:00
freddygv
be85ae11ca
additional test fixes
2021-12-13 18:56:44 -07:00
freddygv
e1d4797561
Account for new upstreams constraint in tests
2021-12-13 18:56:28 -07:00
freddygv
16d3efc4b5
Check ingress upstreams when gating chain watches
2021-12-13 18:56:28 -07:00
freddygv
f4ddb5432c
Use ptr receiver in all Upstream methods
2021-12-13 18:56:14 -07:00
freddygv
d647141a7d
Avoid storing chain without an upstream
2021-12-13 18:56:14 -07:00
freddygv
9e0958f1d2
Clean up chains separately from their watches
2021-12-13 18:56:14 -07:00
freddygv
b704d4e2dd
Validate chains are associated with upstreams
...
Previously we could get into a state where discovery chain entries were
not cleaned up after the associated watch was cancelled. These changes
add handling for that case where stray chain references are encountered.
2021-12-13 18:56:13 -07:00
freddygv
ea26a7b7cf
Store intention upstreams in snapshot
2021-12-13 18:56:13 -07:00
R.B. Boyer
72a81cfc4a
proxycfg: ensure all of the watches are canceled if they are cancelable ( #11824 )
2021-12-13 15:56:17 -06:00
Jared Kirschner
7b78ded3c7
Merge pull request #11818 from hashicorp/improve-url-not-found-response
...
http: improve 404 Not Found response message
2021-12-13 16:08:50 -05:00
R.B. Boyer
3dccd14d31
proxycfg: use external addresses in tproxy when crossing partition boundaries ( #11823 )
2021-12-13 14:34:49 -06:00
Jared Kirschner
757236007a
http: improve 404 Not Found response message
...
When a URL path is not found, return a non-empty message with the 404 status
code to help the user understand what went wrong. If the URL path was not
prefixed with '/v1/', suggest that may be the cause of the problem (which is a
common mistake).
2021-12-13 11:03:25 -08:00
Freddy
f7eeffb98d
Use anonymousToken when querying by secret ID ( #11813 )
...
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
Co-authored-by: Dan Upton <daniel@floppy.co>
This query has been incorrectly querying by accessor ID since New ACLs
were added. However, the legacy token compat allowed this to continue to
work, since it made a fallback query for the anonymousToken ID.
PR #11184 removed this legacy token query, which means that the query by
accessor ID is now the only check for the anonymous token's existence.
This PR updates the GetBySecret call to use the secret ID of the token.
2021-12-13 10:56:09 -07:00
R.B. Boyer
a0156785dd
various partition related todos ( #11822 )
2021-12-13 11:43:33 -06:00
John Cowen
45d97f080f
ui: Add version information back into the footer ( #11803 )
2021-12-13 15:54:58 +00:00
John Cowen
b8888fc0f2
ui: Disable setting wildcard partitions for intentions ( #11804 )
2021-12-13 15:42:10 +00:00
John Cowen
ca04a62702
ui: Change the URL prefix of partitions from -
to _
( #11801 )
2021-12-13 15:39:56 +00:00
John Cowen
56525615ec
ui: Fix a problem showing the default part in a non-primary ( #11800 )
...
When switching to a non-primary datacenter we should only show the word 'default' in place of the partition menu, this fixes up a bug preventing that from happening due to erroneous if/let nesting
2021-12-13 15:08:24 +00:00
John Cowen
75343efcc9
ui: Prefer shorter partition word in certain places vs Admin Partition ( #11772 )
2021-12-13 15:04:35 +00:00
John Cowen
470fce1e07
ui: Ensure we show a special readonly page for intentions ( #11767 )
2021-12-13 15:02:36 +00:00
John Cowen
4734d0989c
ui: reuse BucketList for intention view pages ( #11765 )
2021-12-13 15:00:51 +00:00
Kyle Havlovitz
b9e1dcde1c
Merge pull request #11812 from hashicorp/metrics-ui-acls
...
oss: use wildcard partition in metrics proxy ui endpoint
2021-12-10 16:24:47 -08:00
Kyle Havlovitz
9187070a93
Merge pull request #11798 from hashicorp/vip-goroutine-check
...
leader: move the virtual IP version check into a goroutine
2021-12-10 15:59:35 -08:00
Kyle Havlovitz
ad9c104816
acl: use wildcard partition in metrics proxy ui endpoint
2021-12-10 15:58:17 -08:00
Kyle Havlovitz
dc84a8bae3
Merge pull request #11809 from hashicorp/vip-counter-fix
...
state: fix freed VIP table id index
2021-12-10 15:06:27 -08:00
Kyle Havlovitz
45402dad63
state: fix freed VIP table id index
2021-12-10 14:41:45 -08:00
Kyle Havlovitz
ccc119c549
Exit before starting the vip check routine if possible
2021-12-10 14:30:50 -08:00
Chris S. Kim
db6c2663be
Update CI and release go versions to 1.17.5 ( #11799 )
2021-12-10 14:04:56 -05:00
Evan Culver
db7c814722
connect: update SNI label extraction to support new taxonomy for partitions ( #11786 )
2021-12-10 10:26:22 -08:00