Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thejosephstevens
Copy link

…er image

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

Copy link
Collaborator

@akselleirv akselleirv left a comment

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
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
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
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