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: multi agent connection #942

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
4 changes: 4 additions & 0 deletions charts/testkube-api/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ Define API environment in agent mode
key: {{ .Values.cloud.existingSecret.key }}
name: {{ .Values.cloud.existingSecret.name }}
{{- end -}}
{{- if .Values.cloud.runnerId -}}
- name: TESTKUBE_PRO_RUNNER_ID
value: "{{ .Values.cloud.runnerId }}"
{{- end -}}
{{- if .Values.cloud.url }}
- name: TESTKUBE_CLOUD_URL
value: {{ tpl .Values.cloud.url $ | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/testkube-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ cloud:
orgId: ""
## Environment ID
envId: ""
## runnerId for centralized runners
runnerId: ""
## true if migration from OSS
migrate: ""
tls:
Expand Down
2 changes: 2 additions & 0 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ testkube-api:
uiUrl: ""
# -- Testkube Clouc License Key (for Environment)
key: ""
# -- Testkube Cloud Runner Id
runnerId: ""
tls:
# -- Toggle should the connection to Agent API in Cloud/Enterprise use secure GRPC (GRPCS) (if false, it will use insecure GRPC)
enabled: true
Expand Down
Loading