Skip to content
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

Release/v1.16.25 #716

Merged
merged 775 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
775 commits
Select commit Hold shift + click to select a range
404b221
Update executors.json
Nov 14, 2023
eb61467
fix sync fpr hpa (#672)
ypoplavs Nov 14, 2023
2c8c57a
feat: use argo cd sync var
vsukhin Nov 14, 2023
c96ee5c
Update executors.json
Nov 15, 2023
06eb769
Update values-develop.yaml
ypoplavs Nov 16, 2023
7f6366b
Update executors.json
Nov 16, 2023
11772b2
Update Chart.yaml files
Nov 16, 2023
70bd189
Update executors.json
Nov 17, 2023
6b5ebaf
Update executors.json
Nov 20, 2023
b0bdcf2
Update executors.json
Nov 21, 2023
4d38072
Update Chart.yaml files
Nov 21, 2023
19a5b03
Update executors.json
Nov 21, 2023
12a61d4
Update executors.json
Nov 21, 2023
0350b02
Update executors.json
Nov 21, 2023
f0d7ad4
Update executors.json
Nov 22, 2023
839e242
Update executors.json
Nov 22, 2023
b56aefd
Update executors.json
Nov 22, 2023
63edf47
Update executors.json
Nov 22, 2023
8fb252d
Update Chart.yaml files
Nov 22, 2023
cc2908b
Update Chart.yaml files
Nov 22, 2023
32febda
Update executors.json
Nov 22, 2023
c6137bd
Update executors.json
Nov 22, 2023
c595e4e
Update executors.json
Nov 22, 2023
197e0f9
Update Chart.yaml files
Nov 22, 2023
98c7364
Update executors.json
Nov 22, 2023
1beae55
Update executors.json
Nov 22, 2023
78ba261
Update Chart.yaml files
Nov 22, 2023
c34df89
Update Chart.yaml files
Nov 22, 2023
f7825de
Update Chart.yaml files
Nov 22, 2023
8886426
Update Chart.yaml file
vsukhin Nov 22, 2023
fe21df7
Update executors.json
Nov 23, 2023
7444258
Update executors.json
Nov 23, 2023
af88540
testkube: add support for finer-grained MinIO TLS configuration (#677)
dejanzele Nov 23, 2023
2812dee
testkube-api: update templates so they render correctly in ConfigMap …
dejanzele Nov 23, 2023
0abe190
Update Chart.yaml files
Nov 24, 2023
c33417c
Update executors.json
Nov 24, 2023
9350877
Update executors.json
Nov 24, 2023
ed9ea31
Update Chart.yaml files
Nov 24, 2023
65ec7fc
Update executors.json
Nov 24, 2023
e3ea463
feat: slave pod spec (#674)
vsukhin Nov 27, 2023
0a64cb2
testkube: add support for running NATS with TLS; add support for TLS …
dejanzele Nov 27, 2023
f1fe825
Update executors.json
Nov 27, 2023
2518a51
testkube: update docs on TLS setup for skipping certificate verification
dejanzele Nov 27, 2023
5e960ea
Update executors.json
Nov 27, 2023
b5fff78
Update Chart.yaml files
Nov 28, 2023
9cb1258
Update executors.json
Nov 28, 2023
5d81824
Update Chart.yaml files
Nov 28, 2023
8b54e59
Update Chart.yaml files
Nov 28, 2023
8387eaa
Update Chart.yaml file
dejanzele Nov 29, 2023
dd9567f
Update executors.json
Nov 29, 2023
94f6d24
Update executors.json
Nov 29, 2023
88d1b7c
Update executors.json
Nov 29, 2023
de63b2c
Update executors.json
Nov 29, 2023
82eb2e5
Update executors.json
Nov 30, 2023
720b602
Update Chart.yaml files
Nov 30, 2023
bdeed32
Update executors.json
Nov 30, 2023
5e83c3b
Update executors.json
Nov 30, 2023
2f68d44
Update executors.json
Nov 30, 2023
398b3bb
Update executors.json
Nov 30, 2023
d4f86ac
Update executors.json
Nov 30, 2023
356e3c9
Update executors.json
Nov 30, 2023
34354b0
Update executors.json
Dec 1, 2023
3e25e47
Update executors.json
Dec 1, 2023
2d0be7e
Update executors.json
Dec 1, 2023
7c9db34
Update executors.json
Dec 1, 2023
072f343
Update Chart.yaml files
Dec 4, 2023
19e64e0
Update Chart.yaml files
Dec 4, 2023
637e649
Update executors.json
Dec 4, 2023
4434a11
Update Chart.yaml files
Dec 4, 2023
38b84aa
Update Chart.yaml file
vsukhin Dec 4, 2023
d39c224
Update executors.json
Dec 4, 2023
beb4960
Update Chart.yaml files
Dec 4, 2023
b5ef9bf
Update executors.json
Dec 6, 2023
40e3b33
Revert "feat: add nats endpoint to operator (#661)" (#685)
vLia Dec 6, 2023
4503310
Update executors.json
Dec 6, 2023
36e962d
Update executors.json
Dec 6, 2023
4497f0a
Update executors.json
Dec 6, 2023
087d768
Update executors.json
Dec 7, 2023
9d06463
Update executors.json
Dec 7, 2023
0f87e14
Update executors.json
Dec 7, 2023
eb42135
Update Chart.yaml files
Dec 7, 2023
fd113f8
Update executors.json
Dec 8, 2023
5276c3f
Update executors.json
Dec 8, 2023
ede41bb
Update executors.json
Dec 8, 2023
28e5720
fix: step start and end time
vsukhin Dec 8, 2023
d60f580
Update executors.json
Dec 10, 2023
5ac7de0
Update executors.json
Dec 11, 2023
644a078
Update executors.json
Dec 11, 2023
4034941
Update executors.json
Dec 11, 2023
5d72219
Update executors.json
Dec 12, 2023
cc743ab
Update executors.json
Dec 12, 2023
9542d9d
Update executors.json
Dec 12, 2023
756d272
Update executors.json
Dec 12, 2023
ea30e10
Update executors.json
Dec 12, 2023
b6cbcb6
Update executors.json
Dec 12, 2023
942ebb7
Update executors.json
Dec 12, 2023
8949ec5
Update executors.json
Dec 12, 2023
5b8455d
Update executors.json
Dec 12, 2023
bb5704e
Update executors.json
Dec 12, 2023
2fc887d
Update executors.json
Dec 12, 2023
c668e65
Update executors.json
Dec 12, 2023
c0305f6
Update executors.json
Dec 13, 2023
313a0df
Update executors.json
Dec 13, 2023
2eb526e
Update executors.json
Dec 13, 2023
1bd2f64
Update executors.json
Dec 13, 2023
7a67cb8
Update executors.json
Dec 13, 2023
718902d
Update Chart.yaml files
Dec 13, 2023
e1dd50c
Update executors.json
Dec 13, 2023
af34ff4
Update executors.json
Dec 13, 2023
6a0dfab
Update executors.json
Dec 14, 2023
0b777e7
Update executors.json
Dec 14, 2023
d32cf39
Update Chart.yaml files
Dec 14, 2023
8254b70
feat: shared artifacts
vsukhin Dec 12, 2023
d7f6ca9
fix: rename pvc template file
vsukhin Dec 12, 2023
a6e078a
fix: artifact volume for init container
vsukhin Dec 12, 2023
46fa28e
fix: add previous test names
vsukhin Dec 13, 2023
528db11
fix: typo in template
vsukhin Dec 13, 2023
4df2372
Update executors.json
Dec 14, 2023
91483e4
Update executors.json
Dec 14, 2023
c4be0f5
Update executors.json
Dec 15, 2023
1a35088
Update executors.json
Dec 15, 2023
645a1ed
Update executors.json
Dec 15, 2023
e67db1d
Update executors.json
Dec 15, 2023
048d360
Update executors.json
Dec 15, 2023
f499b88
Update Chart.yaml files
Dec 15, 2023
29a6006
feat: install only specified executors
vsukhin Dec 14, 2023
250b9bb
fix: add docs
vsukhin Dec 14, 2023
f855b81
fix: rename var
vsukhin Dec 14, 2023
34c3984
fix: comment change
vsukhin Dec 15, 2023
5f6f343
Update executors.json
Dec 15, 2023
c0ba972
Update executors.json
Dec 17, 2023
281b021
Update executors.json
Dec 18, 2023
4ad90c6
Update executors.json
Dec 18, 2023
d4cca48
Update executors.json
Dec 18, 2023
65bae8d
Update executors.json
Dec 18, 2023
6c6f541
Update executors.json
Dec 18, 2023
df13682
Update executors.json
Dec 18, 2023
7f7792c
Update executors.json
Dec 18, 2023
652622c
Update executors.json
Dec 18, 2023
c8977e2
Update executors.json
Dec 18, 2023
11811eb
Update executors.json
Dec 18, 2023
9e69efa
Update executors.json
Dec 18, 2023
1073b23
Update executors.json
Dec 19, 2023
a377543
Update executors.json
Dec 19, 2023
e9836cd
Update executors.json
Dec 19, 2023
879331b
Update executors.json
Dec 19, 2023
5df6bd9
Update executors.json
Dec 19, 2023
ab449c5
Update executors.json
Dec 19, 2023
f78189c
Update executors.json
Dec 20, 2023
ee8a84f
Update executors.json
Dec 20, 2023
1ec217a
Update executors.json
Dec 20, 2023
d9a53fd
Update Chart.yaml file
exu Dec 20, 2023
84085d9
Update executors.json
Dec 20, 2023
98f7825
Update executors.json
Dec 20, 2023
5b0bca5
Update executors.json
Dec 20, 2023
68d6678
Update executors.json
Dec 20, 2023
648abf4
Update executors.json
Dec 20, 2023
f347b84
Update executors.json
Dec 20, 2023
71b3655
Update executors.json
Dec 20, 2023
73507b5
Update Chart.yaml files
Dec 20, 2023
160f806
Update executors.json
Dec 21, 2023
bbab76c
Update Chart.yaml files
Dec 21, 2023
aabbfb0
Update executors.json
Dec 21, 2023
146dc0b
Update executors.json
Dec 21, 2023
6fc215b
Update executors.json
Dec 21, 2023
86d1cad
Update executors.json
Dec 21, 2023
dcba02d
Update executors.json
Dec 21, 2023
3dc33a9
Update executors.json
Dec 21, 2023
20a1754
Update Chart.yaml files
Dec 21, 2023
9283dae
Update executors.json
Dec 22, 2023
416619b
Merge branch 'main' into develop
vsukhin Jan 4, 2024
ee0a52b
Update executors.json
Jan 4, 2024
15c2859
Update executors.json
Jan 4, 2024
ea54e6a
Update executors.json
Jan 5, 2024
ced1bd5
Update executors.json
Jan 5, 2024
0f15fb4
Update Chart.yaml files
Jan 5, 2024
d097f08
Update executors.json
Jan 5, 2024
3f64d69
Update executors.json
Jan 8, 2024
0e2a1ff
Update executors.json
Jan 8, 2024
216d840
Update Chart.yaml files
Jan 8, 2024
952e37f
Update Chart.yaml file
vsukhin Jan 8, 2024
3858642
feat: add "cloud" ui url (#692)
nicufk Jan 9, 2024
a72bc16
testkube: increase storage size for our envs and add expiration date
dejanzele Dec 30, 2023
710268b
update minio storage
ypoplavs Jan 9, 2024
2f72e8b
Adding option to testkube-api-server deployment to specify hostNetwor…
igaskin Jan 9, 2024
56d9035
fix: Remove tolerations from testkube-operator since proxy image does…
maxforasteiro Dec 7, 2023
b1cc33d
testkube: enable jetstream in nats (#666)
dejanzele Jan 9, 2024
0e4591d
Update executors.json
Jan 9, 2024
878fb72
fix ingress class
ypoplavs Jan 9, 2024
53322f7
Update executors.json
Jan 10, 2024
c7010ef
Update executors.json
Jan 11, 2024
f5a62c5
Update executors.json
Jan 11, 2024
8f0edcf
Update executors.json
Jan 11, 2024
79eec28
Update executors.json
Jan 11, 2024
1e4be23
Update executors.json
Jan 11, 2024
28dcb50
Update executors.json
Jan 11, 2024
017a935
Update executors.json
Jan 11, 2024
fbd1918
feat: added logs sidecar container (#704)
exu Jan 11, 2024
a09ca39
testkube: add support for connecting to agent in insecure mode and sk…
dejanzele Jan 12, 2024
e26a19d
testkube: temporarily disable jetstream (#705)
dejanzele Jan 12, 2024
d1b80eb
Update executors.json
Jan 12, 2024
ef49bdf
Update executors.json
Jan 12, 2024
4fdcd23
Update executors.json
Jan 12, 2024
cac5d46
Update executors.json
Jan 12, 2024
c550a6c
Update executors.json
Jan 12, 2024
4e1bcc8
Update executors.json
Jan 15, 2024
d8d5e9b
Update Chart.yaml files
Jan 15, 2024
1d9eca0
Update executors.json
Jan 15, 2024
f5ce40e
fix: pvc name
vsukhin Jan 15, 2024
e3aaf88
Update executors.json
Jan 15, 2024
ed39387
Update executors.json
Jan 16, 2024
fd7d579
fix: scraper logs not behind feature flag (#708)
exu Jan 16, 2024
b21b089
Update executors.json
Jan 17, 2024
6dc900c
Update executors.json
Jan 17, 2024
1d54a83
Update executors.json
Jan 17, 2024
60397e4
Update executors.json
Jan 18, 2024
3f3570f
Update executors.json
Jan 18, 2024
2d20c3c
Update executors.json
Jan 18, 2024
704d057
Update executors.json
Jan 18, 2024
f2636f2
Update executors.json
Jan 18, 2024
b4cce8f
Update executors.json
Jan 18, 2024
804daee
Update executors.json
Jan 19, 2024
3a53067
Update executors.json
Jan 22, 2024
791cb18
Update executors.json
Jan 22, 2024
0cca7ee
Update executors.json
Jan 22, 2024
933be7c
Update executors.json
Jan 22, 2024
b0f16a4
Update executors.json
Jan 23, 2024
86a2050
Update executors.json
Jan 23, 2024
1c22585
added the chart for testkube-logs
emamihe Nov 27, 2023
6461114
some changes in values files
emamihe Nov 28, 2023
e4bbe86
helm chart improvement
emamihe Nov 30, 2023
8288b60
modified test
emamihe Nov 30, 2023
e0cc257
fix: added logs chart to main testkube chart
exu Jan 19, 2024
5341014
fix: added helm charts for logs-service
exu Jan 19, 2024
ffd507b
fix: name override
exu Jan 19, 2024
ae12039
enable logs service
ypoplavs Jan 23, 2024
7b0f7f0
disable logs service
ypoplavs Jan 23, 2024
5f6c5c3
Update executors.json
Jan 23, 2024
4c5df26
Update executors.json
Jan 23, 2024
55c7609
fix: container executor logs sidecar fix (#713)
exu Jan 24, 2024
cc1188b
Update executors.json
Jan 24, 2024
9a5105b
Update executors.json
Jan 24, 2024
db08fa1
Update executors.json
Jan 24, 2024
b5a4931
fix: allow setting pathtype for testkube api and dashboard ingress
fulgas Jan 17, 2024
cbf1b83
fix: set prefix as a string rather than a function
fulgas Jan 24, 2024
53aaced
Update executors.json
Jan 24, 2024
8b8aa05
Update executors.json
Jan 24, 2024
9a728a0
Update executors.json
Jan 24, 2024
c8991e9
Update executors.json
Jan 25, 2024
4d9c466
Merge branch 'main' into Release/v1.16.25
vsukhin Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/helm-deploy-testkube-charts-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
git pull origin develop

export image_tag=${{ github.event.client_payload.image_tag_api }}
export executor_names="artillery curl cypress ginkgo gradle init jmeter jmeterd k6 kubepug maven playwright postman scraper soapui tracetest zap"
export executor_names="artillery curl cypress ginkgo gradle init jmeter jmeterd k6 kubepug maven playwright postman scraper soapui tracetest zap logs-sidecar"
for executor_name in $executor_names; do
sed -i "s/\(\"image\":.*$executor_name.*:\)[^\"]*\(\"\)/\1$image_tag\2/" ./charts/testkube-api/executors.json
done
Expand Down Expand Up @@ -238,4 +238,4 @@ jobs:
SLACK_USERNAME: GitHub
SLACK_LINK_NAMES: true
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_FOOTER: "Kubeshop --> TestKube"
SLACK_FOOTER: "Kubeshop --> TestKube"
15 changes: 7 additions & 8 deletions .github/workflows/helm-deploy-testkube-charts-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
repository_dispatch:
types:
[
trigger-workflow-api-release,
trigger-workflow-dashboard-release,
trigger-workflow-operator-release,
trigger-workflow-api-release,
trigger-workflow-dashboard-release,
trigger-workflow-operator-release,
]

env:
Expand All @@ -18,7 +18,6 @@ env:
DEPLOYMENT_NAME: testkube-integration # Add your deployment name here.
ENV: stage


jobs:
release_charts_if_image_updated:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -58,7 +57,7 @@ jobs:
git pull origin develop

export image_tag=${{ github.event.client_payload.image_tag_api }}
export executor_names="artillery curl cypress ginkgo gradle init jmeter jmeterd k6 kubepug maven playwright postman scraper soapui tracetest zap"
export executor_names="artillery curl cypress ginkgo gradle init jmeter jmeterd k6 kubepug maven playwright postman scraper soapui tracetest zap logs-sidecar"
for executor_name in $executor_names; do
sed -i "s/\(\"image\":.*$executor_name.*:\)[^\"]*\(\"\)/\1$image_tag\2/" ./charts/testkube-api/executors.json
done
Expand Down Expand Up @@ -207,10 +206,10 @@ jobs:

- name: Run Executor tests
run: kubectl testkube run testsuite staging-testsuite -f --git-branch develop --namespace ${{ env.DEPLOYMENT_NAME }}

- name: Run Dashboard E2E tests
run: kubectl testkube run test dashboard-e2e-tests -f --variable TESTKUBE_NAMESPACE=${{ env.DEPLOYMENT_NAME }} --namespace ${{ env.DEPLOYMENT_NAME }}

notify_slack_if_test_suite_stage_succeeds:
runs-on: ubuntu-latest
needs: test_suite_run
Expand Down Expand Up @@ -242,4 +241,4 @@ jobs:
SLACK_USERNAME: GitHub
SLACK_LINK_NAMES: true
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_FOOTER: "Kubeshop --> TestKube"
SLACK_FOOTER: "Kubeshop --> TestKube"
2 changes: 1 addition & 1 deletion .github/workflows/helm-releaser-testkube-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |-
helm upgrade --install --atomic --timeout 180s testkube helm-charts/testkube --namespace testkube --create-namespace --values ./charts/testkube/values-demo.yaml --debug --set testkube-api.cliIngress.oauth.clientID=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_ID }} --set testkube-api.cliIngress.oauth.clientSecret=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_SECRET }} --set testkube-api.minio.storage=80Gi --set mongodb.livenessProbe.enabled=false --set mongodb.readinessProbe.enabled=false
helm upgrade --install --atomic --timeout 180s testkube helm-charts/testkube --namespace testkube --create-namespace --values ./charts/testkube/values-demo.yaml --debug --set testkube-api.cliIngress.oauth.clientID=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_ID }} --set testkube-api.cliIngress.oauth.clientSecret=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_SECRET }} --set mongodb.livenessProbe.enabled=false --set mongodb.readinessProbe.enabled=false

notify_slack_if_deploy_dev_succeeds:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |-
helm upgrade --install --atomic --timeout 180s testkube helm-charts/testkube --namespace testkube --create-namespace --values ./charts/testkube/values-demo.yaml --debug --set testkube-api.cliIngress.oauth.clientID=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_ID }} --set testkube-api.cliIngress.oauth.clientSecret=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_SECRET }} --set testkube-api.minio.storage=80Gi --set mongodb.livenessProbe.enabled=false --set mongodb.readinessProbe.enabled=false
helm upgrade --install --atomic --timeout 180s testkube helm-charts/testkube --namespace testkube --create-namespace --values ./charts/testkube/values-demo.yaml --debug --set testkube-api.cliIngress.oauth.clientID=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_ID }} --set testkube-api.cliIngress.oauth.clientSecret=${{ secrets.TESTKUBE_DEMO_OAUTH_CLIENT_SECRET }} --set mongodb.livenessProbe.enabled=false --set mongodb.readinessProbe.enabled=false

notify_slack_if_deploy_dev_succeeds:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion charts/testkube-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# testkube-api

![Version: 1.14.6](https://img.shields.io/badge/Version-1.14.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.14.6](https://img.shields.io/badge/AppVersion-1.14.6-informational?style=flat-square)
![Version: 1.15.2](https://img.shields.io/badge/Version-1.15.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.15.2](https://img.shields.io/badge/AppVersion-1.15.2-informational?style=flat-square)

A Helm chart for Testkube api

Expand Down Expand Up @@ -45,9 +45,11 @@ A Helm chart for Testkube api
| cloud.migrate | string | `""` | |
| cloud.orgId | string | `""` | |
| cloud.url | string | `"agent.testkube.io:443"` | |
| cloud.uiUrl | string | `""` | |
| clusterName | string | `""` | |
| configValues | string | `""` | |
| dashboardUri | string | `""` | |
| dnsPolicy | string | `""` | |
| disableMongoMigrations | bool | `false` | |
| enableSecretsEndpoint | bool | `false` | |
| executors | string | `""` | |
Expand All @@ -57,6 +59,7 @@ A Helm chart for Testkube api
| global.imagePullSecrets | list | `[]` | |
| global.imageRegistry | string | `""` | |
| global.labels | object | `{}` | |
| hostNetwork | string | `""` | |
| httpReadBufferSize | int | `8192` | |
| image.digest | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
Expand Down
25 changes: 25 additions & 0 deletions charts/testkube-api/job-container-template.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,31 @@ spec:
{{- end }}
{{- end }}
containers:
{{ if .Features.LogsV2 -}}
- name: "{{ .Name }}-logs"
{{- if .Registry }}
image: {{ .Registry }}/{{ .LogSidecarImage }}
{{- else }}
image: {{ .LogSidecarImage }}
{{- end }}
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: DEBUG
value: {{ .Debug }}
- name: NAMESPACE
value: {{ .Namespace }}
- name: NATS_URI
value: {{ .NatsUri }}
- name: GROUP
value: test
- name: SOURCE
value: "test:{{ .Name }}"
- name: ID
value: "{{ .Name }}"
{{- end }}
- name: "{{ .Name }}"
{{- if .Registry }}
image: {{ .Registry }}/{{ .Image }}
Expand Down
21 changes: 21 additions & 0 deletions charts/testkube-api/job-scraper-template.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,27 @@ spec:
template:
spec:
containers:
{{ if .Features.LogsV2 -}}
- name: "{{ .Name }}-logs"
image: {{ .Registry }}/{{ .LogSidecarImage }}
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: DEBUG
value: {{ .Debug }}
- name: NAMESPACE
value: {{ .Namespace }}
- name: NATS_URI
value: {{ .NatsUri }}
- name: ID
value: {{ .Name }}
- name: GROUP
value: scraper
- name: SOURCE
value: "scraper:{{ .Name }}"
{{- end }}
- name: {{ .Name }}-scraper
{{- if .Registry }}
image: {{ .Registry }}/{{ .ScraperImage }}
Expand Down
25 changes: 25 additions & 0 deletions charts/testkube-api/job-template.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,31 @@ spec:
{{- end }}
{{- end }}
containers:
{{ if .Features.LogsV2 -}}
- name: "{{ .Name }}-logs"
{{- if .Registry }}
image: {{ .Registry }}/{{ .LogSidecarImage }}
{{- else }}
image: {{ .LogSidecarImage }}
{{- end }}
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: DEBUG
value: {{ .Debug }}
- name: NAMESPACE
value: {{ .Namespace }}
- name: NATS_URI
value: {{ .NatsUri }}
- name: ID
value: {{ .Name }}
- name: GROUP
value: test
- name: SOURCE
value: "test:{{ .Name }}"
{{- end }}
- name: "{{ .Name }}"
{{- if .Registry }}
image: {{ .Registry }}/{{ .Image }}
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube-api/slave-pod-template.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
{{- if and .ArtifactRequest.VolumeMountPath .ArtifactRequest.StorageClassName }}
- name: artifact-volume
persistentVolumeClaim:
claimName: {{ .Name }}-pvc
claimName: {{ .JobName }}-pvc
{{- end }}
{{- end }}
{{- range $configmap := .EnvConfigMaps }}
Expand Down
22 changes: 22 additions & 0 deletions charts/testkube-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,19 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
{{- end }}
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
env:
{{- if .Values.global.features.logsV2 }}
- name: FF_LOGS_V2
value: "{{ .Values.global.features.logsV2 }}"
{{- end }}
- name: APISERVER_PORT
value: "{{ .Values.service.port }}"
- name: API_MONGO_DSN
Expand Down Expand Up @@ -276,7 +286,19 @@ spec:
{{- if .Values.cloud.url }}
- name: TESTKUBE_CLOUD_URL
value: "{{ .Values.cloud.url }}"
{{- end }}
{{- if .Values.cloud.uiUrl}}
- name: TESTKUBE_CLOUD_UI_URL
value: "{{ .Values.cloud.uiUrl }}"
{{- end}}
{{- if not .Values.cloud.tls.enabled }}
- name: TESTKUBE_PRO_TLS_INSECURE
value: "true"
{{- end }}
{{- if .Values.cloud.tls.skipVerify }}
- name: TESTKUBE_PRO_SKIP_VERIFY
value: "true"
{{- end }}
{{- if .Values.cloud.orgId }}
- name: TESTKUBE_CLOUD_ORG_ID
value: "{{ .Values.cloud.orgId }}"
Expand Down
1 change: 1 addition & 0 deletions charts/testkube-api/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ metadata:
{{- include "global.tplvalues.render" ( dict "value" .Values.global.annotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}

6 changes: 3 additions & 3 deletions charts/testkube-api/templates/ui-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ metadata:
{{- include "global.tplvalues.render" ( dict "value" .Values.global.labels "context" $ ) | nindent 4 }}
{{- end }}
annotations:
{{- if and .Values.cliIngress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.Version)) }}
kubernetes.io/ingress.class: {{ .Values.cliIngress.className }}
{{- if and .Values.uiIngress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.Version)) }}
kubernetes.io/ingress.class: {{ .Values.uiIngress.className }}
{{- end }}
{{- if .Values.uiIngress.annotations }}
{{- include "global.tplvalues.render" (dict "value" .Values.uiIngress.annotations "context" $) | nindent 4 }}
Expand Down Expand Up @@ -43,7 +43,7 @@ spec:
http:
paths:
- path: {{ $.Values.uiIngress.path }}
pathType: Prefix
pathType: {{ default "Prefix" $.Values.uiIngress.pathType }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.Version }}
service:
Expand Down
33 changes: 30 additions & 3 deletions charts/testkube-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ global:
imagePullSecrets: []
labels: {}
annotations: {}
features:
logsV2: false

### @section Common parameters
## Kubernetes version (using Helm capabilities if not set)
Expand Down Expand Up @@ -53,14 +55,16 @@ image:
nameOverride: ""
fullnameOverride: ""

## Custom job-template.yml that will passed to Testkube API
## Custom job-template.yml that will be passed to Testkube API
configValues: ""

## Testkube API Deployment parameters
## Running Testkube in Agent mode
cloud:
## URL of the Cloud Saas Control Plane
url: "agent.testkube.io:443"
## URL of the Cloud UI
uiUrl: ""
## License Key
key: ""
## Organization ID
Expand All @@ -69,6 +73,11 @@ cloud:
envId: ""
## true if migration from OSS
migrate: ""
tls:
## Toggle should the connection to Agent API in Cloud/Enterprise use secure GRPC (GRPCS) (if false, it will use insecure GRPC)
enabled: true
## Toggle should the client skip verifying the Agent API server cert in Cloud/Enterprise
skipVerify: false
## Retrieve cloud information from existing secret
existingSecret:
## Name of the secret. If set, this will be used instead of the above values
Expand Down Expand Up @@ -116,8 +125,8 @@ templates:
scraperContainer: ""
## Base64 encoded PVC Container template
pvcContainer: ""
## Base64 encoded Slave Pod template
slavePod: ""
## Base64 encoded Slave Pod template
slavePod: ""

## base64 encoded executors.json alike data
executors: ""
Expand Down Expand Up @@ -185,6 +194,12 @@ affinity: {}
## Specify priorityClassName for Testkube API Deployment
priorityClassName: ""

## Specify hostNetwork for Testkube API Deployment
hostNetwork: ""

## Specify dnsPolicy for Testkube API Deployment
dnsPolicy: ""

## Additional volumes to be added
## ref: https://kubernetes.io/docs/concepts/storage/volumes/
additionalVolumes: []
Expand Down Expand Up @@ -252,6 +267,16 @@ serviceAccount:
## If not set and create is true, a name is generated using the fullname template
name: ""

## Logs service and sidecar service account parameters
logsServiceAccount:
## Specifies whether a service account should be created
create: true
## Annotations to add to the service account
annotations: {}
## The name of the service account to use.
## If not set and create is true, a name is generated using the fullname template
name: ""

## Test Job ServiceAccount parameters
testServiceAccount:
## Specifies whether a service account should be created
Expand Down Expand Up @@ -424,6 +449,8 @@ uiIngress:
annotations: {}
## The Path to Nginx.
path: /results/(v\d/executions.*)
## The PathType to Nginx.
pathType: Prefix
## Hostnames must be provided if Ingress is enabled.
hosts: []
# - testkube.example.com
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube-dashboard/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
http:
paths:
- path: {{ $.Values.ingress.path }}
pathType: Prefix
pathType: {{ default "Prefix" $.Values.ingress.pathType }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.Version }}
service:
Expand Down
2 changes: 2 additions & 0 deletions charts/testkube-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ ingress:
annotations: {}
## The Path to Nginx.
path: /
## The PathType to Nginx.
pathType: Prefix
## Hostnames must be provided if Ingress is enabled.
hosts: []
# - testkube.example.com
Expand Down
Loading