Skip to content

Commit

Permalink
switch to a GKE initiated managedcertificate
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Dec 5, 2023
1 parent 735a70e commit f546327
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/deployctl/subcommands/ingress_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def apply_ingress(browser_deployment: str = None, reads_deployment: str = None,
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")])
kubectl(["apply", "-f", os.path.join(manifests_directory(), "gnomad.managedcertificate.yaml")])


def main(argv: typing.List[str]) -> None:
Expand Down
2 changes: 1 addition & 1 deletion deploy/manifests/ingress/gnomad.ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
tier: production
annotations:
kubernetes.io/ingress.global-static-ip-name: gnomad-prod-global-ip
ingress.gcp.kubernetes.io/pre-shared-cert: gnomad-browser-cert
networking.gke.io/managed-certificates: gnomad-prod-certificate
networking.gke.io/v1beta1.FrontendConfig: 'gnomad-frontend-config'
spec:
rules:
Expand Down
9 changes: 9 additions & 0 deletions deploy/manifests/ingress/gnomad.managedcertificate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: gnomad-prod-certificate
labels:
tier: production
spec:
domains:
- gnomad.broadinstitute.org
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[tool.black]
line-length = 120

[tool.ruff]
line-length = 120

[tool.pylint.basic]
# ds: frequently used name for a variable containing a Hail table
good-names = [
Expand Down

0 comments on commit f546327

Please sign in to comment.