diff --git a/k8sdeploy.sh b/k8sdeploy.sh index 89190a4..505b6f7 100755 --- a/k8sdeploy.sh +++ b/k8sdeploy.sh @@ -13,11 +13,11 @@ echo "$ACTION_KUBECONFIG" > "$HOME/.kube/config" kubectl get namespace "$NS" || kubectl create namespace "$NS" kubectl config set-context --current --namespace="$NS" -if [ -n "$ACTION_REGISTRY_PASSWD" ]; then +if [ -n "$ACTION_REGISTRY_PASSWORD" ]; then kubectl create secret docker-registry regcred \ --docker-server="$REGISTRY" \ - --docker-username="$ACTION_REGISTRY_USER" \ - --docker-password="$ACTION_REGISTRY_PASSWD" + --docker-username="$ACTION_REGISTRY_USERNAME" \ + --docker-password="$ACTION_REGISTRY_PASSWORD" fi ./manifests/bin/devel.sh