Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevillemont committed May 10, 2024
1 parent bc5c29f commit d5d1af2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions charts/bookstack/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: mybook
set:
service:
type: ClusterIP
asserts:
- contains:
path: spec.ports
content:
name: http
port: 80
protocol: TCP
targetPort: http
- equal:
path: spec.type
value: ClusterIP
- equal:
path: spec.selector
value:
app.kubernetes.io/name: bookstack
app.kubernetes.io/instance: mybook

0 comments on commit d5d1af2

Please sign in to comment.