appsody / appsody-operator

An Operator for deploying Appsody based applications to Kubernetes. This repo will be archived soon.
Apache License 2.0
18 stars 15 forks source link

Image pull policy with the Appsody operator #137

Closed chilanti closed 5 years ago

chilanti commented 5 years ago

Type of question

General context

Question

Does the appsody operator support the various imagePullPolicy options? We get IfNotPresent by default, but being able to pick would be desirable. Not sure if the AppsodyApplication CRs support that field.

Add any other context about the problem here.

arthurdm commented 5 years ago

hey @chilanti - yup, you can configure it via the pullPolicy key in your CR: https://github.com/appsody/appsody-operator/blob/master/deploy/crds/appsody_v1beta1_appsodyapplication_crd.yaml#L262

chilanti commented 5 years ago

Nice.... I'll update appsody deploy to set it to Always.