Skip to content

Commit

Permalink
allow setting yataiSystem.serviceAccountName in install script (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauyon authored May 9, 2023
1 parent 3edc88f commit 0644cfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/quick-install-yatai-image-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ if [ "${YATAI_ENDPOINT}" = "empty" ]; then
YATAI_ENDPOINT=""
fi

YATAI_SERVICE_ACCOUNT=${YATAI_SERVICE_ACCOUNT:-yatai}

if [ "${YATAI_ENDPOINT}" = "http://yatai.yatai-system.svc.cluster.local" ]; then
echo "🧪 verifying that the yatai is running"
if ! kubectl -n yatai-system wait --for=condition=ready --timeout=10s pod -l app.kubernetes.io/name=yatai; then
Expand Down Expand Up @@ -270,6 +272,7 @@ else
--set aws.accessKeyID=${AWS_ACCESS_KEY_ID} \
--set aws.secretAccessKeyExistingSecretName=${AWS_SECRET_ACCESS_KEY_EXISTING_SECRET_NAME} \
--set aws.secretAccessKeyExistingSecretKey=${AWS_SECRET_ACCESS_KEY_EXISTING_SECRET_KEY} \
--set yataiSystem.serviceAccountName=$YATAI_SERVICE_ACCOUNT \
--version=${VERSION} \
--devel=${DEVEL}
fi
Expand Down

0 comments on commit 0644cfb

Please sign in to comment.