Skip to content

Conversation

@dnskr
Copy link
Contributor

@dnskr dnskr commented Mar 25, 2023

Why are the changes needed?

The change is needed to avoid pulling immutable image apache/kyuubi:1.7.0 from image registry each time pod created.
Current pullPolicy: Always was important when mutable image apache/kyuubi:master-snapshot was used.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

@codecov-commenter
Copy link

Codecov Report

Merging #4605 (0f323ab) into master (cee2f00) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4605      +/-   ##
============================================
- Coverage     53.32%   53.31%   -0.02%     
  Complexity       13       13              
============================================
  Files           577      577              
  Lines         31584    31584              
  Branches       4248     4248              
============================================
- Hits          16843    16839       -4     
- Misses        13154    13156       +2     
- Partials       1587     1589       +2     

see 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pan3793 pan3793 closed this in 5289d1c Mar 26, 2023
pan3793 pushed a commit that referenced this pull request Mar 26, 2023
### _Why are the changes needed?_
The change is needed to avoid pulling immutable image `apache/kyuubi:1.7.0` from image registry each time pod created.
Current `pullPolicy: Always` was important when mutable image `apache/kyuubi:master-snapshot` was used.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4605 from dnskr/chart_pullPolicy.

Closes #4605

0f323ab [dnskr] [K8S][HELM] Set IfNotPresent pullPolicy by default

Authored-by: dnskr <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit 5289d1c)
Signed-off-by: Cheng Pan <[email protected]>
@pan3793 pan3793 added this to the v1.7.1 milestone Mar 26, 2023
@pan3793
Copy link
Member

pan3793 commented Mar 26, 2023

Thanks, merged to master/1.7

@dnskr dnskr deleted the chart_pullPolicy branch May 11, 2023 20:42
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.

3 participants