Skip to content

Commit c2a2117

Browse files
authored
feat: [TKC-4122] allow disabling runner capability (#1045)
1 parent 1124dc2 commit c2a2117

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/testkube-runner/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ spec:
163163
securityContext: {{ include "testkube-runner.containerSecurityContext" . | nindent 12 }}
164164
env:
165165
# Runner configuration
166+
{{- if not .Values.runner.enabled }}
167+
- name: "DISABLE_RUNNER"
168+
value: "true"
169+
{{- end }}
166170
{{- if .Values.runner.secretRef.name }}
167171
- name: "TESTKUBE_PRO_AGENT_ID"
168172
valueFrom:

charts/testkube-runner/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ global:
1010
enabled: false
1111

1212
runner:
13+
## Enable or disable the runner
14+
enabled: true
1315
## Agent ID
1416
id: ""
1517
## Organization ID

0 commit comments

Comments
 (0)