Skip to content

Commit

Permalink
feat: added runner id to the agent runner
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Jul 24, 2024
1 parent fcb6899 commit fd0a50e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
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

0 comments on commit fd0a50e

Please sign in to comment.