20 lines · 499 B · Text
RawDownload
#!/usr/bin/env bash set -eusource script/lib/deploy-helpers.sh if [[ $# != 1 ]]; then  echo "Usage: $0 <production|staging> (postgrest not needed on preview or nightly)"  exit 1fienvironment=$1 export_vars_for_environment ${environment} export ZED_DO_CERTIFICATE_ID=$(doctl compute certificate list --format ID --no-header)export ZED_KUBE_NAMESPACE=${environment} target_zed_kube_clusterenvsubst < crates/collab/k8s/postgrest.template.yml | kubectl apply -f - echo "deployed postgrest"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t