Skip to content

Commit 541f4c2

Browse files
authored
fix: build failure
1 parent 67f9edb commit 541f4c2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.transpire.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88

99

1010
def objects():
11-
ing = Ingress.from_svc(
12-
svc=svc,
13-
# TODO: Define domain name
14-
host="mkdocs.ocf.berkeley.edu",
15-
path_prefix="/",
16-
)
1711

1812
sec = Secret(
1913
name=name,
@@ -27,7 +21,7 @@ def objects():
2721
image=get_image_tag("ocfdocs"),
2822
ports=[15000],
2923
)
30-
# Export secrets to environemtn
24+
# Export secrets to environment
3125
dep.pod_spec().with_configmap_env(name).with_secret_env(name)
3226

3327
svc = Service(
@@ -36,6 +30,12 @@ def objects():
3630
port_on_pod=15000,
3731
port_on_svc=80,
3832
)
33+
34+
ing = Ingress.from_svc(
35+
svc=svc,
36+
host="mkdocs.ocf.berkeley.edu",
37+
path_prefix="/",
38+
)
3939

4040
yield dep.build()
4141
yield svc.build()

0 commit comments

Comments
 (0)