{{- if and .Values.grpc .Values.certs.grpc.create }}
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
{{ include "dex.labels" . | indent 4 }}
  name: {{ template "dex.fullname" . }}-openssl-config
data:
  openssl.conf: |
{{ .Files.Get "config/openssl.conf" | indent 4 }}
{{- end }}
