mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
check_kerberos.sh (already updated) sourced knoe_env.sh, knoe_secrets.sh, knoe_string.sh, and knoe_yaml.sh but the files were still named prole_*.sh. No other script referenced the old names, so this is a pure rename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
222 B
Bash
11 lines
222 B
Bash
#!/usr/bin/env bash
|
|
|
|
knoe_kubectl_exec_cmd() {
|
|
local ns="$1"
|
|
local pod="$2"
|
|
local cmd="$3"
|
|
|
|
# Print a deterministic, shell-escaped command string.
|
|
printf 'kubectl -n %q exec %q -- sh -c %q' "$ns" "$pod" "$cmd"
|
|
}
|