| name: {{ include "goldpinger.fullname" . }} |
| {{- include "goldpinger.labels" . | nindent 4 }} |
| {{- with .Values.service.labels }} |
| {{ toYaml . | indent 4 }} |
| {{- with .Values.service.annotations }} |
| {{ toYaml . | indent 4 }} |
| type: {{ .Values.service.type }} |
| - port: {{ .Values.service.port }} |
| targetPort: {{ .Values.goldpinger.port }} |
| {{- include "goldpinger.selectorLabels" . | nindent 4 }} |
| {{- if .Values.service.loadBalancerSourceRanges }} |
| loadBalancerSourceRanges: |
| {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }} |