create k8s-secret only when necessary
the contents of the secret are to be used when --use-secrets-server
_is not_ set. Create missing else-branch
@@ -78,6 +78,9 @@ ci/render_pipelines.py \
if [ ! -z $SECRETS_SERVER_ENDPOINT ]; then
RENDER_TASK_EXTRA_ARGS="--use-secrets-server"
+else
+ # secrets-server won't be available; create config from local files and put it as
+ # k8s secret into cluster.
create_credentials
fi
