Artur Mullakhmetov
e5b3b329ea
Add ACL CLI commands output format option.
...
Add command level formatter, that incapsulates command output printing
logiс that depends on the command `-format` option.
Move Print* functions from acl_helpers to prettyFormatter. Add jsonFormatter.
2020-03-26 19:05:10 +03:00
Daniel Nephin
759ea803e5
Merge pull request #7496 from hashicorp/dnephin/add-lint-to-makefile
...
Add lint to makefile
2020-03-26 10:48:21 -04:00
Daniel Nephin
2569b2c6dd
command/envoy: Refactor flag parsing/validation ( #7504 )
2020-03-26 08:19:21 -06:00
Daniel Nephin
02cacf8128
Merge pull request #7498 from hashicorp/dnephin/small-cleanup
...
envoy: small cleanup in cmd and server
2020-03-25 13:24:44 -04:00
Daniel Nephin
03faa55d53
Merge pull request #7502 from hashicorp/dnephin/fix-cherry-picker-2
...
ci: Move shebang to first line of cherry pick script
2020-03-25 12:00:17 -04:00
Daniel Nephin
7d491bb1b0
ci: Move shebang to first line of cherry pick script
...
Also ran shellcheck against the script and fixed the other errors
2020-03-25 11:57:56 -04:00
Matt Keeler
811aa681cd
Update CHANGELOG.md
2020-03-25 10:43:37 -04:00
Alejandro Baez
7d68d7eaa6
Add PolicyReadByName for API ( #6615 )
2020-03-25 10:34:24 -04:00
Chris Piraino
0c5c97205f
Fix flakey health check reload test ( #7490 )
...
This test would occasionally fail because we checked for a status of
"critical" initially. This races with the actual healthcheck being run
and declared passing.
We instead use a ttl health check so that we don't rely on timing at all.
2020-03-25 09:09:13 -05:00
Iryna Shustava
6865d63df1
Add missing Helm docs ( #7492 )
2020-03-24 16:06:57 -07:00
Daniel Nephin
0377b87690
Remove unnecessary methods
...
They call only a single method and add no additional functionality
2020-03-24 18:35:07 -04:00
Daniel Nephin
1021a06181
cmd: use env vars as defaults
...
Insted of setting them afterward in Run.
This change required a small re-ordering of the test to patch the
environment before calling New()
2020-03-24 18:34:46 -04:00
Daniel Nephin
f994bc9157
agent: Remove xdsServer field
...
The field is only referenced from a single method, it can be a local var
2020-03-24 18:05:14 -04:00
Daniel Nephin
874788dd66
Add lint to makefile
...
And support for setting build tags in CI lint job.
Removed the unused 'test-ci' target.
2020-03-24 16:34:02 -04:00
Daniel Nephin
3b0696565d
Merge pull request #7481 from hashicorp/dnephin/go1.14
...
ci: Upgrade Go to 1.14.1
2020-03-24 16:23:53 -04:00
Daniel Nephin
8fa1388ba3
Merge pull request #7440 from hashicorp/dnephin/golangci-lint
...
ci: Use golangci-lint for linting
2020-03-24 16:00:59 -04:00
Daniel Nephin
e3b4cd9b90
ci: Upgrade Go to 1.14.1
2020-03-24 15:55:47 -04:00
Daniel Nephin
ce85bcfba0
Merge pull request #7482 from hashicorp/dnephin/fix-cherry-pick-job
...
ci: fix cherry-pick job by using newer git
2020-03-24 14:12:21 -04:00
Daniel Nephin
30b29f3517
Merge pull request #7484 from hashicorp/dnephin/fix-envoy-tests
...
Fix tests failing on master
2020-03-23 17:15:49 -04:00
Daniel Nephin
1eab9e06f0
Fix tests failing on master
...
The default version was changed in https://github.com/hashicorp/consul/pull/7452
which caused these tests to fail.
2020-03-23 16:38:14 -04:00
Daniel Nephin
8e0df141ff
ci: fix cherry-pick job by using newer git
...
37897bfc27
made it possible to use
the -m flag with cherry-pick, even when the target is not a merge commit.
This commit changes the image used to run the cherry-pick job to alpine so that we get
a more recent version of git.
The alpine image will also download much faster when the CI node does not have the image cached.
2020-03-23 14:30:32 -04:00
kaitlincarter-hc
a0839f8360
Add link to Learn to the top, move service mesh higher up on list of features. ( #7474 )
2020-03-23 12:10:42 -05:00
Daniel Nephin
b347fab6f7
Merge pull request #7466 from hashicorp/dnephin/support-cherry-pick-merge-PRs
...
ci: support cherry-picking of merge PRs
2020-03-18 13:12:42 -04:00
Daniel Nephin
f91ab0ccb7
ci: support cherry-picking of merge PRs
...
This change assumes that it is always safe to use the first commit
parent as the mainline. I believe this assumption is safe with a
github merge workflow.
2020-03-18 12:38:04 -04:00
Daniel Nephin
221aaa9651
Merge pull request #7458 from hashicorp/dnephin/small-doc-improvements
...
website/docs: small doc improvements to CLI reference
2020-03-17 18:35:44 -04:00
Hans Hasselberg
92a9bf1e13
envoy: default to 1.13.1 ( #7452 )
2020-03-17 22:23:42 +01:00
Kim Ngo
5f21b33e29
Update CHANGELOG.md
2020-03-17 15:02:56 -05:00
Hans Hasselberg
672db9bef6
docs: fix filenames ( #7453 )
2020-03-17 21:00:45 +01:00
Kim Ngo
9e8eb7896f
agent/xds: Update mesh gateway to use service router timeout ( #7444 )
...
* website/connect/proxy/envoy: specify timeout precedence for services behind mesh gateway
2020-03-17 14:50:14 -05:00
Daniel Nephin
4d485649d1
ci: Use golangci-lint for linting
...
Using golangci-lint has a number of advantages:
- adding new linters becomes much easier, its a couple lines of yaml config
instead of more bash scripting
- it enables whitelisting of issues using inline comments or regex
- when running multiple linters less work is done. The parsed source can be reused
by multiple linters
- linters are run in parallel to reduce CI runtime.
2020-03-17 13:43:40 -04:00
Chris Piraino
6f84d27bf1
Update CHANGELOG.md
2020-03-17 09:56:20 -05:00
Chris Piraino
f13d6ca812
Log "vew version available" message at info level ( #7462 )
2020-03-17 09:53:15 -05:00
Pierre Souchay
48c5785f43
docs: fixed typo on MIME in Changelog ( #7461 )
2020-03-17 13:44:55 +01:00
Daniel Nephin
02fe105ac0
website/docs: small doc improvements to CLI reference
...
Small improvements to the join docs.
The help text for `lock` says -try is deprecated and replaced with -timeout.
Update the docs to match.
2020-03-16 17:54:45 -04:00
Hans Hasselberg
99d6d0d7a4
Update CHANGELOG.md to include 1.7.2
2020-03-16 22:08:40 +01:00
Hans Hasselberg
90a234d242
docs: update website version ( #7456 )
2020-03-16 22:03:36 +01:00
Matt Keeler
ca96930283
Don’t pass `-u` to get get inside Go build image dockerfile ( #7455 )
2020-03-16 15:26:07 -04:00
Matt Keeler
af8dddfbfd
Update CHANGELOG.md
2020-03-16 12:59:28 -04:00
Matt Keeler
58e2969fc1
Fix ACL mode advertisement and detection ( #7451 )
...
These changes are necessary to ensure advertisement happens correctly even when datacenters are connected via network areas in Consul enterprise.
This also changes how we check if ACLs can be upgraded within the local datacenter. Previously we would iterate through all LAN members. Now we just use the ServerLookup type to iterate through all known servers in the DC.
2020-03-16 12:54:45 -04:00
Matt Keeler
ef944f6c3d
Update namespace docs for some new CLI commands ( #7435 )
...
Co-Authored-By: Hans Hasselberg <me@hans.io>
2020-03-16 09:42:39 -04:00
Charlie Jones
0fc91ca047
docs: fix typo in consul-template tutorial ( #7454 )
2020-03-16 14:04:28 +01:00
Daniel Nephin
c4f9f8e8aa
Merge pull request #7438 from hashicorp/dnephin/remove-restore-cache
...
ci: Remove consul-modcache-v1 from ci config
2020-03-13 12:07:39 -04:00
Freddy
e5ba744634
Update CHANGELOG.md
2020-03-12 12:41:41 -06:00
John Cowen
621e7bb11a
Update CHANGELOG.md
2020-03-12 18:31:51 +00:00
Alvin Huang
3e0ecc096c
cherry pick 'docs-cherrypick' label rather than 'docs' to stable-website ( #7443 )
2020-03-12 13:22:51 -04:00
Daniel Nephin
ebe622b4a3
ci: Remove restore_cache
...
As of go1.13 it is faster to download dependencies from the module
proxy service, than to download a cached /go/pkg/mod
2020-03-11 15:50:42 -04:00
Freddy
8a7ff69b19
Update MSP token and filtering ( #7431 )
2020-03-11 12:08:49 -06:00
Alvin Huang
2622f2644a
add Authorization header in GitHub API call ( #7436 )
2020-03-11 13:25:15 -04:00
Hans Hasselberg
6a55f70fa6
tls: remove old ciphers ( #7282 )
...
Following advice from:
https://github.com/ssllabs/research/wiki/SSL-and-TLS-Deployment-Best-Practices , this PR removes old ciphers.
2020-03-10 21:44:26 +01:00
R.B. Boyer
7315147313
update changelog
2020-03-10 14:47:13 -05:00