4 name: {{ template "metallb.fullname" . }}-speaker
6 heritage: {{ .Release.Service | quote }}
7 release: {{ .Release.Name | quote }}
8 chart: {{ template "metallb.chart" . }}
9 app: {{ template "metallb.name" . }}
14 app: {{ template "metallb.name" . }}
16 release: {{ .Release.Name | quote }}
20 heritage: {{ .Release.Service | quote }}
21 release: {{ .Release.Name | quote }}
22 chart: {{ template "metallb.chart" . }}
23 app: {{ template "metallb.name" . }}
25 {{- if .Values.prometheus.scrapeAnnotations }}
27 prometheus.io/scrape: "true"
28 prometheus.io/port: "7472"
32 - key: node-role.kubernetes.io/master
34 serviceAccountName: {{ template "metallb.speakerServiceAccountName" . }}
35 terminationGracePeriodSeconds: 0
39 image: {{ .Values.speaker.image.repository }}:{{ .Values.speaker.image.tag }}
40 imagePullPolicy: {{ .Values.speaker.image.pullPolicy }}
43 - --config={{ template "metallb.configMapName" . }}
45 - name: METALLB_NODE_NAME
48 fieldPath: spec.nodeName
52 fieldPath: status.hostIP
57 {{ toYaml .Values.speaker.resources | indent 10 }}
59 allowPrivilegeEscalation: false
60 readOnlyRootFilesystem: true
69 "beta.kubernetes.io/os": linux
70 {{- with .Values.speaker.nodeSelector }}
71 {{ toYaml . | indent 8 }}
73 {{- with .Values.speaker.tolerations }}
75 {{ toYaml . | indent 8 }}
77 {{- with .Values.speaker.affinity }}
79 {{ toYaml . | indent 8 }}