We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f9edb commit 541f4c2Copy full SHA for 541f4c2
1 file changed
.transpire.py
@@ -8,12 +8,6 @@
8
9
10
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
- )
17
18
sec = Secret(
19
name=name,
@@ -27,7 +21,7 @@ def objects():
27
21
image=get_image_tag("ocfdocs"),
28
22
ports=[15000],
29
23
)
30
- # Export secrets to environemtn
24
+ # Export secrets to environment
31
25
dep.pod_spec().with_configmap_env(name).with_secret_env(name)
32
26
33
svc = Service(
@@ -36,6 +30,12 @@ def objects():
36
port_on_pod=15000,
37
port_on_svc=80,
38
+
34
+ ing = Ingress.from_svc(
35
+ svc=svc,
+ host="mkdocs.ocf.berkeley.edu",
+ path_prefix="/",
+ )
39
40
yield dep.build()
41
yield svc.build()
0 commit comments