You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/10/25 04:06:57 UTC

[GitHub] [druid] isandeep41 opened a new issue #11838: validation error in helm chart templates license

isandeep41 opened a new issue #11838:
URL: https://github.com/apache/druid/issues/11838


   #### Issue
   Helm install throw validation error due to incorrect comment format
   ```sh
   $ helm version
   version.BuildInfo{Version:"v3.7.0", GitCommit:"eeac83883cb4014fe60267ec6373570374ce770b", GitTreeState:"clean", GoVersion:"go1.17"}
   
   $ helm install druid . --values values.yaml --namespace default 
   Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: apiVersion not set
   ```
   
   #### Solution
   
   To use: [Helm Template Comments](https://helm.sh/docs/chart_best_practices/templates/#comments-yaml-comments-vs-template-comments)
   ```yaml
   {{- /*
   This is a comment.
   */}}
   type: frobnitz
   ```
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] isandeep41 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
isandeep41 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-956380405


   As per the document, helm should supports both comment options, as there is no change in [template-comments-v2](https://v2.helm.sh/docs/chart_best_practices/#comments-yaml-comments-vs-template-comments) and [template-comments-v3](https://helm.sh/docs/chart_best_practices/templates/#comments-yaml-comments-vs-template-comments)
   
   
   The issue got resolved after updating the license using recommended format in all templates. 
   
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-955239334


   Is this problem due to newer helm version? 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 closed issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 closed issue #11838:
URL: https://github.com/apache/druid/issues/11838


   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 closed issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 closed issue #11838:
URL: https://github.com/apache/druid/issues/11838


   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-957021300


   Closed via #11839


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-957021300


   Closed via #11839


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-957021300


   Closed via #11839


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 closed issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
FrankChen021 closed issue #11838:
URL: https://github.com/apache/druid/issues/11838


   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] isandeep41 commented on issue #11838: validation error in helm chart templates license

Posted by GitBox <gi...@apache.org>.
isandeep41 commented on issue #11838:
URL: https://github.com/apache/druid/issues/11838#issuecomment-956380405


   As per the document, helm should supports both comment options, as there is no change in [template-comments-v2](https://v2.helm.sh/docs/chart_best_practices/#comments-yaml-comments-vs-template-comments) and [template-comments-v3](https://helm.sh/docs/chart_best_practices/templates/#comments-yaml-comments-vs-template-comments)
   
   
   The issue got resolved after updating the license using recommended format in all templates. 
   
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org