John Maguire
ec8d1f75c7
NET-3860 - [Supportability] consul troubleshoot CLI for verifying por… ( #20261 )
...
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
* Update website/content/commands/troubleshoot/ports.mdx
* Update command/troubleshoot/ports/troubleshoot_ports.go
* Update website/content/commands/troubleshoot/ports.mdx
* Update website/content/commands/troubleshoot/index.mdx
* Update command/troubleshoot/ports/troubleshoot_ports.go
* Update command/troubleshoot/ports/troubleshoot_ports.go
* Update website/content/commands/troubleshoot/ports.mdx
* Update website/content/commands/troubleshoot/ports.mdx
* Update website/content/commands/troubleshoot/ports.mdx
* pr comment resolved
---------
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2024-01-18 15:44:44 -06:00
hc-github-team-consul-core
cc9b6e2a02
Backport of fix formatting issue in envoy bootstrapping. into release/1.17.x ( #20043 )
...
backport of commit c4c2ddef30
Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-21 16:20:45 -07:00
hc-github-team-consul-core
4208875d5b
Backport of NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options. into release/1.17.x ( #20033 )
...
* backport of commit 79711465e0
* backport of commit c9e5801e7e
---------
Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-21 15:16:23 -07:00
hc-github-team-consul-core
94737e0718
Backport of NET-6317 - update usage of deprecated fields: http2_protocol_options and access_log_path into release/1.17.x ( #19953 )
...
* backport of commit 4d45c672b3
* backport of commit 1e8797522e
* backport of commit 691dab71bd
* backport of commit 924d61fc04
---------
Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-14 14:10:25 -07:00
hc-github-team-consul-core
90638a4b6a
Backport of NET-6784: Adding cli command to list exported services to a peer into release/1.17.x ( #19851 )
...
* backport of commit 53f3d35d5f
* backport of commit f75f976006
* backport of commit f6c7fceafa
* backport of commit 6d956180fd
---------
Co-authored-by: Tauhid <tauhidanjum@gmail.com>
2023-12-07 13:40:42 +05:30
hc-github-team-consul-core
1eeae85806
Backport of Default "stats_flush_interval" to 1 minute for Consul Telemetry Collector into release/1.17.x ( #19703 )
...
* backport of commit 129d6bf20a
* backport of commit 5d597a3b53
* backport of commit a6e8c5a935
* backport of commit 00c720748f
* backport of commit 74e632ea57
* backport of commit 4a9a7a1f83
---------
Co-authored-by: Ashvitha Sridharan <ashvitha.sridharan@hashicorp.com>
Co-authored-by: John Buonassisi <john.buonassisi@hashicorp.com>
2023-12-06 13:18:15 -08:00
hc-github-team-consul-core
44a5abac07
Backport of cli: add a string method to gvk struct into release/1.17.x ( #19707 )
...
backport of commit a94fcc7077
Co-authored-by: cskh <hui.kang@hashicorp.com>
2023-12-06 18:17:23 +00:00
hc-github-team-consul-core
b1acee8f94
Backport of [NET-6251] Nomad client templated policy into release/1.17.x ( #19839 )
...
backport of commit 9a8d0c848b
Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
2023-12-06 11:18:33 -05:00
hc-github-team-consul-core
6ff06bd08d
Backport of [NET-6249] Add templated policies description into release/1.17.x ( #19736 )
...
backport of commit 5cf44bea20
Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
2023-11-27 16:43:14 -05:00
Dhia Ayachi
89140dbdb8
[1.17.x backport] Fix panic policy delete ( #19732 )
...
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-27 12:31:03 -05:00
hc-github-team-consul-core
d974bf4028
Backport of NET-6251 API gateway templated policy into release/1.17.x ( #19729 )
...
backport of commit c4408eaae1
Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
2023-11-24 13:40:58 -05:00
hc-github-team-consul-core
099e48a885
Backport of test: update certs for 10 year expiry into release/1.17.x ( #19561 )
...
backport of commit d6283a9352
Co-authored-by: DanStough <dan.stough@hashicorp.com>
2023-11-07 20:20:35 +00:00
hc-github-team-consul-core
3e0240caba
Backport of [NET-5916] Fix locality-aware routing config and tests (CE) into release/1.17.x ( #19491 )
...
backport of commit c0203fbcb5
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-11-03 17:06:57 -05:00
wangxinyi7
7be5fd7aff
backport a merged PR: gvk partial inference ( #19058 ) ( #19490 )
...
gvk partial inference (#19058 )
* gvk partial inference
2023-11-02 13:48:37 -07:00
hc-github-team-consul-core
ebc7d4ee04
Backport of Stop use of templated-policy and templated-policy-file simultaneously into release/1.17.x ( #19390 )
...
backport of commit 2c5af2ffd8
Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
2023-10-26 19:02:47 +00:00
hc-github-team-consul-core
41a986c6e0
Backport of mesh: add more validations to Destinations resource into release/1.17.x ( #19211 )
...
backport of commit f6c7c4ddc1
Co-authored-by: Iryna Shustava <iryna@hashicorp.com>
2023-10-13 23:08:06 +00: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
Dan Stough
ac867d67e8
test: fix snapshot save w/ append test for ENT ( #18656 )
2023-09-01 22:22:09 +00:00
skpratt
cd3bfc5508
remove stray FIPS file ( #18651 )
2023-09-01 15:12:10 -05:00
Ashesh Vidyut
78e3cbe156
NET 1594 - Snapshot Agent Filename Should Include Consul Version / Datacenter ( #18625 )
...
* init
* tests added and few fixes
* revert arg message
* changelog added
* removed var declaration
* fix CI
* fix test
* added node name and status
* updated save.mdx
* added example
* fix tense
* fix description
2023-09-01 10:23:44 +05:30
Ashesh Vidyut
2cc2c6b88d
Fix Windows FIPS Build ( #18357 )
...
* Fix Windows FIPS Build
* create new file for windows arm
* removed build tag
* fix buidl tags
* fix multiple go build
2023-08-24 14:09:21 +00:00
Semir Patel
53e28a4963
OSS -> CE (community edition) changes ( #18517 )
2023-08-22 09:46:03 -05:00