Skip to content

Commit

Permalink
fix: Update Github EventSource Example to include port name (#1590)
Browse files Browse the repository at this point in the history
* Added name and port

* Update github.yaml

This is my commit message

Signed-off-by: Chris Cutajar <christopher.cutajar@elastic.co>
  • Loading branch information
christophercutajar committed Feb 3, 2022
1 parent 05a697c commit c0a28a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/event-sources/github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ metadata:
spec:
service:
ports:
- port: 12000
- name: example
port: 12000
targetPort: 12000
- name: example-without-api-credentials
port: 13000
targetPort: 13000
github:
example:
repositories:
Expand Down Expand Up @@ -102,4 +106,4 @@ spec:
# key: secret
# insecure: true
# active: true
# contentType: "json"
# contentType: "json"

0 comments on commit c0a28a6

Please sign in to comment.