From 50612e2660209231d67b131b2e4aaa250bb46942 Mon Sep 17 00:00:00 2001 From: Alexandr Kozlenkov Date: Tue, 12 Nov 2019 20:51:11 +0300 Subject: [PATCH] Added check sshGitServer and gitConfig for creating volumeMounts (#1370) * Added check sshGitServer and gitConfig for creating volumeMounts * Chart's version bump * Charts version bump * Bumped version --- charts/athens-proxy/Chart.yaml | 2 +- charts/athens-proxy/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/athens-proxy/Chart.yaml b/charts/athens-proxy/Chart.yaml index 6b0801fc..2863f725 100644 --- a/charts/athens-proxy/Chart.yaml +++ b/charts/athens-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: athens-proxy -version: 0.3.6 +version: 0.3.7 appVersion: 0.6.1 description: The proxy server for Go modules icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png diff --git a/charts/athens-proxy/templates/deployment.yaml b/charts/athens-proxy/templates/deployment.yaml index 810b43fd..7cc08f07 100644 --- a/charts/athens-proxy/templates/deployment.yaml +++ b/charts/athens-proxy/templates/deployment.yaml @@ -147,7 +147,7 @@ spec: {{- end }} ports: - containerPort: 3000 - {{- if or (eq .Values.storage.type "disk") .Values.upstreamProxy.enabled .Values.netrc.enabled }} + {{- if or (eq .Values.storage.type "disk") .Values.upstreamProxy.enabled .Values.netrc.enabled .Values.sshGitServers .Values.gitconfig.enabled}} volumeMounts: {{- end }} {{- if eq .Values.storage.type "disk" }}