helm-charts/charts/other/app-template/tests/container/image_test.yaml
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 923ef40a39
feat: Release common version 1.4.0 (#130)
* fix(common):: Fix Integer style image tags (fixes #128)
* feat(common): Reload pod on secret change (#129)
* feat(common): Update code-server to v4.11.0
* fix(common): quote command and args strings (#124)
* feat(common): Update gluetun to v3.33.0

---------

Signed-off-by: angelnu <git@angelnu.com>
Signed-off-by: Maurits van Mastrigt <maurits@funda.nl>
Co-authored-by: Angel Nunez Mencias <github@angelnu.com>
Co-authored-by: Maurits <75321636+maurits-funda@users.noreply.github.com>
2023-04-12 19:30:47 +02:00

31 lines
685 B
YAML

suite: container image tag
templates:
- common.yaml
tests:
- it: string tag should pass
set:
image:
repository: b4bz/homer
tag: latest
asserts:
- documentIndex: 0
isKind:
of: Deployment
- documentIndex: 0
equal:
path: spec.template.spec.containers[0].image
value: b4bz/homer:latest
- it: integer tag should pass
set:
image:
repository: b4bz/homer
tag: 1.23
asserts:
- documentIndex: 0
isKind:
of: Deployment
- documentIndex: 0
equal:
path: spec.template.spec.containers[0].image
value: b4bz/homer:1.23