The helm charts allowed rendering a PodSecurityPolicy resource via the configuration `pspEnable`. This option is removed and all references to psp, PodSecurityPolicy, and Pod Security Policy have been cleaned up. The PSP resource was only rendered if k8s version was lower than 1.25 when it was still supported. It has been deprecated since k8s 1.21. Signed-off-by: Erik Sundell <erik@sundellopensource.se>
14 lines
345 B
Bash
Executable File
14 lines
345 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -xeEuo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
|
pushd "$SCRIPT_DIR" &>/dev/stderr
|
|
|
|
COMMON_YAML_FILE="$SCRIPT_DIR/../../deploy/examples/common.yaml"
|
|
|
|
rm -f "$COMMON_YAML_FILE"
|
|
cat common.yaml.header >>"$COMMON_YAML_FILE"
|
|
./get-helm-rbac.sh >>"$COMMON_YAML_FILE"
|
|
|
|
popd &>/dev/stderr
|