zhiminglim opened a new pull request, #3516:
URL: https://github.com/apache/camel-k/pull/3516

   <!-- Description -->
   
   This PR fixes the errors thrown when performing a `helm install <chart-name> 
. --dry-run` due to invalid mapping types.
   
   Example error log:
   ```text
   Error: unable to build kubernetes objects from release manifest: error 
validating "": error validating data: 
ValidationError(Deployment.spec.template.spec.containers[0].securityContext): 
invalid type for io.k8s.api.core.v1.SecurityContext: got "string", expected 
"map"
   ```
   
   The errors are fixed by adding helm flow control. Additionally, the blocks 
after `{{- with .. }}` only executes if the values are not empty.
   


-- 
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