You've already forked athens-proxy-charts
fix: improve chart
This commit is contained in:
19
templates/athens-proxy/secretNetRC.yaml
Normal file
19
templates/athens-proxy/secretNetRC.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- if not .Values.config.netrc.existingSecret.enabled }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
{{- with (include "athens-proxy.secrets.netrc.annotations" . | fromYaml) }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with (include "athens-proxy.secrets.netrc.labels" . | fromYaml) }}
|
||||
labels:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "athens-proxy.fullname" . }}-netrc
|
||||
namespace: {{ .Release.Namespace }}
|
||||
stringData:
|
||||
.netrc: |
|
||||
{{- tpl .Values.config.netrc.secret.content . | nindent 4 }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user