Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ATLANTIS_EXECUTABLE_NAME and ATLANTIS_SILENCE_NO_PROJECTS envs. #307

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ spec:
name: {{ .secretKeyRef.name }}
key: {{ .secretKeyRef.key }}
{{- end }}
{{- if .Values.executableName }}
- name: ATLANTIS_EXECUTABLE_NAME
value: {{ .Values.executableName | quote }}
{{- end }}
{{- if .Values.silenceNoProjects }}
- name: ATLANTIS_SILENCE_NO_PROJECTS
value: {{ .Values.silenceNoProjects | quote }}
{{- end }}
{{- if .Values.allowForkPRs }}
- name: ATLANTIS_ALLOW_FORK_PRS
value: {{ .Values.allowForkPRs | quote }}
Expand Down
6 changes: 6 additions & 0 deletions charts/atlantis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ disableApplyAll: false
# disableRepoLocking stops atlantis locking projects and or workspaces when running terraform
disableRepoLocking: false

# executableName comment command trigger executable name. Defaults to atlantis.
#executableName: "atlantis-development"

# silenceNoProjects will tell Atlantis to ignore PRs if none of the modified files are part of a project defined in the atlantis.yaml file
#silenceNoProjects: true

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

Expand Down
Loading