diff --git a/.github/workflows/postgres-restore.yml b/.github/workflows/postgres-restore.yml index 4459de64e..29aaf9e44 100644 --- a/.github/workflows/postgres-restore.yml +++ b/.github/workflows/postgres-restore.yml @@ -49,6 +49,7 @@ jobs: source global_config/${{ inputs.environment }}.sh tf_vars_file=${{ env.TF_VARS_PATH }}/${{ inputs.environment }}.tfvars.json echo "CLUSTER=$(jq -r '.cluster' ${tf_vars_file})" >> $GITHUB_ENV + echo "NAMESPACE=$(jq -r '.namespace' ${tf_vars_file})" >> $GITHUB_ENV echo "RESOURCE_GROUP_NAME=${AZURE_RESOURCE_PREFIX}-${SERVICE_SHORT}-${CONFIG_SHORT}-rg" >> $GITHUB_ENV echo "STORAGE_ACCOUNT_NAME=${AZURE_RESOURCE_PREFIX}${SERVICE_SHORT}dbbkp${CONFIG_SHORT}sa" >> $GITHUB_ENV echo "DB_SERVER=${AZURE_RESOURCE_PREFIX}-${SERVICE_SHORT}-${CONFIG_SHORT}-pg" >> $GITHUB_ENV @@ -67,6 +68,7 @@ jobs: storage-account: ${{ env.STORAGE_ACCOUNT_NAME }} resource-group: ${{ env.RESOURCE_GROUP_NAME }} app-name: ${{ env.SERVICE_NAME }}-${{ inputs.environment }} + namespace: ${{ env.NAMESPACE }} cluster: ${{ env.CLUSTER }} azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} azure-subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}