You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/08/19 10:53:36 UTC

[GitHub] [camel-k] squakez commented on a change in pull request #2583: feat(trait): container image pull policy

squakez commented on a change in pull request #2583:
URL: https://github.com/apache/camel-k/pull/2583#discussion_r692002664



##########
File path: pkg/trait/container.go
##########
@@ -74,12 +74,12 @@ type containerTrait struct {
 	ServicePort int `property:"service-port" json:"servicePort,omitempty"`
 	// To configure under which service port name the container port is to be exposed (default `http`).
 	ServicePortName string `property:"service-port-name" json:"servicePortName,omitempty"`
-
 	// The main container name. It's named `integration` by default.
 	Name string `property:"name" json:"name,omitempty"`
 	// The main container image
 	Image string `property:"image" json:"image,omitempty"`
-
+	// The pull policy: Always|Never|IfNotPresent
+	ImagePullPolicy string `property:"image-pull-policy" json:"imagePullPolicy,omitempty"`

Review comment:
       Yes, it's cleaner this way. I've committed the changes, please have a further look.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org