Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,11 @@ def create_secret():
local_resource('supersecret', cmd, labels=["clouds-yaml-secret"])

def cspo_template():
cmd = "cat .cspotemplate.yaml | {} | kubectl apply -f -".format(envsubst_cmd)
local_resource('cspotemplate', cmd, labels=["cspo-template"])
cmd = "cat .cspotemplate.yaml | {}".format(envsubst_cmd)
cspo_yaml = local(cmd, quiet=True)
k8s_yaml(cspo_yaml)
k8s_resource(objects = ["cspotemplate:openstackclusterstackreleasetemplate"], new_name = "cspotemplate", labels = ["cspo-template"])


def clusterstack():
k8s_resource(objects = ["clusterstack:clusterstack"], new_name = "clusterstack", labels = ["clusterstack"])
Expand Down
2 changes: 1 addition & 1 deletion docs/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ make tilt-up

> To access the Tilt UI please go to: `http://localhost:10351`

You should make sure that everything in the UI looks green. If not, you can trigger the Tilt workflow again. In the case of the `cspotemplate`, this might be necessary, as it cannot be applied right after the startup of the cluster and fails. Tilt unfortunately does not include a waiting period.
You should make sure that everything in the UI looks green. If not, you can trigger the Tilt workflow again.

If everything is green, then you can already check for your clusterstack that has been deployed. You can use a tool like k9s to have a look at the management cluster and its custom resources.

Expand Down