Something went wrong. Try again.
Xe's Kubernetes custom resources
Something went wrong. Try again.
531 B · 22 lines
Shell
at main
1234567891011121314151617181920212223#!/usr/bin/env bash
source "$(dirname "${BASH_SOURCE[0]}")/../common.sh"CRDS_RELEASE="${1:-latest}"
set -euo pipefail
yoke takeoff --wait 30s postgresairway "oci://registry.int.xeserv.us/crds/db/postgres/airway:${CRDS_RELEASE}" -- --flight-url="oci://registry.int.xeserv.us/crds/db/postgres/flight:${CRDS_RELEASE}"wait_for_crd postgres.db.x.within.website
kubectl apply -f - <<EOFapiVersion: db.x.within.website/v1kind: Postgresmetadata: name: test
spec: storage: size: 5GiEOF
wait_for_deployment test-postgres