Skip to content

Conversation

albihasani94
Copy link

@albihasani94 albihasani94 commented Sep 30, 2019

  • values.yaml has declared the pullPolicy property
  • this value should be referred from the deployment as pullPolicy rather than imagePullPolicy

In values.yaml: pullPolicy

...
image:
  tag: latest
  pullPolicy: IfNotPresent

service:
  type: LoadBalancer
  externalPort: 80
  internalPort: 8080
  externalDebugPort: 5005
  internalDebugPort: 5005
...

In greeting-deployment.yaml: imagePullPolicy

...
spec:
      containers:
      - name: greeting
        image: {{ .Values.greeting.image }}:{{ .Values.image.tag }}
        imagePullPolicy: {{ .Values.image.imagePullPolicy }}
...

I have changed the property in greeting-deployment to:

imagePullPolicy: {{ .Values.image.pullPolicy }}

to correspond to the property declared in values.

- values.yaml has declared the pullPolicy property
- this value should be referred from the deployment as pullPolicy rather than imagePullPolicy
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.

1 participant