Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

tests/e2e: force always pull in non kind-based deployment #1849

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

eduser25
Copy link
Contributor

@eduser25 eduser25 commented Oct 15, 2020

Seen a condition where OSM is not necessarily always pulled if present in
container cache in nodes (even with latest tag) and registry is enabled.

Verified this was the case comparing SHAs. Not sure the reason though.
Reason is install cli setsimagePullPolicy to IfNotPresent by default (and never omitted)
https://kubernetes.io/docs/concepts/containers/images/#updating-images

Affected area:

  • Tests [X]

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
    No

@eduser25 eduser25 requested a review from a team as a code owner October 15, 2020 08:13
@codecov-io
Copy link

Codecov Report

Merging #1849 into main will decrease coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1849      +/-   ##
==========================================
- Coverage   59.21%   59.07%   -0.14%     
==========================================
  Files         125      125              
  Lines        5171     5171              
==========================================
- Hits         3062     3055       -7     
- Misses       2106     2113       +7     
  Partials        3        3              
Impacted Files Coverage Δ
...ertificate/providers/tresor/certificate_manager.go 69.66% <0.00%> (-6.75%) ⬇️
pkg/envoy/route/config.go 95.00% <0.00%> (-0.84%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 814c2c7...6bcb901. Read the comment docs.

OSM install sets `ImagePullPolicy` to `IfNotPresent` by default,
making quick test-update-test iterations not pull new tags if
the tag is already present in nodes (but not latest SHA).
@eduser25 eduser25 merged commit 622a23e into openservicemesh:main Oct 15, 2020
@eduser25 eduser25 deleted the force-pull branch October 15, 2020 19:18
draychev pushed a commit to draychev/osm that referenced this pull request Oct 28, 2020
…emesh#1849)

OSM install sets `ImagePullPolicy` to `IfNotPresent` by default,
making quick test-update-test iterations not pull new tags if
the tag is already present in nodes (but not latest SHA).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants