mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/atlantis] Pass server configurations via environment variable (#13321)
* [stable/atlantis] pass flags as environment variable Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * [stable/atlantis] Bump chart version (MINOR) Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com> * [stable/atlantis] Update README.md Add notes to indicate that server configurations are passed via environment variables Signed-off-by: Andy Aldo Dharmawan <andyaldodharmawan@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b08ef62807
commit
7ef5561d54
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "v0.7.1"
|
||||
description: A Helm chart for Atlantis https://www.runatlantis.io
|
||||
name: atlantis
|
||||
version: 3.1.0
|
||||
version: 3.2.0
|
||||
keywords:
|
||||
- terraform
|
||||
home: https://www.runatlantis.io
|
||||
|
||||
@@ -62,6 +62,8 @@ The following options are supported. See [values.yaml](values.yaml) for more de
|
||||
| `ingress.host` | Domain name Kubernetes Ingress rule looks for. Set it to the domain Atlantis will be hosted on. | `chart-example.local` |
|
||||
| `ingress.tls` | Kubernetes tls block. See [Kubernetes docs](https://kubernetes.io/docs/concepts/services-networking/ingress/#tls) for details. | `[]` |
|
||||
|
||||
**NOTE**: All the [Server Configurations](https://www.runatlantis.io/docs/server-configuration.html) are passed as [Environment Variables](https://www.runatlantis.io/docs/server-configuration.html#environment-variables).
|
||||
|
||||
|
||||
## Upgrading
|
||||
### From 2.* to 3.*
|
||||
|
||||
@@ -74,12 +74,6 @@ 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
|
||||
@@ -88,6 +82,14 @@ spec:
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.allowForkPRs }}
|
||||
- name: ATLANTIS_ALLOW_FORK_PRS
|
||||
value: {{ .Values.allowForkPRS }}
|
||||
{{- end }}
|
||||
{{- if .Values.defaultTFVersion }}
|
||||
- name: ATLANTIS_DEFAULT_TF_VERSION
|
||||
value: {{ .Values.defaultTFVersion }}
|
||||
{{- end }}
|
||||
{{- if .Values.logLevel }}
|
||||
- name: ATLANTIS_LOG_LEVEL
|
||||
value: {{ .Values.logLevel | quote}}
|
||||
|
||||
Reference in New Issue
Block a user