-
Notifications
You must be signed in to change notification settings - Fork 850
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 flag to install dependency only #631
Conversation
Signed-off-by: cwen0 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #631 +/- ##
==========================================
- Coverage 55.78% 55.61% -0.17%
==========================================
Files 68 68
Lines 4383 4398 +15
==========================================
+ Hits 2445 2446 +1
- Misses 1768 1782 +14
Partials 170 170
Continue to review full report at Codecov.
|
helm/chaos-mesh/values.yaml
Outdated
@@ -21,7 +21,7 @@ controllerManager: | |||
replicaCount: 1 | |||
|
|||
image: pingcap/chaos-mesh:latest | |||
imagePullPolicy: Always | |||
imagePullPolicy: IfNotPresent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change to IfNotPresent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think always
is not necessary. Sometimes if the pod was restarted and we change some flags of it, which may cause the pod crashing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep it set to always
. Because our image is latest
. Unless we specify a particular version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
Signed-off-by: cwen0 <[email protected]>
* add flag to install dependency only Signed-off-by: cwen0 <[email protected]> * address comments Signed-off-by: cwen0 <[email protected]> Signed-off-by: shonge <[email protected]>
* add flag to install dependency only Signed-off-by: cwen0 <[email protected]> * address comments Signed-off-by: cwen0 <[email protected]>
Signed-off-by: cwen0 [email protected]
What problem does this PR solve?
install.sh
IfNotPresent
instead ofAlways