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 2022/08/04 16:13:53 UTC

[GitHub] [camel-k] zhiminglim opened a new pull request, #3516: fix: fix invalid type mapping for operator resources and securityContext

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

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


[GitHub] [camel-k] squakez commented on pull request #3516: fix: fix invalid type mapping for operator resources and securityContext

Posted by GitBox <gi...@apache.org>.
squakez commented on PR #3516:
URL: https://github.com/apache/camel-k/pull/3516#issuecomment-1209099425

   > @oscerd thanks for approving! I'm not sure who to tag, but it seems a maintainer has to approve running workflows as I'm a first-time contributor.
   
   Checks started :)


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


[GitHub] [camel-k] squakez merged pull request #3516: fix: fix invalid type mapping for operator resources and securityContext

Posted by GitBox <gi...@apache.org>.
squakez merged PR #3516:
URL: https://github.com/apache/camel-k/pull/3516


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


[GitHub] [camel-k] zhiminglim commented on pull request #3516: fix: fix invalid type mapping for operator resources and securityContext

Posted by GitBox <gi...@apache.org>.
zhiminglim commented on PR #3516:
URL: https://github.com/apache/camel-k/pull/3516#issuecomment-1209081769

   @oscerd thanks for approving! I'm not sure who to tag, but it seems a maintainer has to approve running workflows as I'm a first-time contributor.


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