Skip to content

Commit

Permalink
Fix SSH Git Servers secret (#54)
Browse files Browse the repository at this point in the history
Fixes #53 by removing the dash that trims the prefix.
  • Loading branch information
hilariocoelho authored Jan 22, 2024
1 parent 2a23074 commit 969185d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/athens-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: athens-proxy
version: 0.9.1
version: 0.9.2
appVersion: v0.13.1
description: The proxy server for Go modules
icon: https://raw.githubusercontent.com/gomods/athens/main/docs/static/banner.png
Expand Down
4 changes: 2 additions & 2 deletions charts/athens-proxy/templates/secret-ssh-git-servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
type: Opaque
data:
{{- range $server := .Values.sshGitServers }}
{{- if (not $server.existingSecret) -}}
{{ if (not $server.existingSecret) }}
id_rsa-{{ $server.host }}: {{ $server.privateKey | b64enc | quote }}
{{- end -}}
{{ end }}
{{- end }}
{{- end -}}

0 comments on commit 969185d

Please sign in to comment.