Files
kata-containers/tools/testing/kata-webhook/common.bash
Fabiano Fidêncio 877f6b2129 tools: Fix shellcheck issues in common.bash
Address shellcheck warnings including proper variable quoting,
use of [[ ]] over [ ], declaring and assigning variables separately,
and adding appropriate shellcheck disable directives where needed.

Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
Made-with: Cursor
2026-04-24 08:14:08 +02:00

15 lines
298 B
Bash

#!/bin/bash
#
# Copyright (c) 2021 Red Hat
#
# SPDX-License-Identifier: Apache-2.0
#
# Webhook namespace.
WEBHOOK_NS=${WEBHOOK_NS:-"default"}
# Webhook Pod name.
WEBHOOK_NAME=${WEBHOOK_NAME:-"pod-annotate"}
# Webhook service name.
# shellcheck disable=SC2034
WEBHOOK_SVC="${WEBHOOK_NAME}-webhook"