Skip to content

Commit

Permalink
Allow supplying task cap
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
MJRichardson committed Mar 16, 2023
1 parent 19195f6 commit d7fe2fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/octopus-deploy/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ spec:
{{- if not .Values.octopus.enableDockerInDocker }}
- name: DISABLE_DIND
value: !!str "Y"
{{- end }}
{{- if .Values.octopus.taskCap }}
- name: TASK_CAP
value: {{.Values.octopus.taskCap}}
{{- end }}
- name: OCTOPUS_INSTALLED_VIA_HELM
value: "true"
Expand Down
3 changes: 3 additions & 0 deletions charts/octopus-deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ octopus:
tentaclePort: 10943
# The number of server nodes to maintain
replicaCount: 1
# The Task Cap for the created nodes https://octopus.com/docs/support/increase-the-octopus-server-task-cap
# Defaults to 5
taskCap:
# The built in worker can use execution containers to run steps inside special Docker images.
# https://octopus.com/docs/deployment-process/execution-containers-for-workers.
# This requires supporting Docker in Docker, which in turn means the Octopus image must be run with
Expand Down

0 comments on commit d7fe2fa

Please sign in to comment.