-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes gomods/athens#5 closes #25 closes #24 --------- Co-authored-by: Nicholas Wiersma <[email protected]>
- Loading branch information
1 parent
c7fb94f
commit 1ee7d70
Showing
4 changed files
with
74 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: {{ template "fullname" . }}-secret | ||
type: Opaque | ||
data: | ||
{{- if .Values.storage.mongo.url }} | ||
ATHENS_MONGO_STORAGE_URL: {{ .Values.storage.mongo.url | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.s3.accessKey }} | ||
AWS_ACCESS_KEY_ID: {{ .Values.storage.s3.accessKey | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.s3.secretKey }} | ||
AWS_SECRET_ACCESS_KEY: {{ .Values.storage.s3.secretKey | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.s3.sessionToken }} | ||
AWS_SESSION_TOKEN: {{ .Values.storage.s3.sessionToken | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.gcp.serviceAccount }} | ||
ATHENS_STORAGE_GCP_JSON_KEY: {{ .Values.storage.gcp.serviceAccount | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.minio.accessKey }} | ||
ATHENS_MINIO_ACCESS_KEY_ID: {{ .Values.storage.minio.accessKey | b64enc | quote }} | ||
{{- end }} | ||
{{- if .Values.storage.minio.secretKey }} | ||
ATHENS_MINIO_SECRET_ACCESS_KEY: {{ .Values.storage.minio.secretKey | b64enc | quote }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters