{{- if .Values.dockerConfig }}
apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
  name: {{ include "hlf-peer.fullname" . }}-dockerconfigjson
data:
  .dockerconfigjson: {{ .Values.dockerConfig }}
{{ end }}
