Commit Graph

3109 Commits

Author SHA1 Message Date
Daniel Nephin ce6cc094a1 intentions: fix a bug in Intention.SetHash
Found using staticcheck.

binary.Write does not accept int types without a size. The error from binary.Write was ignored, so we never saw this error. Casting the data to uint64 produces a correct hash.

Also deprecate the Default{Addr,Port} fields, and prevent them from being encoded. These fields will always be empty and are not used.
Removing these would break backwards compatibility, so they are left in place for now.

Co-authored-by: Hans Hasselberg <me@hans.io>
2020-06-05 14:51:43 -04:00
Freddy 9ed325ba8b
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
The DNS resolution will be handled by Envoy and defaults to LOGICAL_DNS. This discovery type can be overridden on a per-gateway basis with the envoy_dns_discovery_type Gateway Option.

If a service contains an instance with a hostname as an address we set the Envoy cluster to use DNS as the discovery type rather than EDS. Since both mesh gateways and terminating gateways route to clusters using SNI, whenever there is a mix of hostnames and IP addresses associated with a service we use the hostname + CDS rather than the IPs + EDS.

Note that we detect hostnames by attempting to parse the service instance's address as an IP. If it is not a valid IP we assume it is a hostname.
2020-06-03 15:28:45 -06:00
Kevin Pruett 9b0d0de178
Merge pull request #8002 from pruett/pruett.quickfix-acl-docs
Add newline to fix rendering bug
2020-06-03 17:21:52 -04:00
Jono Sosulska 66ee9c3bb2
Updating Stopping Agent Section (#8016)
Fixes #6935 to clarify agent behavior.
2020-06-03 17:08:49 -04:00
Kevin Pruett bf0b5055f1
Add newline to fix rendering bug 2020-06-03 15:21:06 -04:00
Derek Strickland 9795b19e27
Added guideLinks prop for UseCaseLayout component and linked terminating gateways guide from documentation. (#7998) 2020-06-02 10:40:07 -04:00
R.B. Boyer 833211c14c
acl: allow auth methods created in the primary datacenter to optionally create global tokens (#7899) 2020-06-01 11:44:47 -05:00
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
Fixes #7292
2020-05-29 16:16:03 -05:00
Jono Sosulska c554ba9e10
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
* Replace whitelist/blacklist terminology with allowlist/denylist
2020-05-29 14:19:16 -04:00
Shantanu Gadgil b4f2874d89
add gobetween to the Consul tools (#7973)
add gobetween to the Consul tools
2020-05-29 11:17:22 -07:00
Chris Piraino 6c444ba24c
Remove underscores from gateway URL paths (#7962) 2020-05-28 14:19:17 -05:00
Luke Kysow db6f876b59
Merge pull request #7936 from hashicorp/helm-k8s-mgw
Helm docs for k8s mesh gateways and federation
2020-05-28 10:51:03 -07:00
Luke Kysow 6409c488ee
Helm docs for k8s mesh gateways and federation 2020-05-28 10:49:59 -07:00
Alvin Huang 37cafc3f52
bump beta callout to v1.8.0-beta2 (#7945) 2020-05-26 12:51:44 -04:00
Luke Kysow 85b20d3713
Merge pull request #7944 from hashicorp/k8s-mgw-docs-update
Update for consul:1.8.0-beta2
2020-05-25 11:26:28 -07:00
Luke Kysow 56e2a98aea
Update for consul:1.8.0-beta2 2020-05-25 11:26:09 -07:00
Jeff Escalante 0a8a311bd7 env variable clarity 2020-05-21 14:50:45 -04:00
Jeff Escalante c2110669c1 mod stylelint to be more accurate 2020-05-21 14:50:45 -04:00
Jeff Escalante 7cbd8b9d36 upgrade to stylelint release 2020-05-21 14:50:45 -04:00
Jeff Escalante 789ba665d5 remove unused dependencies, adjust 404 link color 2020-05-21 14:50:45 -04:00
Jeff Escalante 326ec30d68 update dependencies 2020-05-21 14:50:45 -04:00
Peter M aedabfbf57 Updated resource heading to correct error 2020-05-20 15:26:56 -07:00
Freddy 3dd8b66aa2
Update ingress/terminating gateway ACL docs (#7891) 2020-05-20 09:27:25 -06:00
Paul Mundt 82c391b75d
docs: Add Dart client to list of Libraries and SDKs (#7884) 2020-05-20 12:42:12 +02:00
Patrice Krakow 746bf9b7e2
docs: change "is" to "can be" in connect docs (#7902)
The doc says: "When the Connect injector is installed, the Connect sidecar is automatically added to all pods." But, it depends on the configuration, so I think it's better to say: "When the Connect injector is installed, the Connect sidecar can automatically added to all pods."
2020-05-20 12:40:24 +02:00
Pierre Souchay e9d176db2a
Allow to restrict servers that can join a given Serf Consul cluster. (#7628)
Based on work done in https://github.com/hashicorp/memberlist/pull/196
this allows to restrict the IP ranges that can join a given Serf cluster
and be a member of the cluster.

Restrictions on IPs can be done separatly using 2 new differents flags
and config options to restrict IPs for LAN and WAN Serf.
2020-05-20 11:31:19 +02:00
R.B. Boyer 89a6492033
docs: remove todos (#7922)
Fixes #7921
2020-05-19 15:19:06 -05:00
R.B. Boyer 228284758b
docs: update the 'consul tls' command docs to match the current flags (#7911) 2020-05-18 12:01:14 -05:00
nicolelyn 209f97bfe4 website: update flexible architecture image 2020-05-15 13:49:57 -04:00
Mike Wickett 6332fd927b
Merge pull request #7895 from BrandonRomano/nf.fix-callouts-image
website: fix image size on learn callout
2020-05-15 10:13:31 -04:00
David Yu e226a21c3e
Unindenting to remove shell pre-formatting (#7890) 2020-05-14 15:04:53 -06:00
nicolelyn 743ad512a7 website: fix image size on learn callout 2020-05-14 15:09:15 -04:00
Brandon Romano 80064f9ab4 Updates alert Banner to point to 1.8 Blog Post 2020-05-14 10:18:18 -07:00
Luke Kysow 6d472b6d60
Merge pull request #7882 from hashicorp/multi-cluster-k8s
Documentation for wan fed via mgw on k8s
2020-05-14 09:57:39 -07:00
Luke Kysow 5355c07bc1
Documentation for wan fed via mgw on k8s 2020-05-14 09:09:18 -07:00
Brandon Romano 07487220a5
Merge pull request #7883 from BrandonRomano/consul-website-redesign
website: Landing & Use Case Pages redesign
2020-05-14 09:04:10 -07:00
Preetha Appan 62480adf98 link to beta 2020-05-14 10:51:34 -05:00
Preetha Appan 2ae0d20147 Update version.js 2020-05-14 10:42:06 -05:00
Brandon Romano ae1927b464 Remove accidental import that sneaked in rebase 2020-05-13 23:48:06 -07:00
Brandon Romano d75e1cc2e7 Revert "Temporarily switch og:image to staging env to test"
This reverts commit a71eb2170020884e701267db23fc6d5a0bc3a06b.
2020-05-13 23:45:42 -07:00
Brandon Romano cd61f741a7 Set og:title name for overriding 2020-05-13 23:45:42 -07:00
Brandon Romano 2ed1c44440 Adds og:title 2020-05-13 23:45:42 -07:00
Brandon Romano 8929428c03 Temporarily switch og:image to staging env to test 2020-05-13 23:45:42 -07:00
Brandon Romano 0dcbebfb7c Adds page specific metadata to use case pages 2020-05-13 23:45:42 -07:00
Brandon Romano 3db781ae99 Update base metadata 2020-05-13 23:45:42 -07:00
Brandon Romano 3351e65012 Further image optimizations 2020-05-13 23:45:42 -07:00
Brandon Romano 2ecf62da70 Remove raster images to CDN 2020-05-13 23:45:42 -07:00
Brandon Romano f0d7f2d863 Optimize why consul icons 2020-05-13 23:45:42 -07:00
Brandon Romano dd9de6a584 Optimize use case diagrams to SVGs 2020-05-13 23:45:41 -07:00
Brandon Romano 7567188cc0 Final content tweaks 2020-05-13 23:45:41 -07:00
Brandon Romano bf37b698b2 Fix logo alignment bug 2020-05-13 23:45:41 -07:00
Brandon Romano 48e773fc5a Preserve Barclays aspect ratio 2020-05-13 23:45:41 -07:00
Brandon Romano cb793e481c Shrink quotes 2020-05-13 23:45:41 -07:00
Brandon Romano 4c3d7a1148 Removes border 2020-05-13 23:45:41 -07:00
Brandon Romano 767c326df3 Adds Mulit-Platform Service Mesh page 2020-05-13 23:45:41 -07:00
Brandon Romano 6ea08a26b2 No case studies on NMA page 2020-05-13 23:45:41 -07:00
Brandon Romano 4ce3f6e633 Update use case screenshots 2020-05-13 23:45:41 -07:00
Brandon Romano 54599bfbe9 Shrink barclays logo 2020-05-13 23:45:40 -07:00
Brandon Romano 21bc8f6158 Add health checking page content 2020-05-13 23:45:40 -07:00
Brandon Romano ecbedd5109 Update service discovery description 2020-05-13 23:45:40 -07:00
Brandon Romano 9556286b7c Adds NMA page content 2020-05-13 23:45:40 -07:00
Brandon Romano 55d1f4de56 Small copy tweaks to prefooter elements 2020-05-13 23:45:40 -07:00
Brandon Romano 14ef7e7c83 Update order of use cases 2020-05-13 23:45:40 -07:00
Brandon Romano 64f20facef Update home content up to quotes 2020-05-13 23:45:40 -07:00
Brandon Romano ea77bb5b1e Add Kubernetes icon 2020-05-13 23:45:40 -07:00
Brandon Romano 9f111faeaf Adds FeaturedSlider to use case pages 2020-05-13 23:45:40 -07:00
Brandon Romano 29a6d814c2 Delete old use case pages w/ redirect to new 2020-05-13 23:45:40 -07:00
Brandon Romano 6ecd9acf11 Point the subnav use case pages to the new pages 2020-05-13 23:45:39 -07:00
Brandon Romano 488de66b66 Stub other use case pages 2020-05-13 23:45:39 -07:00
Brandon Romano cff843ca51 Stub nma page 2020-05-13 23:45:39 -07:00
Brandon Romano 0a177a12bf Pull out CTA content into component 2020-05-13 23:45:39 -07:00
Brandon Romano a80bb58c85 Theme & Stub quotes section 2020-05-13 23:45:39 -07:00
Brandon Romano ac612a9cdc Adjust nav to new recommended layout.
This removes "Intro", which is actually no longer the recommended
get-started place (Learn takes that spot).

Additionally, there is now a separator between the high level business
value stuff, and the low level developer stuff.
2020-05-13 23:45:39 -07:00
Brandon Romano 185b2eb03a Adds learn guides w/ temporary K8S icon 2020-05-13 23:45:39 -07:00
Brandon Romano b0dcf488cb Plugs in use cases 2020-05-13 23:45:39 -07:00
Brandon Romano 3a59a701d9 Tweak CTA text 2020-05-13 23:45:39 -07:00
Brandon Romano 85cf817eec Plug in Hero content 2020-05-13 23:45:39 -07:00
Brandon Romano ae307ba7a2 Adds a border to the top of the footer for visual spacing 2020-05-13 23:45:39 -07:00
Brandon Romano ab097190a7 Plug in proper content for when enterprise component 2020-05-13 23:45:38 -07:00
Brandon Romano fff8331189 Plug in proper content 2020-05-13 23:45:38 -07:00
Brandon Romano d0b2149970 Remove featured slider in this PR 2020-05-13 23:45:38 -07:00
nicolelyn 8fcd6f9109 remove from style.css 2020-05-13 23:45:38 -07:00
nicolelyn bf5cf6b696 add features list 2020-05-13 23:45:38 -07:00
nicolelyn 3e47ad5aed remove before/after diagram 2020-05-13 23:45:38 -07:00
nicolelyn 1887f1cb40 add spaces 2020-05-13 23:45:38 -07:00
nicolelyn 7b0cfcb96e remove console.log 2020-05-13 23:45:38 -07:00
nicolelyn e6dcc848ad add majority of home page components 2020-05-13 23:45:38 -07:00
nicolelyn e272a45251 add majority of components 2020-05-13 23:45:10 -07:00
nicolelyn eb3e5ba1dc prep for redesign 2020-05-13 23:44:22 -07:00
Brandon Romano 9f5ce266c5 Test Netlify build 2020-05-13 23:44:22 -07:00
Mike Morris 9cbbff5318
docs: add audit logging docs to agent configuration (#7880) 2020-05-13 20:59:00 -04:00
Preetha 33888bccad
temporarily remove link that 404s
will be readded later when page is available
2020-05-13 19:11:13 -05:00
Freddy 56dccd2b95
Add beta tags to gateway docs (#7876) 2020-05-13 15:47:20 -06:00
Chris Piraino 98005a79c4
Ingress and Terminating Gateway docs (#7710)
This PR contains documentation additions for ingress and terminating gateways. New pages for the config-entries and overall feature description were added, as well as various additions to related pages.

Co-authored-by: Jono Sosulska <42216911+jsosulska@users.noreply.github.com>
Co-authored-by: freddygv <gh@freddygv.xyz>
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
Co-authored-by: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
2020-05-13 16:29:40 -05:00
Preetha 0a77ea2bfc
Merge pull request #7823 from hashicorp/docs-wanfed-mesh
Redo PR #7430 for new website (docs for WAN federation over mesh gateways)
2020-05-13 14:22:18 -05:00
R.B. Boyer 44d10e4894
docs: docs for jwt and oidc auth methods (#7847) 2020-05-13 14:14:03 -05:00
Preetha Appan 9d7ce4c621 added links, removed todo 2020-05-13 14:11:58 -05:00
Jeff Escalante a58ac39562 add tabs component 2020-05-13 14:01:37 -04:00
Jeff Escalante 2859a4dc39 add to primary website readme 2020-05-13 14:01:37 -04:00
Jeff Escalante 88b1440f5f add docs for enterprise alert component 2020-05-13 14:01:37 -04:00
Freddy ccd0822539
Use proxy-id in gateway auto-registration (#7845) 2020-05-13 11:56:53 -06:00
jsosulska 78e9766b2b Update FAQ with Compat Matrix information 2020-05-12 19:43:56 -04:00
Jono Sosulska 57096f8410
Update FAQ + formatting (#7816)
* Update FAQ + formatting

* Fix 80 chars lines in FAQ
2020-05-12 19:36:49 -04:00
Preetha Appan 8ce0a2509b Clean up placeholder diagrams, rename file to use dashes 2020-05-12 16:34:59 -05:00
bitsofinfo c72d6f7aac
added files-to-consul-kv to tools
added files-to-consul-kv to tools
2020-05-12 08:30:16 -06:00
krishna sindhur 3698e03e7a
docs: header payload type change (#7763)
* changed the header type from string to list as mentioned in doc in [website/pages/api-docs/agent/check.mdx, website/pages/docs/agent/checks.mdx]
2020-05-12 11:48:48 +02:00
Marek Vavruša 81aeb06a2e
docs: fix misleading example for HTTP healthcheck (#7773)
The documentation says the `header` field has type `map[string][]string`,
but the example has `map[string]string`.
2020-05-12 11:45:46 +02:00
Preetha Appan c32de785a0 Add Beta super script to page title
also moves version availability to below feature title
2020-05-11 14:59:17 -05:00
Iryna Shustava cd5a539c38
docs: add docs for configuring ACLs with external servers (#7802) 2020-05-11 11:26:10 -07:00
Preetha Appan a4ec82102e Add beta superscript to docs title for wan federation over mesh gateways 2020-05-08 18:25:41 -05:00
Preetha Appan cf56325196 Redo PR #7430 for new website
Still has todos and diagrams to be added
2020-05-08 18:07:45 -05:00
Daniel Nephin eaa05d623a xds: Add passive health check config for upstreams 2020-05-08 14:56:57 -04:00
Jono Sosulska 9b363e9f23
Fix spelling of deregister (#7804) 2020-05-08 10:03:45 -04:00
Denislav Denov 6cb782708f
Update website/pages/docs/commands/license.mdx
Co-authored-by: danielehc <40759828+danielehc@users.noreply.github.com>
2020-05-08 15:51:52 +03:00
Denislav Denov 2b39b21f0f
Update license.mdx
Hello team,

I noticed that the reset part of the consul license command was missing in the documentation so I added it and created this PR.
2020-05-08 11:13:41 +03:00
Jeff Escalante f0df674e07 add alert banner to website 2020-05-06 20:06:39 -04:00
R.B. Boyer a854e4d9c5
acl: oss plumbing to support auth method namespace rules in enterprise (#7794)
This includes website docs updates.
2020-05-06 13:48:04 -05:00
Luke Kysow c33a241438
Merge pull request #7724 from hashicorp/helm-repo
Update k8s instructions for new helm repo
2020-05-05 16:17:53 -07:00
Iryna Shustava 543568fd9a
docs: add Helm docs for external servers and bootstrapToken (#7725) 2020-05-04 18:09:59 -07:00
R.B. Boyer 22eb016153
acl: add MaxTokenTTL field to auth methods (#7779)
When set to a non zero value it will limit the ExpirationTime of all
tokens created via the auth method.
2020-05-04 17:02:57 -05:00
R.B. Boyer ca52ba7068
acl: add DisplayName field to auth methods (#7769)
Also add a few missing acl fields in the api.
2020-05-04 15:18:25 -05:00
R.B. Boyer 88d5060610
docs: add docs for snapshot agent local_scratch_path option (#7730)
Also fix some website upgrade bugs.
2020-05-01 14:51:57 -05:00
Jeff Escalante 27eb12ec51
fix multiline note (#7744) 2020-04-30 14:07:16 -04:00
Luke Kysow dca331ed44
Update k8s instructions for new helm repo
Also remove index page for operations since it just linked to the other
pages in the list.
2020-04-30 10:04:55 -07:00
Iryna Shustava d88be94c93
docs: add Helm docs for external servers and bootstrapToken (#7725)
Also, backfill some Helm docs that got lost in the new website merge
2020-04-28 14:38:02 -07:00
Jeff Escalante e83445fd01
dependencies 2020-04-28 12:53:30 -04:00
Luke Kysow 63d6c3cfbb
Fix broken markdown link 2020-04-28 12:53:29 -04:00
Jeff Escalante a97193065b
update dependencies 2020-04-28 12:53:29 -04:00
Jeff Escalante 70848bf382
remove guides from sidebar 2020-04-28 12:53:29 -04:00
Blake Covarrubias bf4ef056af
Add callouts to Enterprise features (#7548)
Label all enterprise-related content with Enterprise badge/callout.

Resolves #6887

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2020-04-28 12:53:29 -04:00
Jeff Escalante bc1d820b62
update dependencies 2020-04-28 12:53:28 -04:00
Jeff Escalante 712aa7ce3b
update deps with a bunch of incremental fixes 2020-04-28 12:53:28 -04:00
kaitlincarter-hc 045ee37976
[Docs] Kuberentes Guides (#7660)
* Update k8s guide titles

* Update website/pages/docs/k8s/installation/gke.mdx

Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>

Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2020-04-28 12:53:28 -04:00
Jeff Escalante 3da057018c
correct rebased k8s/eks location 2020-04-28 12:53:27 -04:00
Jeff Escalante a9ee7dd0de
anchor link analytics (#7648) 2020-04-28 12:53:27 -04:00
Jeff Escalante 4d00a1261d
add clearer safe write note to readme 2020-04-28 12:53:27 -04:00
Jeff Escalante 3b69eb3b59
add 301 to readme 2020-04-28 12:53:27 -04:00
Jeff Escalante cc19b88288
a couple more anchor link fixes 2020-04-28 12:53:26 -04:00
Jeff Escalante 62c991c66d
misc cleanup & fixes 2020-04-28 12:53:26 -04:00
Jeff Escalante 214927acee
update meta description 2020-04-28 12:53:26 -04:00
Jeff Escalante 57c5118a83
update deps, add no-index category, fix downloads page 2020-04-28 12:53:25 -04:00
Jeff Escalante 6907c7e3db
fix broken links 2020-04-28 12:53:25 -04:00
Jeff Escalante 95a4c2adde
fix homepage link, docs index 2020-04-28 12:53:25 -04:00
Jeff Escalante af07d9f006
remove guides that were moved to learn 2020-04-28 12:53:24 -04:00
Jeff Escalante 4a5d67a24e
add k8s/consul alias back, fix react prop name 2020-04-28 12:53:24 -04:00
Jeff Escalante a8a3c76983
remove 'sidebar_current' from frontmatter 2020-04-28 12:53:24 -04:00
Jeff Escalante 3da06f9786
home & use case pages 2020-04-28 12:53:23 -04:00
Jeff Escalante c11e9d38d0
one more time 2020-04-28 12:53:23 -04:00
Jeff Escalante b3604cd71b
test 2020-04-28 12:53:23 -04:00
Jeff Escalante f3718c1b2d
update to latest nextjs-scripts 2020-04-28 12:53:22 -04:00