apiVersion: v1 kind: Pod metadata: name: radvd spec: hostNetwork: true containers: - name: radvd image: radvd command: - "/usr/bin/radvd" - "-C" - "/etc/radvd.conf" {{- if .Values.debugLevel }} - "-d" - {{- .Values.debugLevel | quote }} {{- end }} securityContext: capabilities: add: - NET_BIND_SERVICE - NET_RAW volumeMounts: - name: config-volume mountPath: /etc/radvd.conf volumes: - name: config-volume configMap: # Provide the name of the ConfigMap containing the files you want # to add to the container name: {{ .Chart.Name}}-config-{{ .Release.Name }} {{- if .Values.nodeSelector }} nodeSelector: {{- .Values.nodeSelector | toYaml | nindent 4 }} {{- end }}