[stable/atlantis] Add option to pass --disable-apply-all (#14242)

Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com>
This commit is contained in:
Andy
2019-06-25 09:28:37 -07:00
committed by Kubernetes Prow Robot
parent d23b796ba0
commit 9f21669a5d
4 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "v0.7.1"
appVersion: "v0.8.2"
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 3.5.4
version: 3.6.0
keywords:
- terraform
home: https://www.runatlantis.io
+1
View File
@@ -56,6 +56,7 @@ The following options are supported. See [values.yaml](values.yaml) for more de
| `repoConfig` | [Server Side Repo Configuration](https://www.runatlantis.io/docs/server-side-repo-config.html) as a raw YAML string. Configuration is stored in ConfigMap. | n/a |
| `defaultTFVersion` | Default Terraform version to be used by atlantis server | n/a |
| `allowForkPRs` | Allow atlantis to run on fork Pull Requests | `false` |
| `disableApplyAll` | Disables running `atlantis apply` without any flags | `false` |
| `serviceAccount.create` | Whether to create a Kubernetes ServiceAccount if no account matching `serviceAccount.name` exists. | `true` |
| `serviceAccount.name` | Name of the Kubernetes ServiceAccount under which Atlantis should run. If no value is specified and `serviceAccount.create` is `true`, Atlantis will be run under a ServiceAccount whose name is the FullName of the Helm chart's instance, else Atlantis will be run under the `default` ServiceAccount. | n/a |
| `serviceAccountSecrets.credentials` | JSON string representing secrets for a Google Cloud Platform production service account. Only applicable if hosting Atlantis on GKE. | n/a |
@@ -99,6 +99,10 @@ spec:
- name: ATLANTIS_ALLOW_FORK_PRS
value: {{ .Values.allowForkPRs | quote }}
{{- end }}
{{- if .Values.disableApplyAll }}
- name: ATLANTIS_DISABLE_APPLY_ALL
value: {{ .Values.disableApplyAll | quote }}
{{- end }}
{{- if .Values.defaultTFVersion }}
- name: ATLANTIS_DEFAULT_TF_VERSION
value: {{ .Values.defaultTFVersion }}
+4 -1
View File
@@ -79,7 +79,7 @@ serviceAccountSecrets:
image:
repository: runatlantis/atlantis
tag: v0.7.1
tag: v0.8.2
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
@@ -113,6 +113,9 @@ allowForkPRs: false
## defaultTFVersion set the default terraform version to be used in atlantis server
# defaultTFVersion: v0.12.0
# disableApplyAll disables running `atlantis apply` without any flags
disableApplyAll: false
# We only need to check every 60s since Atlantis is not a high-throughput service.
livenessProbe:
enabled: true