mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/atlantis] fix the mount collision between repos.yaml and atlantis.yaml (#18434)
* stable/atlantis: fix mount collision when mounting configmap Fixes a mount collision if both `repoConfig` and `config` are set in the values.yaml Kubernetes mounts `config` which contains atlantis.yaml first then in the same dir (/etc/atlantis) mounts repos.yaml over it. So the server will not start since it's looking for `/etc/atlantis/atlantis.yaml` Signed-off-by: Mike Zupan <mike@zcentric.com> * bump the chart version Signed-off-by: Mike Zupan <mike@zcentric.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e677d7f936
commit
1068a628b4
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "v0.8.2"
|
||||
description: A Helm chart for Atlantis https://www.runatlantis.io
|
||||
name: atlantis
|
||||
version: 3.8.3
|
||||
version: 3.8.4
|
||||
keywords:
|
||||
- terraform
|
||||
home: https://www.runatlantis.io
|
||||
|
||||
@@ -265,12 +265,14 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.repoConfig }}
|
||||
- name: repo-config
|
||||
mountPath: /etc/atlantis
|
||||
mountPath: /etc/atlantis/repos.yaml
|
||||
subPath: repos.yaml
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if .Values.config }}
|
||||
- name: config
|
||||
mountPath: /etc/atlantis
|
||||
mountPath: /etc/atlantis/atlantis.yaml
|
||||
subPath: atlantis.yaml
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
|
||||
Reference in New Issue
Block a user