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-unsubscr...@camel.apache.org

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


Reply via email to