blob: e1d3a563cffe0c64184b98be7e57dc02bc19d63c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{{- if eq .Values.kind "DaemonSet"}}
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: prox
annotations:
k8s.v1.cni.cncf.io/networks: "{{- join "\",\"" .Values.extraInterfaces }}"
spec:
selector:
matchLabels:
app: prox
template:
metadata:
labels:
app: prox
spec:
containers:
- name: prox
image: opnfv/rapid:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
nodeSelector:
{{- .Values.nodeSelector.matchLables | toYaml | nindent 12 }}
{{- end }}
|