wangyang0918 opened a new pull request, #238:
URL: https://github.com/apache/flink-kubernetes-operator/pull/238

   I find a strange invalid image event when preparing the 1.0.0 release 
candidate after `helm install`.
   
   ```
   Events:
     Type     Reason         Age               From               Message
     ----     ------         ----              ----               -------
     Normal   Scheduled      11s               default-scheduler  Successfully 
assigned default/flink-kubernetes-operator-7b95cdb948-54kj8 to minikube
     Warning  InspectFailed  8s (x3 over 10s)  kubelet            Failed to 
apply default image tag 
"ghcr.io/apache/flink-kubernetes-operator:2.417603e+06": couldn't parse image 
reference "ghcr.io/apache/flink-kubernetes-operator:2.417603e+06": invalid 
reference format
     Warning  Failed         8s (x3 over 10s)  kubelet            Error: 
InvalidImageName
     Warning  InspectFailed  8s (x3 over 10s)  kubelet            Failed to 
apply default image tag 
"ghcr.io/apache/flink-kubernetes-operator:2.417603e+06": couldn't parse image 
reference "ghcr.io/apache/flink-kubernetes-operator:2.417603e+06": invalid 
reference format
     Warning  Failed         8s (x3 over 10s)  kubelet            Error: 
InvalidImageName
   ```
   
   After more debugging, I find the root cause is we do not add the double 
quotation marks for image tag in helm chart values. This will cause the above 
issue when the short commit id is numerical. e.g. 2417603
   ```
   image:
     repository: ghcr.io/apache/flink-kubernetes-operator
     pullPolicy: IfNotPresent
     tag: 2417603
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to