#!/usr/bin/env bash # Redis — the cluster half of the redis cabinet: cache/broker, no persistence. # Notes: docs/notes/addons.md set -euo pipefail cd "$(dirname "$0")/.." source ./lib/config.sh load_config K="kubectl --context ${KUBECONTEXT}" NS="${DATA_NAMESPACE:-data}" $K get namespace "$NS" >/dev/null 2>&1 || $K create namespace "$NS" echo " applying manifests" $K apply -n "$NS" -f - >/dev/null <