[bitnami/cainjector] Add VIB tests (#34282)

* [bitnami/cainjector] Add VIB tests

Signed-off-by: Michiel <michield@vmware.com>
This commit is contained in:
Michiel
2023-05-22 13:11:13 +02:00
committed by GitHub
parent 85f1f8f246
commit 2c83016d87
5 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
command:
check-cainjector:
exec: /opt/bitnami/cainjector/bin/cainjector --help
exit-status: 0

View File

@@ -0,0 +1,11 @@
gossfile:
# Goss tests exclusive to the current container
../../cainjector/goss/cainjector.yaml: {}
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
../../common/goss/templates/check-directories.yaml: {}
../../common/goss/templates/check-linked-libraries.yaml: {}
../../common/goss/templates/check-sed-in-place.yaml: {}
../../common/goss/templates/check-spdx.yaml: {}

View File

@@ -0,0 +1,6 @@
binaries:
- cainjector
directories:
- paths:
- /opt/bitnami/cainjector
root_dir: /opt/bitnami