Skip to content

Commit a468657

Browse files
committed
Add NAMESPACE parameter documentation for deploy_via_helm-dev.sh script + default value
1 parent 853ff35 commit a468657

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/kubernetes/deploy_via_helm-dev.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ help() {
1111
echo "This script takes at least 3 parameters."
1212
echo
1313
echo "The following optional environment variables can be set to alter this script behavior:"
14+
echo "- NAMESPACE | string | name of the targeted namespace. Generated when not set"
1415
echo "- ARGO_MINIO_ACCESS_KEY | string | AccessKey for MinIO. Generated when not set"
1516
echo "- ARGO_MINIO_SECRET_KEY | string | SecretKey for MinIO. Generated when not set"
1617
echo "- ARGO_MINIO_REQUESTS_MEMORY | units of bytes (default is 4Gi) | Memory requests for the Argo MinIO server"
@@ -33,7 +34,7 @@ export API_VERSION="$3"
3334
HELM_CHARTS_BASE_PATH=$(realpath "$(dirname "$0")")
3435

3536
# Create namespace if it does not exist
36-
kubectl create namespace "${NAMESPACE}" --dry-run=client -o yaml | kubectl apply -f -
37+
kubectl create namespace "${NAMESPACE:-phoenix}" --dry-run=client -o yaml | kubectl apply -f -
3738

3839
# Argo
3940
export ARGO_RELEASE_NAME=argo

0 commit comments

Comments
 (0)