Skip to content

docs: provide instructions on how to pre-load tf providers in a custom runn…#1490

Open
itsthatriver wants to merge 1 commit into
flux-iac:mainfrom
ascend-io:main
Open

docs: provide instructions on how to pre-load tf providers in a custom runn…#1490
itsthatriver wants to merge 1 commit into
flux-iac:mainfrom
ascend-io:main

Conversation

@itsthatriver

Copy link
Copy Markdown

…er image

Following up on my comments here, this PR provides documentation on how to cache TF providers in a custom tf-runner image.

@akselleirv akselleirv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for sharing this with the community @thejosephstevens !

Only updated the tags with the latest release tag.

runner:
image:
repository: ghcr.io/my-org/custom-runnner
tag: v0.16.0-rc.3

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
tag: v0.16.0-rc.3
tag: v0.16.0-rc.5

kubectl get deployments.apps -n flux-system tf-controller -o jsonpath='{.spec.template.spec.containers[*]}' | jq '.env[] | select(.name == "RUNNER_POD_IMAGE")'
{
"name": "RUNNER_POD_IMAGE",
"value": "ghcr.io/my-org/custom-runner:v0.16.0-rc3"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"value": "ghcr.io/my-org/custom-runner:v0.16.0-rc3"
"value": "ghcr.io/my-org/custom-runner:v0.16.0-rc5"


```bash
export BASE_IMAGE=ghcr.io/flux-iac/tf-runner
export BASE_TAG=v0.16.0-rc.4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export BASE_TAG=v0.16.0-rc.4
export BASE_TAG=v0.16.0-rc.5

@akselleirv akselleirv self-assigned this Jan 21, 2025
@akselleirv akselleirv removed their assignment Feb 7, 2025
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.

2 participants