Giter VIP home page Giter VIP logo

Comments (4)

cedricmckinnie avatar cedricmckinnie commented on July 28, 2024 1

Looks like the new Template CRD was added 3 weeks ago and a release hasn't been cut yet. The solution for me here is to use .cronJobTemplateReference but the CRD is not available in v1.14.0 which I'm currently pinned to.

Out of curiosity, are you all planning a release soon? Would it make sense to cut a production release before including this feature in the main docs? Looks like it's currently only on the develop branch of testkube-operator repo.

https://docs.testkube.io/articles/templates/

As always - fantastic tool and thank you!

from helm-charts.

cedricmckinnie avatar cedricmckinnie commented on July 28, 2024

Just realized that I can overwrite test.spec.executionRequest.cronJobTemplate but is there a cleaner way to do so without having to hard-code the template into every test? Perhaps cronJobTemplateReference to a custom configmap?

Seems like executor.spec.job_template would not work because the cronjob template must be correlated with a test so that it can include .Schedule var into the template.

from helm-charts.

vsukhin avatar vsukhin commented on July 28, 2024

hey, @cedricmckinnie
You can do it using a few approaches

  1. cronJobTemplate - it will modify default cron job template for each test you use it
  2. cronJobTemplateReference - it will use a full cron job template for each test you use it (will be released in 1.15, beginnig of October)
  3. you can update default cron job template in in configmap or before installation

from helm-charts.

vsukhin avatar vsukhin commented on July 28, 2024

closing for now, hope, above options should be enough

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.