Skip to content

Commit

Permalink
fixup: need to escape braces in our custom template
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Nov 15, 2023
1 parent 6856972 commit 1de2fcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/deployctl/subcommands/ingress_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
labels:
tier: production
annotations:
cloud.google.com/backend-config: '{"ports": {"80":"gnomad-backend-config"}}'
cloud.google.com/backend-config: '{{"ports": {{"80":"gnomad-backend-config"}}}}'
spec:
type: NodePort
selector:
Expand Down Expand Up @@ -96,6 +96,7 @@ def apply_ingress(browser_deployment: str = None, reads_deployment: str = None,
apply_services(browser_deployment, reads_deployment)

if quiet or input("Apply changes to production ingress (y/n) ").lower() == "y":
kubectl(["apply", "-f", os.path.join(manifests_directory(), "gnomad.backendconfig.yaml")])
kubectl(["apply", "-f", os.path.join(manifests_directory(), "gnomad.frontendconfig.yaml")])
kubectl(["apply", "-f", os.path.join(manifests_directory(), "gnomad.ingress.yaml")])

Expand Down

0 comments on commit 1de2fcd

Please sign in to comment.