Skip to content

Commit

Permalink
Merge pull request #32 from heruscode/feat/extra-args
Browse files Browse the repository at this point in the history
Add extraArgs into StatefulSet
  • Loading branch information
lkysow authored Apr 23, 2021
2 parents 08dee71 + 4ed6fae commit 23ae1d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/atlantis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v0.16.1
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 3.12.11
version: 3.12.12
keywords:
- terraform
home: https://www.runatlantis.io
Expand Down
3 changes: 3 additions & 0 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ spec:
{{- if .Values.config }}
- --config=/etc/atlantis/atlantis.yaml
{{- end }}
{{- if .Values.extraArgs }}
{{ toYaml .Values.extraArgs | indent 12 | trim }}
{{- end }}
ports:
- name: atlantis
containerPort: 4141
Expand Down
5 changes: 5 additions & 0 deletions charts/atlantis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,8 @@ initContainers: []
# - name: example
# image: alpine:latest
# command: ['sh', '-c', 'echo The init container is running! && sleep 10']

extraArgs: []
# extraArgs:
# - --disable-autoplan
# - --disable-repo-locking

0 comments on commit 23ae1d5

Please sign in to comment.