Commit graph

12974 commits

Author SHA1 Message Date
hashicorp-ci 5de8c073cc auto-updated agent/uiserver/bindata_assetfs.go from commit 2773daedc 2020-10-19 16:35:48 +00:00
John Cowen 6537fabd89
ui: Move all our notification partials to components (#8968) 2020-10-19 17:31:01 +01:00
John Cowen 7b147c7b64
ui: Prefer using a base route class instead of reopening routes (#8965)
* Delete old controller lifecycle things we con't use anymore

* Move route url decoding to our custom route class instead of reopening
2020-10-19 17:30:30 +01:00
John Cowen 0d23c9f8cc
ui: Clean up and document environment.js file (#8966)
* Move various environment getting utils out of the main file and test/doc

* Clean up and document the entire environment file

* Tweak the environment tests to reflect what they should be

* Explicitly enable namespaces instead of defaulting

* Allow env fallback functions to be called lazily

Otherwise the executables used for finding out things would be required
during build, this way if env vars are set the executable aren't needed

* Infer booleans from the fallback and cast them as such
2020-10-19 17:29:43 +01:00
John Cowen 8d7683c7ec
ui: Remove nspace value from routeName (#8981) 2020-10-19 17:29:09 +01:00
John Cowen 31e9998a5d
ui: Update route blueprint to use native classes and consul base route (#8967) 2020-10-19 17:24:17 +01:00
hashicorp-ci 054483d5cf auto-updated agent/uiserver/bindata_assetfs.go from commit b24c2227d 2020-10-19 16:19:40 +00:00
John Cowen 9367343089
ui: Depend on less D3 (#8954)
* Only install the d3 parts we use, move dayjs to devDeps

* Replace mouse with pointer
2020-10-19 17:14:31 +01:00
hashicorp-ci f2d511b9e5 auto-updated agent/uiserver/bindata_assetfs.go from commit 02dcd422f 2020-10-19 14:50:52 +00:00
John Cowen c2f4754e55
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 ef43c1a09e auto-updated agent/uiserver/bindata_assetfs.go from commit bf8bb7415 2020-10-19 14:25:54 +00:00
John Cowen c9216448e2
Change name to slug (#8955) 2020-10-19 15:20:27 +01:00
John Cowen 2a5a126917
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 cc520e13fa
Add A10 and Checkpoint TF modules (#8950) 2020-10-15 16:11:09 -05:00
Daniel Nephin a3f922249e agent/router: refactor calculation of delay between rebalances.
This change attempts to make the delay logic more obvious by:

* remove indirection, inline a bunch of function calls
* move all the code and constants next to each other
* replace the two constant values with a single value
* reword the comments.
2020-10-15 15:59:36 -04:00
Daniel Nephin da1e45745c agent/router: Add bounds test cases 2020-10-15 14:43:29 -04:00
Daniel Nephin 9bbfc53685 router: organize the test by number of servers
And adddd some additional cases to show where the minimum value stops being used
2020-10-15 13:53:37 -04:00
Luke Kysow b4897cca6e
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 718380cebe
Update HSM version w/ Waypoint (#8971) 2020-10-15 12:07:33 -05:00
R.B. Boyer e8587c58fa
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
Daniel Nephin 2ac2503604 router: make refreshServerRebalanceTimer test a lot more strict 2020-10-15 12:05:07 -04:00
hashicorp-ci d15d2b5b2c auto-updated agent/uiserver/bindata_assetfs.go from commit d08e13e5b 2020-10-15 14:49:01 +00:00
Blake Covarrubias 281b0a0261 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 2881488225
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 1acfa2ede7 Update banner for Consul 1.9 2020-10-14 16:31:58 -07:00
Kit Patella e163099e6f
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 5825f5f6be truncate jepsen.mdx log for length 2020-10-14 13:13:38 -07:00
Jimmy Merritello 7ccba40ebb
[Website] Bump HSM version (#8957)
* Bump HSM version

* New pkg
2020-10-14 13:25:16 -05:00
Jasmine W 63280ae289 Update docs-navigation.js
Added links for API and CLI docs to sidebar
2020-10-14 14:12:50 -04:00
R.B. Boyer 7093b2ea43
docs: all intention documentation updates (#8869) 2020-10-14 10:23:05 -05:00
Preetha e7cc973c7c
Merge pull request #8920 from hashicorp/crd-docs
CRD Docs
2020-10-14 09:42:45 -05:00
Preetha 133ef84f0a
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 db56eea171
fix 1.9.0-beta1 changelog formatting (#8941) 2020-10-14 09:35:59 -05:00
hashicorp-ci e5ace85562 auto-updated agent/uiserver/bindata_assetfs.go from commit 5fd79ba40 2020-10-14 08:07:29 +00:00
John Cowen 34b9ea94d1
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 1d5fc07248
CRD docs 2020-10-13 17:00:24 -07:00
Luke Kysow 4cdb2ca066
Recommend using vault token auto-renew in 1.8.5 (#8945) 2020-10-13 16:18:19 -07:00
Brandon Romano 10c28dd56a
Merge pull request #8946 from hashicorp/pcmccarron-nia-logo-grid
Add files via upload
2020-10-13 15:18:45 -07:00
Peter M 2a2670ea39
Add files via upload
updating logo grid image
2020-10-13 15:16:34 -07:00
Daniel Nephin cc37ed1c2d Add streaming changelog file 2020-10-13 18:16:33 -04:00
Kyle Havlovitz d1402b5386
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 6ebfd29658
website: add v1.9.0-beta1 download callout (#8939) 2020-10-13 17:33:49 -04:00
Kyle Havlovitz 37f95e6e79 docs: Add a note about auto-renewing the Vault token 2020-10-13 14:25:42 -07:00
Paul Banks 25956c58dd
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 2491177d37
Remove email address (#8931) 2020-10-13 13:16:06 -05:00
Mathilde Gilles a1ec792acc Fix: service LocallyRegisteredAsSidecar property is not persisted
When a service is deregistered, we check whever matching services were
registered as sidecar along with it and deregister them as well.
To determine if a service is indeed a sidecar we check the
structs.ServiceNode.LocallyRegisteredAsSidecar property. However, to
avoid interal API leakage, it is excluded from JSON serialization,
meaning it is not persisted to disk either.
When the agent is restarted, this property lost and sidecars are no
longer deregistered along with their parent service.
To fix this, we now specifically save this property in the persisted
service file.
2020-10-13 19:38:58 +02:00
Kim Ngo 30993a7495
Add docs on what activates task execution (#8936) 2020-10-13 11:47:30 -05:00
hashicorp-ci 646e1f369c auto-updated agent/uiserver/bindata_assetfs.go from commit 7afcd7755 2020-10-13 16:43:31 +00:00
John Cowen 461523260f
ui: Autofill intention destination as opposed to source on creation (#8933) 2020-10-13 17:38:28 +01:00
lornasong d5f288a25e
Merge pull request #8935 from hashicorp/nia-docs-tfmod
Update Requirements doc: Terraform module links
2020-10-13 09:55:12 -06:00