You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "rgolangh (via GitHub)" <gi...@apache.org> on 2024/01/23 09:16:05 UTC
[I] Omit imagePullPolicy from the deployment created by Sonata operator [incubator-kie-kogito-serverless-operator]
rgolangh opened a new issue, #359:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359
### Describe the bug
The operator sets imagePullPoiicy to `Always`. This is against the default of openshift, which is ifNotPresent , and against
the k8s default which should be also ifNotPresent in case a tag or SHA is used.
### Expected behavior
if there's a tag which is not 'latest' , then omit the imagePullPolicy completely
### Actual behavior
imagePullPolicy is set in the generated deployment
### How to Reproduce?
1.Deploy any sonataflow resource, e.g greeting and see the default
oc create -f https://raw.githubusercontent.com/rgolangh/serverless-workflows-helm/main/charts/workflows/charts/greeting/templates/01-sonataflow_greeting.yaml
2. oc get deployments greeting -o jsonpath={.spec.template.spec.containers[]} | jq '.imagePullPolicy'
### Output of `uname -a` or `ver`
k8s kind 0.20
### Golang version
_No response_
### Operator-sdk version
_No response_
### SonataFlow Operator version or git rev
_No response_
### Additional information
_No response_
--
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@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Omit imagePullPolicy from the deployment created by Sonata operator [incubator-kie-kogito-serverless-operator]
Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #359:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359#issuecomment-1905634222
I understand the issue, but not why you mention the base image used. 🤔
This is a fairly easy fix, I'll take a look today.
--
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@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Omit imagePullPolicy from the deployment created by Sonata operator [incubator-kie-kogito-serverless-operator]
Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini closed issue #359: Omit imagePullPolicy from the deployment created by Sonata operator
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359
--
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@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Omit imagePullPolicy from the deployment created by Sonata operator [incubator-kie-kogito-serverless-operator]
Posted by "rgolangh (via GitHub)" <gi...@apache.org>.
rgolangh commented on issue #359:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359#issuecomment-1905624706
@ricardozanini
The operator image used is masayag/kogito-serverless-operator with a fix for missing properties. I'll go hunt the base image used and paste here.
--
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@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Omit imagePullPolicy from the deployment created by Sonata operator [incubator-kie-kogito-serverless-operator]
Posted by "rgolangh (via GitHub)" <gi...@apache.org>.
rgolangh commented on issue #359:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359#issuecomment-1906049324
> I understand the issue, but not why you mention the base image used. 🤔
Wanted to be a nice citizen and help with the version I used, in case this was handled already or just plane non sense :wink:
> This is a fairly easy fix, I'll take a look today.
--
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@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org