-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting custom-entries-file in formats
This commit adds the the flag customEntriesFormat that sets the custom entries file format (json/yaml/csv). We also include 3 example files to help the user to create his own custom file, and they'll be used in the integration test. Signed-off-by: Lior Noy <[email protected]>
- Loading branch information
Showing
10 changed files
with
137 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Direction,Protocol,Port,Namespace,Service,Pod,Container,NodeRole,Optional | ||
ingress,TCP,9050,example-namespace,example-service,example-pod,example-container,master,false | ||
ingress,UDP,9051,example-namespace2,example-service2,example-pod2,example-container2,woker,false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"direction": "ingress", | ||
"protocol": "TCP", | ||
"port": "9050", | ||
"namespace": "example-namespace", | ||
"service": "example-service", | ||
"pod": "example-pod", | ||
"container": "example-container", | ||
"nodeRole": "master", | ||
"optional": false | ||
}, | ||
{ | ||
"direction": "ingress", | ||
"protocol": "UDP", | ||
"port": "9051", | ||
"namespace": "example-namespace2", | ||
"service": "example-service2", | ||
"pod": "example-pod2", | ||
"container": "example-container2", | ||
"nodeRole": "worker", | ||
"optional": false | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- container: example-container | ||
direction: ingress | ||
namespace: example-namespace | ||
nodeRole: master | ||
optional: false | ||
pod: example-pod | ||
port: "9050" | ||
protocol: TCP | ||
service: example-service | ||
- container: example-container2 | ||
direction: ingress | ||
namespace: example-namespace2 | ||
nodeRole: worker | ||
optional: false | ||
pod: example-pod2 | ||
port: "9051" | ||
protocol: UDP | ||
service: example-service2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters