SysbeeTech / kubedeploy

Kubedeploy
https://kubedeploy.app/
Apache License 2.0
5 stars 2 forks source link

commands and args deprecation in jobspec and cronjobspec #14

Closed btoic closed 10 months ago

btoic commented 11 months ago

deploymentMode of type Job or Cronjob should not have main container commands and args set in separate jobspec and cronjobspec sections.

It only complicicate things in templates, end user might find this counter intuitive.

This should be rewritten so that main container in those deploymentModes inherit the command and args from image value just like regular deployments and statefulsets. For now (up untill version 2.x) old command and args values from jobspec and cronjobspec should take priority, and deprecation warning message should be printed in NOTES.txt if user is still using them.

Update deprecation warning in docs and values as well.