Daniel Nephin
0d4fa882b3
lib/ttlcache: unexport key and additional godoc
2020-10-20 19:16:03 -04:00
Daniel Nephin
c17baadbf8
lib/ttlcache: add a constant for NotIndexed
2020-10-20 19:10:20 -04:00
Daniel Nephin
6c09ab3dd8
cache: fix a bug with Prepopulate
...
Prepopulate was setting entry.Expiry.HeapIndex to 0. Previously this would result in a call to heap.Fix(0)
which wasn't correct, but was also not really a problem because at worse it would re-notify.
With the recent change to extract cachettl it was changed to call Update(idx), which would have updated
the wrong entry.
A previous commit removed the setting of entry.Expiry so that the HeapIndex would be reported
as -1, and this commit adds a test and handles the -1 heap index.
2020-10-20 19:10:20 -04:00
Daniel Nephin
bbb816aa8a
lib/ttlcache: extract package from agent/cache
2020-10-20 19:10:20 -04:00
Daniel Nephin
c4122edd22
cache: export ExpiryHeap
...
and hide internal methods on an unexported type, so that when it is extrated those methods are not exported.
2020-10-20 19:10:20 -04:00
Daniel Nephin
343d133183
cache: Refactor heap.notify to make it more explicit.
...
And remove duplicate notifications.
Instead of performing the check in the heap implementation, check the
index in the higher level interface (Add,Remove,Update) and notify if one
of the relevant indexes is 0.
2020-10-20 19:10:20 -04:00
Daniel Nephin
499f2822cf
cache: Move more of the expiryLoop into the Heap
2020-10-20 19:10:20 -04:00
Daniel Nephin
2cdc90e01b
cache: extract cache eviction heap
...
Start creating an interface that doesn't require using heap and hides more of the
entry internals.
2020-10-20 19:10:19 -04:00
hashicorp-ci
6513faf14c
auto-updated agent/uiserver/bindata_assetfs.go from commit 02dcd422f
2020-10-19 14:50:52 +00:00
John Cowen
02dcd422fe
ui: Change text around L7 permissions to app aware ( #8963 )
...
...also as a consequence of this we also moved around some of the CSS
2020-10-19 15:45:50 +01:00
hashicorp-ci
8ff996145a
auto-updated agent/uiserver/bindata_assetfs.go from commit bf8bb7415
2020-10-19 14:25:54 +00:00
John Cowen
bf8bb7415b
Change name to slug ( #8955 )
2020-10-19 15:20:27 +01:00
John Cowen
9586a47065
ui: Upgrade ember-power-select and ember-basic-dropdown ( #8922 )
...
This removes some {{-in-element}} deprecation errors
2020-10-19 15:18:14 +01:00
Sabeen Syed
a3f8aa20dd
Add A10 and Checkpoint TF modules ( #8950 )
2020-10-15 16:11:09 -05:00
Luke Kysow
812fe06d6c
Update to CRD docs ( #8956 )
...
* Update to CRD docs
* Update website/pages/docs/k8s/crds.mdx
* Modify proxy default and service default protocols
Carry over from previous PR that I forgot to submit a review/suggestion to, TCP and HTTP are not valid protocols for Proxy Defaults and Service Defaults
kubectl apply -f sdefault.yml
Error from server: error when creating "sdefault.yml": admission webhook "mutate-servicedefaults.consul.hashicorp.com" denied the request: servicedefaults.consul.hashicorp.com "your-service-name" is invalid: spec.expose.paths[0].protocol: Invalid value: "tcp": must be one of "http", "http2"
kubectl apply -f sdefault.yml
Error from server: error when creating "sdefault.yml": admission webhook "mutate-servicedefaults.consul.hashicorp.com" denied the request: servicedefaults.consul.hashicorp.com "your-service-name" is invalid: spec.expose.paths[0].protocol: Invalid value: "tcp": must be one of "http", "http2"
Co-authored-by: David Yu <dyu@hashicorp.com>
2020-10-15 10:35:26 -07:00
Jimmy Merritello
4d535efb49
Update HSM version w/ Waypoint ( #8971 )
2020-10-15 12:07:33 -05:00
R.B. Boyer
a68c0ce1e7
speed up envoy integ tests by not politely stopping containers before destroying them ( #8969 )
...
In local testing this sped up the stop_services call from 11s to 1s per test.
2020-10-15 11:51:37 -05:00
hashicorp-ci
40c16f6ee4
auto-updated agent/uiserver/bindata_assetfs.go from commit d08e13e5b
2020-10-15 14:49:01 +00:00
Blake Covarrubias
d08e13e5bd
Fix robots.txt to disallow indexing of all paths
...
The path pattern specified in allow / deny lines should start with a
forward slash to designate the root.
[1] https://tools.ietf.org/html/draft-koster-rep-00#section-2.2
[2] https://developers.google.com/search/reference/robots_txt
2020-10-15 07:44:35 -07:00
Brandon Romano
cea99991b2
Merge pull request #8962 from hashicorp/br.19-banner
...
Update banner for Consul 1.9
2020-10-14 16:34:57 -07:00
Brandon Romano
b5ea5d0841
Update banner for Consul 1.9
2020-10-14 16:31:58 -07:00
Kit Patella
0e01772b58
Merge pull request #8960 from hashicorp/mkcp/docs/truncate-old-jepsen-log
...
truncate jepsen.mdx log for length
2020-10-14 13:58:30 -07:00
Kit Patella
dc8beffb48
truncate jepsen.mdx log for length
2020-10-14 13:13:38 -07:00
Jimmy Merritello
81554b2edf
[Website] Bump HSM version ( #8957 )
...
* Bump HSM version
* New pkg
2020-10-14 13:25:16 -05:00
R.B. Boyer
f0d47ded95
docs: all intention documentation updates ( #8869 )
2020-10-14 10:23:05 -05:00
Preetha
891c4026c1
Merge pull request #8920 from hashicorp/crd-docs
...
CRD Docs
2020-10-14 09:42:45 -05:00
Preetha
ccb3f4e67e
Merge pull request #8947 from hashicorp/dnephin/changelog-for-streaming
...
Add streaming changelog file
2020-10-14 09:42:10 -05:00
R.B. Boyer
3b71b5e415
fix 1.9.0-beta1 changelog formatting ( #8941 )
2020-10-14 09:35:59 -05:00
hashicorp-ci
55c89133ba
auto-updated agent/uiserver/bindata_assetfs.go from commit 5fd79ba40
2020-10-14 08:07:29 +00:00
John Cowen
5fd79ba407
ui: Move to a nested folder structure for Consul prefixed components ( #8937 )
...
* ui: Move all consul-* components to nested consul/* components
* Move tomography-graph
* Remove old basic rendering tests
2020-10-14 09:03:39 +01:00
Luke Kysow
3ba38fb4be
CRD docs
2020-10-13 17:00:24 -07:00
Luke Kysow
bfcd9a5ee3
Recommend using vault token auto-renew in 1.8.5 ( #8945 )
2020-10-13 16:18:19 -07:00
Brandon Romano
5861402d51
Merge pull request #8946 from hashicorp/pcmccarron-nia-logo-grid
...
Add files via upload
2020-10-13 15:18:45 -07:00
Peter M
05665e0b84
Add files via upload
...
updating logo grid image
2020-10-13 15:16:34 -07:00
Daniel Nephin
e9d50433ba
Add streaming changelog file
2020-10-13 18:16:33 -04:00
Kyle Havlovitz
659c4fa941
Merge pull request #8943 from hashicorp/vault-renew-docs
...
docs: Add a note about auto-renewing the Vault token
2020-10-13 14:36:44 -07:00
Mike Morris
1b2518a358
website: add v1.9.0-beta1 download callout ( #8939 )
2020-10-13 17:33:49 -04:00
Kyle Havlovitz
2b0713b34d
docs: Add a note about auto-renewing the Vault token
2020-10-13 14:25:42 -07:00
Paul Banks
f1fd722b81
Add ui metrics config docs ( #8921 )
...
* Add ui metrics docs
* Update website/pages/docs/agent/options.mdx
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
2020-10-13 22:11:12 +01:00
Sabeen Syed
52498e8d27
Remove email address ( #8931 )
2020-10-13 13:16:06 -05:00
Kim Ngo
fa76fb40f6
Add docs on what activates task execution ( #8936 )
2020-10-13 11:47:30 -05:00
hashicorp-ci
5ede07e0e7
auto-updated agent/uiserver/bindata_assetfs.go from commit 7afcd7755
2020-10-13 16:43:31 +00:00
John Cowen
7afcd7755d
ui: Autofill intention destination as opposed to source on creation ( #8933 )
2020-10-13 17:38:28 +01:00
lornasong
8611e762d2
Merge pull request #8935 from hashicorp/nia-docs-tfmod
...
Update Requirements doc: Terraform module links
2020-10-13 09:55:12 -06:00
Lorna Song
1b4d76da52
Update Requirements doc: Terraform module links
...
Update "Using Terraform Modules" with latest module links from partners
2020-10-13 09:26:39 -06:00
Kim Ngo
9cd6b605cb
Include integration docs for NIA with consul-terraform-sync label ( #8926 )
2020-10-13 09:47:51 -05:00
Brandon Romano
c513d7ba29
Merge pull request #8929 from hashicorp/pcmccarron-service-mesh-page-updates
...
Service mesh page updates
2020-10-12 20:53:59 -07:00
Brandon Romano
d39830a667
Plugs in proper links for NIA page
2020-10-12 20:39:34 -07:00
Brandon Romano
2f4f93a383
Fix failed build
2020-10-12 19:38:43 -07:00
Peter M
cb84904afb
Update network-infrastructure-automation.jsx
2020-10-12 19:20:48 -07:00