mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 00:12:27 +03:00
Deploy tweaks
This commit is contained in:
parent
15d8fed378
commit
0dfeae6e24
@ -13,7 +13,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443"
|
service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443"
|
||||||
service.beta.kubernetes.io/do-loadbalancer-certificate-id: ${ZED_DO_CERTIFICATE_ID}
|
service.beta.kubernetes.io/do-loadbalancer-certificate-id: ${ZED_DO_CERTIFICATE_ID}
|
||||||
service.beta.kubernetes.io/do-loadbalancer-disable-lets-encrypt-dns-records: true
|
service.beta.kubernetes.io/do-loadbalancer-disable-lets-encrypt-dns-records: "true"
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
|
@ -7,7 +7,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443"
|
service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443"
|
||||||
service.beta.kubernetes.io/do-loadbalancer-certificate-id: ${ZED_DO_CERTIFICATE_ID}
|
service.beta.kubernetes.io/do-loadbalancer-certificate-id: ${ZED_DO_CERTIFICATE_ID}
|
||||||
service.beta.kubernetes.io/do-loadbalancer-disable-lets-encrypt-dns-records: true
|
service.beta.kubernetes.io/do-loadbalancer-disable-lets-encrypt-dns-records: "true"
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
|
@ -4,17 +4,12 @@ set -eu
|
|||||||
source script/lib/deploy-helpers.sh
|
source script/lib/deploy-helpers.sh
|
||||||
|
|
||||||
if [[ $# < 2 ]]; then
|
if [[ $# < 2 ]]; then
|
||||||
echo "Usage: $0 <production|staging|preview> <tag-name> (nightly is not yet supported)"
|
echo "Usage: $0 <production|staging|preview|nightly> <tag-name>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
environment=$1
|
environment=$1
|
||||||
version=$2
|
version=$2
|
||||||
|
|
||||||
if [[ ${environment} == "nightly" ]]; then
|
|
||||||
echo "nightly is not yet supported"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
export_vars_for_environment ${environment}
|
export_vars_for_environment ${environment}
|
||||||
image_id=$(image_id_for_version ${version})
|
image_id=$(image_id_for_version ${version})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user