Hi Yan,

Here it means if global pullPolicy is not defined then use the individual 
charts’ pullPolicy by default. So first preference is always for global values.

Thx,
Mahendra

From: Yan Yang <[email protected]>
Sent: Monday, January 28, 2019 7:05 AM
To: [email protected]; Mahendra Raghuwanshi 
<[email protected]>
Subject: 答复: [onap-discuss] [OOM]How to change the default image pull policy

Hi Mahendra,

Thank you for providing this information.

It seems to be consistent with our test result.

In the gerrit list :  imagePullPolicy: {{ .Values.global.pullPolicy | default 
.Values.pullPolicy }},  it means the default value will use individual 
values.yaml not global configuration, am I right?



Best Regards,
Yan
发件人: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] 代表 Mahendra Raghuwanshi
发送时间: 2019年1月25日 15:11
收件人: Yan Yang; [email protected]<mailto:[email protected]>
主题: Re: [onap-discuss] [OOM]How to change the default image pull policy

Hey Yan,

You can set the image pull policy globally using --set 
global.pullPolicy=IfNotPresent or it can be set for individual component like 
--set so.pullPolicy=IfNotPresent.

The global configuration is not honored by each chart. There are few charts 
which use their respective pullPolicy as defined in their values.yaml. The list 
can be taken from this gerrit 
https://gerrit.onap.org/r/75050<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.onap.org%2Fr%2F75050&data=02%7C01%7CMahendra.Raghuwanshi%40amdocs.com%7C2ed2f2f5d3cf4ebcdc7808d684c0fdad%7Cc8eca3ca127646d59d9da0f2a028920f%7C0%7C0%7C636842361762668435&sdata=0%2F75WovCxL%2FvObqi%2BqHo6wdSUT4mfTaAwlGTYBenwO0%3D&reserved=0>.
For these charts, you will have to define the pullPolicy individually.

Thx,
Mahendra

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service 
<https://www.amdocs.com/about/email-terms-of-service>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15186): https://lists.onap.org/g/onap-discuss/message/15186
Mute This Topic: https://lists.onap.org/mt/29566471/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to