mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/atlantis] Add --default-tf-version= and --allow-fork-prs flag (#13299)
* Allow to pass `allow-fork-prs` to atlantis server Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Allow passing `--default-tf-version=` flag when starting atlantis server Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Update README.md Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Set allowForkPRs property default to false Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Bump chart version Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Add extra `#` for comments in values.yaml Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Update comment in values.yaml Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * Update README.md Fix a mismatch between default values in documentation and in `values.yaml` Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
dec5076375
commit
fe164821fb
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user