bitnami-containers/.vib/metallb-controller/goss/metallb-controller.yaml

16 lines
586 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
command:
# The metallb-controller binary does not have a --version flag, but starting it displays the version
# NOTE: Starting it in a kubernetes cluster could take a lot of time (because it will try to discover the services).
# To avoid this problem, the webhook-mode is set intentionally with a wrong value.
check-app-version:
exec: controller -webhook-mode test
exit-status: 1
stdout:
- "{{ .Env.APP_VERSION }}"
check-metallb-controller-help:
exec: controller --help
exit-status: 0