| Giorgi Lekveishvili | cccf72f | 2023-05-19 16:13:22 +0400 | [diff] [blame^] | 1 | {{- if .Values.dhParam -}} |
| 2 | apiVersion: v1 | ||||
| 3 | kind: Secret | ||||
| 4 | metadata: | ||||
| 5 | labels: | ||||
| 6 | {{- include "ingress-nginx.labels" . | nindent 4 }} | ||||
| 7 | app.kubernetes.io/component: controller | ||||
| 8 | {{- with .Values.controller.labels }} | ||||
| 9 | {{- toYaml . | nindent 4 }} | ||||
| 10 | {{- end }} | ||||
| 11 | name: {{ include "ingress-nginx.controller.fullname" . }} | ||||
| 12 | namespace: {{ .Release.Namespace }} | ||||
| 13 | data: | ||||
| 14 | dhparam.pem: {{ .Values.dhParam }} | ||||
| 15 | {{- end }} | ||||