WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a55d939

Browse files
fix(helm-chart): prioritize orgAllowlist (#373)
1 parent 2895061 commit a55d939

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

charts/atlantis/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: v1
33
appVersion: v0.27.2
44
description: A Helm chart for Atlantis https://www.runatlantis.io
55
name: atlantis
6-
version: 4.24.0
6+
version: 4.24.1
77
keywords:
88
- terraform
99
home: https://www.runatlantis.io

charts/atlantis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ extraManifests:
155155
| netrcSecretName | string | `""` | If managing secrets outside the chart for the netrc file, use this variable to reference the secret name |
156156
| nodeSelector | object | `{}` | |
157157
| orgAllowlist | string | `"<replace-me>"` | Replace this with your own repo allowlist. |
158-
| orgWhitelist | string | `"<replace-me>"` | Deprecated in favor of orgAllowlist. |
158+
| orgWhitelist | string | `"<deprecated>"` | Deprecated in favor of orgAllowlist. |
159159
| podMonitor | object | `{"enabled":false,"interval":"30s"}` | Enable this if you're using Google Managed Prometheus. |
160160
| podTemplate.annotations | object | `{}` | Check values.yaml for examples. |
161161
| podTemplate.labels | object | `{}` | |

charts/atlantis/templates/statefulset.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,11 @@ spec:
287287
- name: ATLANTIS_DATA_DIR
288288
value: {{ .Values.atlantisDataDirectory }}
289289
- name: ATLANTIS_REPO_ALLOWLIST
290-
value: {{ toYaml (coalesce .Values.orgWhitelist .Values.orgAllowlist) }}
290+
{{- if .Values.orgAllowlist }}
291+
value: {{ .Values.orgAllowlist | quote }}
292+
{{- else }}
293+
value: {{ .Values.orgWhitelist | quote }}
294+
{{- end }}
291295
- name: ATLANTIS_PORT
292296
value: "4141"
293297
{{- if .Values.repoConfig }}

charts/atlantis/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ atlantisUrl: ""
1818
orgAllowlist: "<replace-me>"
1919

2020
# -- Deprecated in favor of orgAllowlist.
21-
orgWhitelist: "<replace-me>"
21+
orgWhitelist: "<deprecated>"
2222

2323
# -- Specify the log level for Atlantis.
2424
# Accepts: debug, info, warn, or error.

0 commit comments

Comments
 (0)