Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Gill committed Jul 5, 2023
1 parent 5b68f61 commit 012bc97
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions charts/element-call/tests/service_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
suite: test service
templates:
- templates/service.yaml
tests:
- it: should pass
release:
name: element-call
set:
service:
type: ClusterIP
asserts:
- contains:
path: spec.ports
content:
name: http
port: 8080
protocol: TCP
targetPort: http
- equal:
path: spec.type
value: ClusterIP
- equal:
path: spec.selector
value:
app.kubernetes.io/name: element-call
app.kubernetes.io/instance: element-call

0 comments on commit 012bc97

Please sign in to comment.