R.B. Boyer
c3d5a2a5ab
connect/ca: cease including the common name field in generated certs ( #10424 )
...
As part of this change, we ensure that the SAN extensions are marked as
critical when the subject is empty so that AWS PCA tolerates the loss of
common names well and continues to function as a Connect CA provider.
Parts of this currently hack around a bug in crypto/x509 and can be
removed after https://go-review.googlesource.com/c/go/+/329129 lands in
a Go release.
Note: the AWS PCA tests do not run automatically, but the following
passed locally for me:
ENABLE_AWS_PCA_TESTS=1 go test ./agent/connect/ca -run TestAWS
2021-06-25 13:00:00 -05:00
hc-github-team-consul-core
f0f5d9bfc4
auto-updated agent/uiserver/bindata_assetfs.go from commit ace794d21
2021-06-25 09:47:01 +00:00
John Cowen
a210cce332
ui: Enable specifying additional docfy config as json ( #10464 )
2021-06-25 10:41:41 +01:00
Dhia Ayachi
8b967b3bb6
return an empty record when asked for an addr dns with type other then A, AAAA and ANY ( #10401 )
...
* return an invalid record when asked for an addr dns with type other then A and AAAA
* add changelog
* fix ANY use case and add a test for it
* update changelog type
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* return empty response if the question record type do not match for addr
* set comment in the right place
* return A\AAAA record in extra section if record type is not A\AAAA for addr
* Fix failing test
* remove commented code
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* use require for test validation
* use variable to init struct
* fix failing test
* Update agent/dns.go
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* Update .changelog/10401.txt
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* Update agent/dns.go
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* Update agent/dns.go
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* Update agent/dns.go
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
* fix compilation error
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-06-24 20:44:44 -04:00
Ludovic Ortega
a1e7556af6
[Fix] Add missing quote ( #10484 )
2021-06-24 13:59:39 -07:00
R.B. Boyer
f408c4d387
sdk: Stop making a special /tmp/consul-test directory for testutil.TempFile and testutil.TempDir ( #10494 )
2021-06-24 15:46:23 -05:00
lornasong
c232a544a4
docs/nia: fix catalog-services typos pt 2 ( #10493 )
2021-06-24 16:45:46 -04:00
R.B. Boyer
e20abcc14f
connect/proxy: fixes logic bug preventing builtin/native proxy from starting upstream listeners ( #10486 )
...
Fixes #10480
Also fixed a data race in the `connect/proxy` package that was unearthed by the tests changed for this bugfix.
2021-06-24 15:02:34 -05:00
Kim Ngo
811aa82f15
docs/nia: fix typo ( #10492 )
2021-06-24 13:51:26 -05:00
Daniel Nephin
a620a7eced
Merge pull request #10490 from hashicorp/dnephin/fix-tls-for-health-check
...
tlsutil: fix ServerName used for health checks that use TLS
2021-06-24 14:27:16 -04:00
Daniel Nephin
cefbb5bf3f
Merge pull request #10476 from hashicorp/dnephin/ca-primary-uses-intermediate
...
ca: replace ca.PrimaryIntermediateProviders
2021-06-24 14:05:19 -04:00
Daniel Nephin
63b43f9964
tlsutils: more test cases for OutgoingTLSConfigForCheck
2021-06-24 13:49:58 -04:00
Daniel Nephin
6de514fbd1
tlsutil: fix default server name for health checks
...
Don't use the agent node name or agent server name when EnableAgentTLSForChecks=false.
2021-06-24 13:49:58 -04:00
Daniel Nephin
e41291a72f
Merge pull request #10488 from hashicorp/dnephin/ci-lib-testing
...
ci: test api/sdk against last 2 Go versions
2021-06-24 13:09:44 -04:00
Daniel Nephin
2bfdd8ceed
tlsutil: convert tests for OutgoingTLSConfigForCheck to a table
...
In preparation for adding more test cases.
2021-06-24 12:51:40 -04:00
Daniel Nephin
6d57855b38
ci: test api/sdk against last 2 Go versions
...
So that we catch any incompatibilities with the preivous Go version.
2021-06-24 12:24:12 -04:00
David Yu
e0a6946506
docs: Remove beta version references from Helm reference ( #10477 )
...
Removing references from the 1.10 beta that were included in Helm Configuration Reference
2021-06-24 09:08:33 -07:00
Daniel Nephin
6dca50ac41
Merge pull request #10473 from knusbaum/ioutil
...
{api,command/agent}: change io.Discard to ioutil.Discard
2021-06-24 11:59:46 -04:00
Kim Ngo
682dd6cad1
docs/nia: Update CTS compatible versions ( #10487 )
2021-06-24 10:16:03 -05:00
David Yu
3c1fda212a
docs: Removal of Consul vs ZooKeeper analysis ( #10469 )
...
* docs: Removal of Consul vs ZooKeeper
Although Consul does have a KV, we are not positioning Consul as a first class KV store versus other alternatives such as etcd or Zookeeper. Will remove this since this has not been updated with further analysis since this content was created.
* Removing from Zookeeper analysis Navbar
* Removing Zookeeper analysis from redirects
2021-06-24 07:23:57 -07:00
Mike Wickett
722e8398ce
update content param for improved attribution ( #10468 )
2021-06-24 10:02:26 -04:00
R.B. Boyer
9778bee35a
structs: prohibit config entries from referencing more than one partition at a time ( #10478 )
...
affected kinds: service-defaults, ingress-gateway, terminating-gateway, service-intentions
2021-06-23 16:44:10 -05:00
R.B. Boyer
952df8b491
structs: prevent service-defaults upstream configs from using wildcard names or namespaces ( #10475 )
2021-06-23 15:48:54 -05:00
Peter M
dd2bf56b1d
Updating alert for 1.10 announcement ( #10474 )
2021-06-23 12:48:45 -07:00
Daniel Nephin
72b30174fa
ca: replace ca.PrimaryIntermediateProviders
...
With an optional interface that providers can use to indicate if they
use an intermediate cert in the primary DC.
This removes the need to look up the provider config when renewing the
intermediate.
2021-06-23 15:47:30 -04:00
Zachary Shilton
5563c8cd68
website: bump use-cases to latest ( #10472 )
...
* website: bump use-cases to latest
* chore: bump use-cases to stable release
2021-06-23 15:19:59 -04:00
R.B. Boyer
b412ca0f89
structs: add some missing config entry validation and clean up tests ( #10465 )
...
Affects kinds: service-defaults, ingress-gateway, terminating-gateway
2021-06-23 14:11:23 -05:00
Daniel Nephin
f659b4f370
Merge pull request #10440 from hashicorp/dnephin/contib-docs-dns
...
contrib: add some docs for the DNS interface
2021-06-23 14:55:27 -04:00
trujillo-adam
94255cf0c6
Merge pull request #10467 from hashicorp/docs-upgrading-to-1-10-0-fixes
...
Docs upgrading to 1 10 0 fixes
2021-06-23 11:04:01 -07:00
Kyle Nusbaum
4ad13c37db
command/agent: change io.Discard to ioutil.Discard
2021-06-23 11:45:40 -05:00
Kyle Nusbaum
89ec847f7b
api: change io.Discard to ioutil.Discard
2021-06-23 11:45:20 -05:00
Daniel Nephin
d25403bb6f
contrib: Update DNS table description
2021-06-23 12:30:00 -04:00
trujillo-adam
07c97ddb75
docs: fixed instance of incorrect grammar usage
2021-06-23 08:50:30 -07:00
Dhia Ayachi
f87821cb63
merge dns table with current dns page
2021-06-23 09:34:34 -04:00
Dhia Ayachi
ab7f959aef
add matrix for dns type vs kind
2021-06-23 09:29:04 -04:00
hc-github-team-consul-core
a6a8e421d2
auto-updated agent/uiserver/bindata_assetfs.go from commit c78f7ecb2
2021-06-23 08:24:11 +00:00
John Cowen
26be113b5d
ui: Colocate remaining CSS components to the app/components folder ( #10328 )
2021-06-23 09:19:35 +01:00
David Yu
2b4942b7f5
docs - Adding Mesh as CRD in Consul K8s ( #10459 )
...
* docs - Adding Mesh as CRD in Consul K8s
* Removing extra left brace in ServiceDefaults
2021-06-22 19:18:13 -07:00
Luke Kysow
3ad64aeb7d
Update config entry docs for CRDs ( #10407 )
...
* Update mesh, proxy-defaults and service-defaults docs to properly
document Kubernetes YAML.
Co-authored-by: David Yu <dyu@hashicorp.com>
2021-06-22 16:56:53 -07:00
Ashwin Venkatesh
33921549ae
update docs ( #10405 )
...
Consul 1.10 GA for Consul K8s
2021-06-22 16:41:53 -07:00
Nitya Dhanushkodi
a91c670eab
docs: upgrading to tproxy (/docs/upgrades/upgrade-specific) ( #10416 )
...
* docs: update tproxy docs
Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
Co-authored-by: David Yu <dyu@hashicorp.com>
2021-06-22 16:41:08 -07:00
Iryna Shustava
2169266927
docs: update docs/k8s/connect to for tproxy GA. ( #10408 )
...
* Assume tproxy is enabled by default and connect to upstreams
with kube DNS.
* Update docs for missing annotations.
2021-06-22 16:34:20 -07:00
Nitya Dhanushkodi
d001b197b0
docs: update tproxy docs (/docs/connect/transparent-proxy) ( #10415 )
...
* docs: update tproxy docs
* add examples
* links
2021-06-22 16:29:52 -07:00
David Yu
dbb6889b72
docs: Update Consul K8s Compat Matrix for Consul 1.10 ( #10456 )
2021-06-22 16:27:04 -07:00
Blake Covarrubias
8b7123b585
Remove beta release callout on downloads page
2021-06-22 16:22:50 -07:00
Blake Covarrubias
ebe1f1cb51
docs: Remove beta tag for 1.10 features
...
Remove beta tag for 1.10 features which are now GA.
2021-06-22 16:22:50 -07:00
trujillo-adam
0546fbb1d8
docs: fixed some grammar errors and suggested some language improvments in the 'upgrading to 1.10.0' page
2021-06-22 16:16:08 -07:00
Zachary Shilton
f6fd8e2a0e
website: upgrade code-block ( #10436 )
...
* website: upgrade code-block
* website: bump to latest stable releases
2021-06-22 17:38:54 -04:00
trujillo-adam
2e72003328
Merge pull request #10434 from hashicorp/faq-license-update
...
docs: updated FAQ to accommodate new requirements prior to upgrading
2021-06-22 14:36:32 -07:00
David Yu
9867b87dff
docs: Remove Grafana from Observability section ( #10454 )
...
* Remove Grafana from Observability section
Reference Grafana Config in the learn guide
Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
2021-06-22 14:31:45 -07:00