Skip to content

Commit 1de2fcd

Browse files
committed
fixup: need to escape braces in our custom template
1 parent 6856972 commit 1de2fcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deploy/deployctl/subcommands/ingress_production.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
labels:
1616
tier: production
1717
annotations:
18-
cloud.google.com/backend-config: '{"ports": {"80":"gnomad-backend-config"}}'
18+
cloud.google.com/backend-config: '{{"ports": {{"80":"gnomad-backend-config"}}}}'
1919
spec:
2020
type: NodePort
2121
selector:
@@ -96,6 +96,7 @@ def apply_ingress(browser_deployment: str = None, reads_deployment: str = None,
9696
apply_services(browser_deployment, reads_deployment)
9797

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

0 commit comments

Comments
 (0)