John Murret
0f3cc3d631
fix formatting issue in envoy bootstrapping. ( #20036 )
2023-12-21 15:18:11 -07:00
John Murret
a19df32fa5
NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options. ( #20010 )
...
* NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options.
* add changelog
2023-12-21 15:41:05 -05:00
wangxinyi7
013bcefe5c
grpc client in tls mode ( #19680 )
...
* client in tls mode
2023-12-19 10:04:55 -08:00
John Murret
a995505976
NET-6317 - update usage of deprecated fields: http2_protocol_options and access_log_path ( #19940 )
...
* updating usage of http2_protocol_options and access_log_path
* add changelog
* update template for AdminAccessLogConfig
* remove mucking with AdminAccessLogConfig
2023-12-14 13:08:53 -07:00
Tauhid Anjum
ab68ddff91
NET-6784: Adding cli command to list exported services to a peer ( #19821 )
...
* Adding cli command to list exported services to a peer
* Changelog added
* Addressing docs comments
* Adding test case for no exported services scenario
2023-12-07 12:55:15 +05:30
Ronald
dc02fa695f
[NET-6251] Nomad client templated policy ( #19827 )
2023-12-06 10:32:12 -05:00
Ashesh Vidyut
6c88122fdb
NET-3860 - [Supportability] consul troubleshoot CLI for verifying ports ( #18329 )
...
* init
* udp
* added support for custom port
* removed grpc
* rename constants
* removed udp
* added change log
* fix synopsis
* pr comment chagnes
* make private
* added tests
* added one more test case
* defer close results channel
* removed unwanted comment
* licence update
* updated docs
* fix indent
* fix path
* example update
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update command/troubleshoot/ports/troubleshoot_ports.go
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/index.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update command/troubleshoot/ports/troubleshoot_ports.go
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update command/troubleshoot/ports/troubleshoot_ports.go
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* Update website/content/commands/troubleshoot/ports.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
* pr comment resolved
---------
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-12-06 11:12:15 +05:30
wangxinyi7
9dc24448ae
grpc client default in plaintext mode ( #19412 )
...
* grpc client default in plaintext mode
* renaming and fix linter
* update the description and remove the context
* trim tests
2023-11-28 10:58:57 -08:00
Ronald
eded2ff347
[NET-6249] Add templated policies description ( #19735 )
2023-11-27 10:34:22 -05:00
Ronald
c1dbf00a85
NET-6251 API gateway templated policy ( #19728 )
2023-11-24 17:55:05 +00:00
Semir Patel
7cf48bcbe1
Fix failing test in command/resource/read ( #19722 )
2023-11-22 17:04:54 +00:00
cskh
d3bf47fe08
cli: add a string method to gvk struct ( #19696 )
2023-11-21 11:29:00 -05:00
Ashvitha
bfb3a43648
Default "stats_flush_interval" to 1 minute for Consul Telemetry Collector ( #19663 )
...
* Set default of 1m for StatsFlushInterval when the collector is setup
* Add documentation on the stats_flush_interval value
* Do not default in two conditions 1) preconfigured sinks exist 2) preconfigured flush interval exists
* Fix wording of docs
* Add changelog
* Fix docs
2023-11-20 16:18:30 -05:00
Dhia Ayachi
f027d61014
fix a panic in the CLI when deleting an acl policy with an unknown name ( #19679 )
...
* fix a panic in the CLI when deleting an acl policy with an unknown name
* add changelog
2023-11-20 09:47:44 -05:00
Mike Nomitch
302f994410
[NET-6640] Adds "Policy" BindType to BindingRule ( #19499 )
...
feat: add bind type of policy
Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
2023-11-20 13:11:08 +00:00
John Murret
2591318c82
Skip tests with p95 greater than 30 seconds outside of main and release branches. ( #19628 )
...
Skip tests with p95 greater than 30 seconds.
2023-11-15 13:43:33 -07:00
Dan Stough
20f43d81bf
test: update certs for 10 year expiry ( #19481 )
2023-11-07 14:57:52 -05:00
Derek Menteer
8f4c43727d
[NET-5916] Fix locality-aware routing config and tests (CE) ( #19483 )
...
Fix locality-aware routing config and tests
2023-11-02 14:05:06 -05:00
Ronald
ea91e58045
Stop use of templated-policy and templated-policy-file simultaneously ( #19389 )
2023-10-26 18:15:12 +00:00
wangxinyi7
9417fc2867
gvk partial inference ( #19058 )
...
* gvk partial inference
2023-10-24 08:53:51 -07:00
Iryna Shustava
2ea33e9b86
mesh: add more validations to Destinations resource ( #19202 )
2023-10-13 16:52:20 -06:00
Poonam Jadhav
a50a9e984a
Net-5771/apply command stdin input ( #19084 )
...
* feat: apply command now accepts input from stdin
* feat: accept first positional non-flag file path arg
* fix: detect hcl format
2023-10-13 09:24:16 -04:00
R.B. Boyer
5146810acc
cli: do not hide the resource HCL parsing error and replace it with a JSON error ( #19107 )
...
We serially attempt to decode resources in the consul resource apply command
using HCL and then falling back on JSON. This causes the HCL errors to be
dropped completely in the case where the HCL decode failed due to a typo
instead of it actually being JSON instead.
This PR proposes sniffing to see if the first non-whitespace character in the
input is { and if so treat it as JSON, otherwise as HCL and not
double-decode on error.
2023-10-11 11:37:50 -05:00
Chris S. Kim
92ce814693
Remove old build tags ( #19128 )
2023-10-10 10:58:06 -04:00
Poonam Jadhav
6c92dd1359
NET-5600/container-test-acl-enabled ( #18887 )
...
* feat: add container tests for resource http api with acl enabled
* refactor: clean up
2023-10-03 10:55:31 -04:00
Iryna Shustava
3ea6afb4d4
mesh: rename Upstreams and UpstreamsConfiguration to Destinations* ( #18995 )
2023-09-25 12:03:45 -06:00
Dhia Ayachi
d3bb5ff21a
Add CLI support for json ( #18991 )
...
* add cli support for json format
* add tests for json parsing
* make owner and id pointers.
* add copyright header
* remove print
---------
Co-authored-by: Poonam Jadhav <poonam.jadhav@hashicorp.com>
2023-09-22 20:51:18 +00:00
Poonam Jadhav
4e77482e95
feat: remove resource api client from api module ( #18984 )
...
* feat: remove resource api client from api module
* fix: go mod clean up
2023-09-22 16:32:08 -04:00
Iryna Shustava
d88888ee8b
catalog,mesh,auth: Bump versions to v2beta1 ( #18930 )
2023-09-22 10:51:15 -06:00
John Landa
9eaa8eb026
dns token ( #17936 )
...
* dns token
fix whitespace for docs and comments
fix test cases
fix test cases
remove tabs in help text
Add changelog
Peering dns test
Peering dns test
Partial implementation of Peered DNS test
Swap to new topology lib
expose dns port for integration tests on client
remove partial test implementation
remove extra port exposure
remove changelog from the ent pr
Add dns token to set-agent-token switch
Add enterprise golden file
Use builtin/dns template in tests
Update ent dns policy
Update ent dns template test
remove local gen certs
fix templated policy specs
* add changelog
* go mod tidy
2023-09-20 15:50:06 -06:00
Ronald
c8299522b5
[NET-5332] Add nomad server templated policy ( #18888 )
...
* [NET-5332] Add nomad server templated policy
* slksfd
2023-09-20 12:10:55 -04:00
Ashesh Vidyut
6fd33ba30d
NET-4519 Collecting journald logs in "consul debug" bundle ( #18797 )
...
* debug since
* fix docs
* chagelog added
* fix go mod
* debug test fix
* fix test
* tabs test fix
* Update .changelog/18797.txt
Co-authored-by: Ganesh S <ganesh.seetharaman@hashicorp.com>
---------
Co-authored-by: Ganesh S <ganesh.seetharaman@hashicorp.com>
2023-09-19 08:46:50 +05:30
Chris S. Kim
91e6c3a82f
Remove flaky test assertions ( #18870 )
2023-09-18 15:56:23 -07:00
Ronald
49cb84297f
Move ACL templated policies to hcl files ( #18853 )
2023-09-18 17:10:35 -04:00
Poonam Jadhav
bf4e0b1aa9
fix: provide meaningful error messages and add test ( #18772 )
...
* fix: provide meaningful error messages and add test
* fix: return error instead of warning when extra args are provided
2023-09-18 09:09:31 -04:00
Chris S. Kim
edf56ee970
Fix nondeterministic test ( #18828 )
2023-09-15 15:23:49 -04:00
James Hartig
b2e21c103f
consul operator raft transfer-leader should send the id ( #17107 )
...
Fixes #16955
Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2023-09-15 14:38:59 -04:00
Ronald
aff13cd4c2
Use embedded strings for templated policies ( #18829 )
2023-09-15 13:49:22 -04:00
Ronald
e24b3d9b3f
fix templated policy cli output ( #18821 )
2023-09-15 14:20:44 +00:00
R.B. Boyer
66e1cdf40c
mesh: Wire ComputedRoutes into the ProxyStateTemplate via the sidecar controller ( #18752 )
...
Reworks the sidecar controller to accept ComputedRoutes as an input and use it to generate appropriate ProxyStateTemplate resources containing L4/L7 mesh configuration.
2023-09-14 17:19:04 -05:00
Ronald
1afeb6e040
[NET-5334] Added CLI commands for templated policies ( #18816 )
2023-09-14 20:14:55 +00:00
Ronald
802122640b
[NET-5329] use acl templated policy under the hood for node/service identities ( #18813 )
2023-09-14 14:36:34 -04:00
wangxinyi7
426c906ee1
delete command ready ( #18679 )
...
* delete command for resource management
2023-09-13 11:48:40 -07:00
Dhia Ayachi
b1688ad856
Run copyright after running deep-copy as part of the Makefile/CI ( #18741 )
...
* execute copyright headers after performing deep-copy generation.
* fix copyright install
* Apply suggestions from code review
Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
* Apply suggestions from code review
Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
* rename steps to match codegen naming
* remove copywrite install category
---------
Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
2023-09-11 13:50:52 -04:00
Poonam Jadhav
48ef8b679c
Net-4292/list command ( #18649 )
...
* feat: implement list command
* refactor: apply command file parsing
2023-09-11 10:06:00 -04:00
Ronald
40d7ebc318
[NET-5330] Support templated policies in Binding rules ( #18719 )
...
* [NET-5330] Support templated policies in Binding rules
* changelog for templated policy support in binding rules
2023-09-08 14:39:09 -04:00
Poonam Jadhav
235988b3bc
Net-2713/resource apply command ( #18610 )
...
* feat: implement apply command
* fix: resolve lint issues
* refactor: use fixed types
* fix: ci lint failures after main rebase
2023-09-08 12:20:14 -04:00
Ronald
bbef879f85
[NET-5325] ACL templated policies support in tokens and roles ( #18708 )
...
* [NET-5325] ACL templated policies support in tokens and roles
- Add API support for creating tokens/roles with templated-policies
- Add CLI support for creating tokens/roles with templated-policies
* adding changelog
2023-09-08 12:45:24 +00:00
Ashesh Vidyut
60b0485497
Removed nodename and status from consul snapshot save -append-filename command and using leader version in version ( #18680 )
...
* init
* fix tests
* fix tests lint
* fix api call inside dc
* updated doc
* address comments
2023-09-06 15:49:25 +05:30
wangxinyi7
df9d12a56a
Net 2714/xw cli read command ( #18462 )
...
enable `consul resource read` command in cli
2023-09-05 09:17:19 -07:00