diff --git a/stable/atlantis/Chart.yaml b/stable/atlantis/Chart.yaml index 7da90acb3f..ab9db22eef 100644 --- a/stable/atlantis/Chart.yaml +++ b/stable/atlantis/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v0.7.1" description: A Helm chart for Atlantis https://www.runatlantis.io name: atlantis -version: 3.0.0 +version: 3.1.0 keywords: - terraform home: https://www.runatlantis.io diff --git a/stable/atlantis/README.md b/stable/atlantis/README.md index 72e9e94d92..883f3db494 100644 --- a/stable/atlantis/README.md +++ b/stable/atlantis/README.md @@ -46,6 +46,8 @@ The following options are supported. See [values.yaml](values.yaml) for more de | `logLevel` | Level to use for logging. Either debug, info, warn, or error. | n/a | | `orgWhiteList` | Whitelist of repositories from which Atlantis will accept webhooks. **This value must be set for Atlantis to function correctly.** Accepts wildcard characters (`*`). Multiple values may be comma-separated. | none | | `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` | | `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 | diff --git a/stable/atlantis/templates/statefulset.yaml b/stable/atlantis/templates/statefulset.yaml index fb184ad0ac..a28c4997b0 100644 --- a/stable/atlantis/templates/statefulset.yaml +++ b/stable/atlantis/templates/statefulset.yaml @@ -74,6 +74,12 @@ spec: {{- end}} args: - server + {{- if .Values.allowForkPRs }} + - --allow-fork-prs + {{- end }} + {{- if .Values.defaultTFVersion }} + - --default-tf-version={{ .Values.defaultTFVersion }} + {{- end }} ports: - name: atlantis containerPort: 4141 diff --git a/stable/atlantis/values.yaml b/stable/atlantis/values.yaml index 1f302f8b4d..20a64bb8df 100644 --- a/stable/atlantis/values.yaml +++ b/stable/atlantis/values.yaml @@ -103,6 +103,12 @@ image: # apply: # steps: [apply] +# allowForkPRs enables atlantis to run on a fork Pull Requests +allowForkPRs: false + +## defaultTFVersion set the default terraform version to be used in atlantis server +# defaultTFVersion: v0.12.0 + # We only need to check every 60s since Atlantis is not a high-throughput service. livenessProbe: enabled: true