16 lines
586 B
YAML
16 lines
586 B
YAML
# 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
|