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

feat: testkube-enterprise: add support for controlling legacy tests feature #185

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions charts/testkube-cloud-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ A Helm chart for Testkube Cloud API
| api.email.fromName | string | `""` | Name to use for sending outgoing emails |
| api.features.bootstrapConfig.config | object | `{}` | |
| api.features.bootstrapConfig.enabled | bool | `false` | |
| api.features.disablePersonalOrgs | bool | `false` | |
| api.features.disablePersonalOrgs | bool | `false` | Toggle whether to disable personal organizations when a user signs up for the first time |
| api.features.legacyTests | bool | `false` | Toggle whether to enable support for legacy tests (Test, TestSuite) |
| api.inviteMode | string | `"auto-accept"` | Configure which invitation mode to use (email|auto-accept): email uses SMTP protocol to send email invites and auto-accept immediately adds them |
| api.logServer | object | `{"caFile":"","certFile":"","enabled":false,"grpcAddress":"testkube-logs-service:8089","host":"","keyFile":"","port":"443","secure":"false","skipVerify":"true"}` | External log server connection configuration |
| api.logServer.caFile | string | `""` | TLS CA certificate file |
Expand Down Expand Up @@ -202,4 +203,4 @@ A Helm chart for Testkube Cloud API
| websocketsIngress.labels | object | `{}` | Additional labels to add to the WebSocket Ingress resource |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
2 changes: 2 additions & 0 deletions charts/testkube-cloud-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ spec:
name: api-external-secrets
{{ end }}
{{- end}}
- name: TESTKUBE_ENABLE_LEGACY_TESTS
value: "{{ .Values.api.features.legacyTests }}"
ports:
- name: {{ if .Values.api.tls.serveHTTPS }}https{{ else }}http{{ end }}
containerPort: {{ if .Values.api.tls.serveHTTPS }}{{ .Values.api.tls.apiPort }}{{ else }}8090{{ end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/testkube-cloud-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,13 @@ api:
# -- TTL for the migration job
ttlSecondsAfterFinished: 90
features:
# -- Toggle whether to disable personal organizations when a user signs up for the first time
disablePersonalOrgs: false
bootstrapConfig:
enabled: false
config: {}
# -- Toggle whether to enable support for legacy tests (Test, TestSuite)
legacyTests: false
# -- Configure which invitation mode to use (email|auto-accept): email uses SMTP protocol to send email invites and auto-accept immediately adds them
inviteMode: auto-accept
email:
Expand Down
4 changes: 3 additions & 1 deletion charts/testkube-enterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ A Helm chart for Testkube Enterprise
| testkube-cloud-api.api.debug.enableHttp2Logs | bool | `false` | Toggle whether to enable debug logs by setting the GODEBUG=http2debug=2 |
| testkube-cloud-api.api.email.fromEmail | string | `""` | Email to use for sending outgoing emails |
| testkube-cloud-api.api.email.fromName | string | `""` | Name to use for sending outgoing emails |
| testkube-cloud-api.api.features.disablePersonalOrgs | bool | `false` | Toggle whether to disable personal organizations when a user signs up for the first time |
| testkube-cloud-api.api.features.legacyTests | bool | `false` | Toggle whether to enable support for legacy tests (Test, TestSuite) |
| testkube-cloud-api.api.inviteMode | string | `"auto-accept"` | Configure which invitation mode to use (email|auto-accept): email uses SMTP protocol to send email invites and auto-accept immediately adds them |
| testkube-cloud-api.api.logServer | object | `{"caFile":"","certFile":"","enabled":false,"grpcAddress":"testkube-enterprise-logs-service:8089","keyFile":"","secure":"false","skipVerify":"true"}` | External log server connection configuration |
| testkube-cloud-api.api.logServer.caFile | string | `""` | TLS CA certificate file |
Expand Down Expand Up @@ -252,4 +254,4 @@ A Helm chart for Testkube Enterprise
| testkube-worker-service.resources | object | `{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"75m","memory":"64Mi"}}` | Set resources requests and limits for Testkube Worker Service |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
5 changes: 5 additions & 0 deletions charts/testkube-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ testkube-cloud-api:
ai:
secretRef: ""
api:
features:
# -- Toggle whether to disable personal organizations when a user signs up for the first time
disablePersonalOrgs: false
# -- Toggle whether to enable support for legacy tests (Test, TestSuite)
legacyTests: false
debug:
# -- Toggle whether to enable debug logs by setting the GODEBUG=http2debug=2
enableHttp2Logs: false
Expand Down
Loading