-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Support job-template argument for test creation. #3211
Comments
@fivenp do we need figma mockups for this ? |
Another issue related to jobTemplate is not being able to deploy it via GitOps. Perhaps it can be established as a ConfigMap and then assigned to a Test through the UI or in the Test CR by setting the ConfigMap name/key to |
Nevermind, realizing now that the Test CR allows for defining apiVersion: tests.testkube.io/v3
kind: Test
metadata:
name: gingko-test
...
spec:
...
executionRequest:
jobTemplate: |
spec:
template:
spec:
serviceAccountName: my-service-account
containers:
- name: {{ .Name }} Smart API and very clean solution. Might be a good thing to throw in the docs somewhere 😅 |
thank you @cedricmckinnie need to update docs @TheBrunoLopes @aabedraba |
Will work on improving the docs. |
Is your feature request related to a problem? Please describe.
Related to this: #3209, it is for now impossible to specify a job template from the UI. This is useful for us as we can parameter env variables, service account, etc from the test CRD job-template's field.
Describe the solution you'd like
To have a field in the UI test creation step, where one can input a YAML of the job template.
Describe alternatives you've considered
This is doable with the CLI. What we thought of doing is having a pipeline, which has testkube-CLI installed, that would create tests instead of the test UI.
The text was updated successfully, but these errors were encountered: