mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
feat!: Rename common-chart to app-template
This commit is contained in:
parent
567577762f
commit
6a2bee4036
48 changed files with 70 additions and 70 deletions
29
charts/other/app-template/tests/service/names_test.yaml
Normal file
29
charts/other/app-template/tests/service/names_test.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
suite: service names
|
||||
templates:
|
||||
- common.yaml
|
||||
tests:
|
||||
- it: default should pass
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 2
|
||||
- documentIndex: &ServiceDocument 1
|
||||
isKind:
|
||||
of: Service
|
||||
- documentIndex: *ServiceDocument
|
||||
equal:
|
||||
path: metadata.name
|
||||
value: RELEASE-NAME-app-template
|
||||
|
||||
- it: custom name suffix should pass
|
||||
set:
|
||||
service:
|
||||
main:
|
||||
nameOverride: http
|
||||
asserts:
|
||||
- documentIndex: &ServiceDocument 1
|
||||
isKind:
|
||||
of: Service
|
||||
- documentIndex: *ServiceDocument
|
||||
equal:
|
||||
path: metadata.name
|
||||
value: RELEASE-NAME-app-template-http
|
Loading…
Add table
Add a link
Reference in a new issue