mirror of https://git.rancher.io/charts
11 lines
298 B
YAML
11 lines
298 B
YAML
|
{{- if .Values.defaultSettings.registrySecret }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ .Values.defaultSettings.registrySecret }}
|
||
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
||
|
type: kubernetes.io/dockerconfigjson
|
||
|
data:
|
||
|
.dockerconfigjson: {{ template "secret" . }}
|
||
|
{{- end }}
|