14476 Commits

Author SHA1 Message Date
John Cowen
db4ba43398 ui: Fixup definition-table + copy-button margin (#10512) 2021-07-06 15:58:04 +00:00
Daniel Nephin
c8bba8bd60
Merge pull request #10539 from hashicorp/dnephin/backport-to-1.10.x
[1.10.x] Backport main branch rename, and fix 32bit panic
2021-07-05 12:35:56 -04:00
hc-github-team-consul-core
7addc6f353 Putting source back into Dev Mode 2021-07-01 19:39:43 +00:00
hc-github-team-consul-core
2aae8d13b2
Release v1.10.1-beta1 v1.10.1-beta1 2021-07-01 18:46:30 +00:00
hc-github-team-consul-core
bd6a6bf8b8
update bindata_assetfs.go 2021-07-01 18:46:29 +00:00
Mike Morris
5573a3d491 changelog: add unreleased entries for 1.10.1-beta1 2021-07-01 14:41:04 -04:00
David Yu
395100ae83 docs: Formatting for Ingress Controllers example repos (#10542)
* docs: Formatting for Ingress Controllers example repos
* Update ingress-controllers.mdx
2021-07-01 17:49:22 +00:00
Kyle Schochenmaier
9dfc900255 docs: Ingress controllers configurations (#10495)
Add high level documentation on how to enable ingress controllers in consul on k8s.

Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2021-07-01 16:29:42 +00:00
Dhia Ayachi
543928d707 Format certificates properly (rfc7468) with a trailing new line (#10411)
* trim carriage return from certificates when inserting rootCA in the inMemDB

* format rootCA properly when returning the CA on the connect CA endpoint

* Fix linter warnings

* Fix providers to trim certs before returning it

* trim newlines on write when possible

* add changelog

* make sure all provider return a trailing newline after the root and intermediate certs

* Fix endpoint to return trailing new line

* Fix failing test with vault provider

* make test more robust

* make sure all provider return a trailing newline after the leaf certs

* Check for suffix before removing newline and use function

* Add comment to consul provider

* Update change log

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>

* fix typo

* simplify code callflow

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>

* extract requireNewLine as shared func

* remove dependency to testify in testing file

* remove extra newline in vault provider

* Add cert newline fix to envoy xds

* remove new line from mock provider

* Remove adding a new line from provider and fix it when the cert is read

* Add a comment to explain the fix

* Add missing for leaf certs

* fix missing new line

* fix missing new line in leaf certs

* remove extra new line in test

* updage changelog

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>

* fix in vault provider and when reading cache (RPC call)

* fix AWS provider

* fix failing test in the provider

* remove comments and empty lines

* add check for empty cert in test

* fix linter warnings

* add new line for leaf and private key

* use string concat instead of Sprintf

* fix new lines for leaf signing

* preallocate slice and remove append

* Add new line to `SignIntermediate` and `CrossSignCA`

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-07-01 00:49:03 +00:00
trujillo-adam
567aee1a63 docs: fixed instance of incorrect grammar usage 2021-06-30 19:12:08 -04:00
trujillo-adam
fa5f6fe31d docs: fixed some grammar errors and suggested some language improvments in the 'upgrading to 1.10.0' page 2021-06-30 19:12:02 -04:00
Daniel Nephin
f81b371bc1 Merge pull request #10515 from hashicorp/dnephin/fix-arm32-atomic-aligment
Fix panic on 32-bit platforms

Conflicts in tlsutil/config.go were resolved by dropping those changes.
The issue that was fixed in that file is not in 1.10.x.
2021-06-30 18:01:33 -04:00
Daniel Nephin
374072d1ee Merge pull request #10527 from hashicorp/rename-main-branch
Update references to the main branch

 Conflicts:
	.github/CONTRIBUTING.md
	website/content/docs/upgrading/instructions/upgrade-to-1-10-x.mdx

The website conflicts seems like it some of the changes on main didn't
make it into the 1.10.x branch, but the content is relevant for 1.10 so
I took the changes from main.
2021-06-30 17:58:22 -04:00
Kenia
25e078d999 Add changelog to backported bug fix for Topology Metrics (#10538) 2021-06-30 20:52:07 +00:00
Daniel Nephin
1d65962f0c
Merge pull request #10526 from hashicorp/dnephin/backport-streaming-enable
[1.10.x] streaming: fix not being able to enable streaming
2021-06-30 16:45:26 -04:00
David Yu
11a7e87c1d docs: remove alpha from 1.10.0 reference for observability on k8s metrics merging (#10528)
The docs note an alpha pre-release version on K8s observability. Updating to only reference the GA 1.10.0 version of Consul for observability on k8s and metrics merging.
2021-06-30 19:19:33 +00:00
Luke Kysow
fece56f3d8 docs: Document setting dashboard_url on k8s (#10510)
It's tricky because the `{{` needs to be escaped with Helm.
2021-06-30 16:17:43 +00:00
Jan Berktold
1b0c9d43e2 Add rs-consul client to community-provided SDKs list (#10529)
* Add rs-consul

* Update website/content/api-docs/libraries-and-sdks.mdx

Co-authored-by: Mike Morris <mikemorris@users.noreply.github.com>
2021-06-30 14:49:35 +00:00
Blake Covarrubias
033cb77a0a docs: Add Consul 1.10 release notes (#10489)
Co-authored-by: Mike Morris <mikemorris@users.noreply.github.com>
2021-06-29 23:12:30 +00:00
Daniel Nephin
2dbd8231d8 Merge pull request #10514 from hashicorp/dnephin/actually-enable-streaming
streaming: fix not being able to enable streaming
2021-06-29 16:50:02 -04:00
Iryna Shustava
256cbe25cd docs: add docs for running a single Consul dc in multiple k8s clusters (#10508) 2021-06-29 20:24:18 +00:00
Daniel Nephin
dfc655acf7 Merge pull request #10473 from knusbaum/ioutil
{api,command/agent}: change io.Discard to ioutil.Discard
api/v1.9.1
2021-06-29 20:13:53 +00:00
Daniel Nephin
5d86fe4de4 Merge pull request #10488 from hashicorp/dnephin/ci-lib-testing
ci: test api/sdk against last 2 Go versions
2021-06-29 20:01:55 +00:00
Ashwin Venkatesh
ceac373081 Add docs for gossip encryption key rotation (#10522)
* Add docs for gossip encryption key rotation with feedback from David, Kyle and Luke.
2021-06-29 18:46:03 +00:00
Daniel Nephin
9090d788bb Merge pull request #10437 from christopherlai/patch-1
Link to Reverse Proxy from Load Balancer
2021-06-29 18:38:17 +00:00
Blake Covarrubias
373fb7f435 docs: Clarify serf_lan/retry_join behavior with network segments (#10386)
* docs: Add info on using cloud auto-join with Network Segments

Resolves hashicorp/go-discover#57

* Add note about joining network segments

Specifically call out that agents can be configured to join a network
segment by either specifying the Serf LAN port in the join address,
changing the agent's default Serf LAN port by configuring
`ports.serf_lan`, or specifying the port in the `-serf-lan-port`
command line flag.

Resolves #9972
2021-06-29 18:02:59 +00:00
Blake Covarrubias
0ad88b09b9 docs: Add audit logging examples (#10382)
* docs: Add audit logging examples

Resolves #8375, resolves #9055
2021-06-29 17:58:54 +00:00
David Yu
cd07090553 docs: Remove Helm 2 mention in Consul K8s install and uninstall (#10517)
* docs: Remove Helm 2 mention in Consul K8s install and uninstall
Helm 2 is no longer supported via Consul K8s. Helm 3 is now the supported version for Consul K8s.
2021-06-29 16:18:59 +00:00
Mike Ajala
7b5555b58f Update self-hosted-kubernetes.mdx (#10518)
Corrected typo, from you _mean_ need to you _may_ need.
2021-06-29 16:18:28 +00:00
Daniel Nephin
d106120762 Merge pull request #10506 from hashicorp/dnephin/docs-rpc-query-metrics
docs: correct some misleading telemetry docs
2021-06-28 16:34:37 +00:00
Kendall Strautman
aafd51767a chore: upgrade react-head and deps (#10499) 2021-06-28 15:44:35 +00:00
John Cowen
041a8cb293 ui: Enable specifying additional docfy config as json (#10464) 2021-06-25 09:43:16 +00:00
Daniel Nephin
080da56dd0
Merge pull request #10496 from hashicorp/dnephin/backport-check-servername-fix
[1.10.x] tlsutil: fix ServerName used for health checks that use TLS
2021-06-24 18:39:24 -04:00
Daniel Nephin
fd9d1ef763 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 18:16:15 -04:00
Ludovic Ortega
e41f6f86ba [Fix] Add missing quote (#10484) 2021-06-24 21:04:31 +00:00
lornasong
b5f95e964c docs/nia: fix catalog-services typos pt 2 (#10493) 2021-06-24 20:46:23 +00:00
R.B. Boyer
96f6ec48fa 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 20:03:15 +00:00
Kim Ngo
b7c4ec8cfd docs/nia: fix typo (#10492) 2021-06-24 18:52:09 +00:00
David Yu
63b203d6c2 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 16:09:23 +00:00
Kim Ngo
5fa3b17a0e docs/nia: Update CTS compatible versions (#10487) 2021-06-24 15:16:44 +00:00
David Yu
a48dd3724b 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 14:26:07 +00:00
Mike Wickett
385ce01276 update content param for improved attribution (#10468) 2021-06-24 14:06:22 +00:00
R.B. Boyer
2293ccfeca structs: prevent service-defaults upstream configs from using wildcard names or namespaces (#10475) 2021-06-23 20:49:34 +00:00
Peter M
197cba8fa1 Updating alert for 1.10 announcement (#10474) 2021-06-23 19:51:49 +00:00
Zachary Shilton
97aa6fa861 website: bump use-cases to latest (#10472)
* website: bump use-cases to latest

* chore: bump use-cases to stable release
2021-06-23 19:21:56 +00:00
R.B. Boyer
d75c06c9d7 structs: add some missing config entry validation and clean up tests (#10465)
Affects kinds: service-defaults, ingress-gateway, terminating-gateway
2021-06-23 19:16:58 +00:00
John Cowen
adb3223d56 ui: Colocate remaining CSS components to the app/components folder (#10328) 2021-06-23 09:16:09 +00:00
David Yu
18136b04b3 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-23 02:19:03 +00:00
Luke Kysow
ab529f1021 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 23:57:34 +00:00
Ashwin Venkatesh
92b8b141e1 update docs (#10405)
Consul 1.10 GA for Consul K8s
2021-06-22 23:42:31 +00:00