Skip to content

Commit

Permalink
deploy-agent: add extraArgs option to deploy-agent container
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Sep 16, 2024
1 parent 660cdd8 commit eb3659b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/deploy-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.5
version: 1.5.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/deploy-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
- --buildkit-autodiscovery-scale-graceful-period={{ .gracefulPeriod }}
{{- end }}
{{- end }}
{{- if .Values.deployAgent.extraArgs }}
{{- toYaml .Values.deployAgent.extraArgs | nindent 8 }}
{{- end }}
{{- with .Values.deployAgent.env }}
env: {{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/deploy-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ deployAgent:
volumeMounts: []
securityContext: {}

extraArgs: []

# Docker config file
# See more https://docs.docker.com/engine/reference/commandline/cli/#docker-cli-configuration-file-configjson-properties
dockerConfig: ""
Expand Down

0 comments on commit eb3659b

Please sign in to comment.