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

add image pull policy #1462

Merged
merged 10 commits into from
Jan 7, 2025
Merged

Conversation

filintod
Copy link
Contributor

@filintod filintod commented Nov 12, 2024

Description

Currently one cannot use the kubernetes run when using an image loaded to a kind cluster as the image pull policy is hard coded to Always. This changes it to make it configurable.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1463

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@filintod filintod requested review from a team as code owners November 12, 2024 18:40
Signed-off-by: Filinto Duran <filinto@diagrid.io>
@filintod filintod force-pushed the filinto/add-image-pull-policy branch from a170e7c to 448ecae Compare November 12, 2024 18:44
Signed-off-by: Filinto Duran <filinto@diagrid.io>
@filintod
Copy link
Contributor Author

@artursouza @antontroshin please check

antontroshin
antontroshin previously approved these changes Nov 14, 2024
pkg/runfileconfig/run_file_config_parser.go Outdated Show resolved Hide resolved
elena-kolevska
elena-kolevska previously approved these changes Nov 14, 2024
Signed-off-by: Filinto Duran <filinto@diagrid.io>
@filintod filintod dismissed stale reviews from elena-kolevska and antontroshin via 9783d1b November 14, 2024 14:38
@filintod
Copy link
Contributor Author

@antontroshin @elena-kolevska could you re-approved? I added the feedback from @antontroshin

Copy link

@elena-kolevska elena-kolevska left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Filinto Duran <filinto@diagrid.io>
@filintod
Copy link
Contributor Author

@elena-kolevska please take another look. thx

Copy link

@elena-kolevska elena-kolevska left a comment

Choose a reason for hiding this comment

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

Linter is failing, but other than that, lgtm

Signed-off-by: Filinto Duran <filinto@diagrid.io>
Signed-off-by: Filinto Duran <filinto@diagrid.io>
Signed-off-by: Filinto Duran <filinto@diagrid.io>
Signed-off-by: Filinto Duran <filinto@diagrid.io>
Copy link

@elena-kolevska elena-kolevska left a comment

Choose a reason for hiding this comment

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

Super helpful for local development @filintod , thank you very much!

@yaron2
Copy link
Member

yaron2 commented Dec 23, 2024

Upgrade tests are failing, is this related?

@antontroshin
Copy link
Contributor

@yaron2 I've re-run the tests, and they all passed, except for regular Podman failure on macOS, which is on my plate for the near future.
IMO, g2g.

@yaron2 yaron2 merged commit efe1d6c into dapr:master Jan 7, 2025
26 of 27 checks passed
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.

Allow Image Pull Policy for dapr run on kubernetes
5 participants