mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-01 13:24:05 +00:00
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
15 lines
298 B
Bash
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"
|