Skip to content

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy: IfNotPresent/g'#532

Merged
ldemailly merged 2 commits intomasterfrom
ldemailly-image-pull-policy-441
Aug 3, 2017
Merged

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy: IfNotPresent/g'#532
ldemailly merged 2 commits intomasterfrom
ldemailly-image-pull-policy-441

Conversation

@ldemailly
Copy link
Copy Markdown
Member

@ldemailly ldemailly commented Aug 2, 2017

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy:
IfNotPresent/g'

Fixes #441

Should save a fair bit of network and overhead in tests and deployments

Now using imagePullPolicy: IfNotPresent consistently to avoid redownloading the same image over and over again. Fixes #441.

…fNotPresent/g'

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy:
IfNotPresent/g'

Fixes #441
@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ldemailly

Associated issue: 441

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@ldemailly
Copy link
Copy Markdown
Member Author

/retest

@ldemailly ldemailly requested a review from douglas-reid August 3, 2017 01:17
requests:
cpu: "100m"
imagePullPolicy: Always #IfNotPresent
imagePullPolicy: IfNotPresent #IfNotPresent
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: we probably want to reverse the commented out bits here and below.

@ldemailly ldemailly merged commit 4c185ba into master Aug 3, 2017
@ldemailly ldemailly deleted the ldemailly-image-pull-policy-441 branch August 3, 2017 01:22
@kyessenov
Copy link
Copy Markdown
Contributor

This is a dangerous PR. Please don't approve it automatically. If the tag is "0.2", it will cause inconsistent images used in pods (0.2.1 and 0.2.3). Please coordinate with Seb to make sure that only explicit tags are used, and for alias tags, change it back to Always.

cc @rshriram

@kyessenov
Copy link
Copy Markdown
Contributor

And yes, we might need 2x YAML files, ones with Always and another ones with IfNotPresent. Just to make our lives better.

@ldemailly
Copy link
Copy Markdown
Member Author

ldemailly commented Aug 3, 2017

@kyessenov You accepted and merged the exact same PR in pilot, how is this different? Also we have yet to make the first 0.2.0 and using 3 digits everywhere is something raised long ago

What/where are the alias tags ? Why would we need Always ever or 2x yaml ? please elaborate

rshriram pushed a commit that referenced this pull request Oct 30, 2017
…fNotPresent/g' (#532)

* git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy: IfNotPresent/g'

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy:
IfNotPresent/g'

Fixes #441

* review comment


Former-commit-id: 4c185ba
vbatts pushed a commit to vbatts/istio that referenced this pull request Oct 31, 2017
…fNotPresent/g' (istio#532)

* git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy: IfNotPresent/g'

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy:
IfNotPresent/g'

Fixes istio#441

* review comment


Former-commit-id: 4c185ba
mandarjog pushed a commit that referenced this pull request Nov 2, 2017
…fNotPresent/g' (#532)

* git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy: IfNotPresent/g'

git ls-files|xargs sed -i .bak -e 's/PullPolicy: Always/PullPolicy:
IfNotPresent/g'

Fixes #441

* review comment


Former-commit-id: 4c185ba
howardjohn pushed a commit to howardjohn/istio that referenced this pull request Jan 12, 2020
…, but not supported by GetFromTreePath() (istio#532)

* Fix GetFromTreePath issues when input path is longer than tree depth.

* Refactor the tree traversal code.

* Remove unreachable code.

* Add complex tests, fix an issue of recursion on list node.

* Add one more negtive test.
luksa pushed a commit to luksa/istio that referenced this pull request Sep 20, 2022
Signed-off-by: Yuanlin <yuanlin.xu@redhat.com>
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.

5 participants