rancher-partner-charts/charts/hpe/hpe-flexvolume-driver/templates/hpe-secret.yaml

19 lines
457 B
YAML
Raw Normal View History

2021-06-24 01:55:05 +00:00
---
apiVersion: v1
kind: Secret
metadata:
name: hpe-secret
namespace: {{ .Release.Namespace }}
stringData:
username: {{ .Values.username }}
password: {{ .Values.password }}
{{- if eq .Values.pluginType "cv"}}
backend: {{ .Values.backend }}
servicePort: {{ .Values.servicePort | quote }}
serviceName: {{ .Values.serviceName }}
protocol: "iscsi"
{{- else }}
backend: {{ .Values.backend }}
protocol: {{ .Values.protocol }}
{{- end }}