Skip to content

Commit

Permalink
Merge branch 'main' into Issue-380
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-dyer-sp authored May 7, 2024
2 parents e9ee23e + ef3ced1 commit 14b842d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ spec:
{{- if .Values.gitconfig }}
- name: gitconfig-volume
secret:
defaultMode: 0660
secretName: {{ template "atlantis.fullname" . }}-gitconfig
{{- else if .Values.gitconfigSecretName }}
- name: gitconfig-volume
secret:
defaultMode: 0660
secretName: {{ .Values.gitconfigSecretName }}
{{- end }}
{{- if .Values.netrc }}
Expand Down
2 changes: 2 additions & 0 deletions charts/atlantis/tests/statefulset_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ tests:
value:
name: gitconfig-volume
secret:
defaultMode: 432
secretName: my-release-atlantis-gitconfig
- equal:
path: spec.template.spec.containers[0].volumeMounts[?(@.name ==
Expand All @@ -351,6 +352,7 @@ tests:
value:
name: gitconfig-volume
secret:
defaultMode: 432
secretName: atlantis-gitconfig
- equal:
path: spec.template.spec.containers[0].volumeMounts[?(@.name ==
Expand Down

0 comments on commit 14b842d

Please sign in to comment.