Skip to content

Commit d619916

Browse files
committed
remove ingress
1 parent 8c21012 commit d619916

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.transpire.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ def objects():
4242
port_on_svc=25565,
4343
)
4444

45-
ing = Ingress.from_svc(
46-
svc=svc,
47-
host="mc.ocf.berkeley.edu",
48-
path_prefix="/",
49-
)
45+
svc_built = svc.build()
46+
47+
svc_built["status"] = { "loadBalancer": { "ingress": [{"ip": "169.229.226.85", "ipMode": "vip"}] } }
5048

5149
pvc = PersistentVolumeClaim(
5250
name=dep_name,
@@ -56,6 +54,5 @@ def objects():
5654
)
5755

5856
yield dep.build()
59-
yield svc.build()
60-
yield ing.build()
57+
yield svc_built
6158
yield pvc.build()

0 commit comments

Comments
 (0)