Skip to content

Conversation

@albertye1
Copy link
Contributor

should be a 1:1 translation

Copy link
Member

@turtlebasket turtlebasket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably test this by running transpire object print in the repo root (just clone ocf/transpire and run poetry shell)

.transpire.py Outdated

ing = Ingress.from_svc(
svc = svc,
host = "//rt.ocf.berkeley.edu",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the //

.transpire.py Outdated
@@ -0,0 +1,78 @@
from tkinter.filedialog import Directory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not depend on tkinter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i lowkey do not know how that got there.

Copy link
Member

@turtlebasket turtlebasket Mar 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L43:

    dep.obj.spec.template.spec.volumes = [
         client.V1Volume(
             name = "secrets",
             host_path = { "path": "/opt/share/kubernetes/secret/rt", "type": "Directory" }  # <---
         ),
     ]

may have been auto-imported by LSP if you hit tab at the wrong time lol


name = "rt"
auto_sync = True

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no images are yielded anywhere; that needs to be in here somewhere (def images())

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait how can i check ghcr to make sure it has the image i want to yield

.transpire.py Outdated
def objects():
svc = Service(
name = "rt",
selector = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

        selector=dep.get_selector(),

and put under

.transpire.py Outdated
# set the volumes in the Deployment
dep.obj.spec.template.spec.volumes = [
client.V1Volume(
name = "secrets",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove the spaces around the =

@sophiebsw sophiebsw merged commit 0e634e2 into ocf:master Jul 4, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants