Skip to content

Commit

Permalink
Add Markdown Diff Flag (#87)
Browse files Browse the repository at this point in the history
Add flag to enable runatlantis/atlantis#1751
so that we can use color comments. Defaulted to false so no change by
default.
  • Loading branch information
philnielsen authored Nov 8, 2021
1 parent 6b719d3 commit e5c22bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ spec:
- name: ATLANTIS_DISABLE_REPO_LOCKING
value: {{ .Values.disableRepoLocking | quote }}
{{- end }}
{{- if .Values.enableDiffMarkdownFormat }}
- name: ATLANTIS_ENABLE_DIFF_MARKDOWN_FORMAT
value: {{ .Values.enableDiffMarkdownFormat | quote }}
{{- end }}
{{- if .Values.defaultTFVersion }}
- name: ATLANTIS_DEFAULT_TF_VERSION
value: {{ .Values.defaultTFVersion }}
Expand Down
3 changes: 3 additions & 0 deletions charts/atlantis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ disableApplyAll: false
# disableRepoLocking stops atlantis locking projects and or workspaces when running terraform
disableRepoLocking: false

# Use Diff Markdown Format for color coding diffs
enableDiffMarkdownFormat: false

# We only need to check every 60s since Atlantis is not a high-throughput service.
livenessProbe:
enabled: true
Expand Down

0 comments on commit e5c22bf

Please sign in to comment.