Add resources field to all addon charts
[multicloud/k8s.git] / kud / deployment_infra / helm / ovn4nfv / values.yaml
1 image:
2   repository: docker.io/integratedcloudnative/ovn4nfv-k8s-plugin
3   pullPolicy: IfNotPresent
4   # Overrides the image tag whose default is the chart appVersion.
5   tag: ""
6 imagePullSecrets: []
7
8 serviceAccount:
9   # Specifies whether a service account should be created
10   create: true
11   # Annotations to add to the service account
12   annotations: {}
13   # The name of the service account to use.
14   # If not set and create is true, a name is generated using the fullname template
15   name:
16
17 nameOverride: ""
18 fullnameOverride: ""
19
20 cni:
21   securityContext:
22     privileged: true
23
24   nodeSelector:
25     beta.kubernetes.io/arch: amd64
26
27   tolerations:
28   - operator: Exists
29     effect: NoSchedule
30
31   resources:
32     requests:
33       cpu: 100m
34       memory: 50Mi
35     limits:
36       cpu: 100m
37       memory: 50Mi
38
39   config:
40     name: ovn4nfv-cni-config
41     ovn4nfv_k8s: |
42       [logging]
43       loglevel=5
44       logfile=/var/log/openvswitch/ovn4k8s.log
45
46       [cni]
47       conf-dir=/etc/cni/net.d
48       plugin=ovn4nfvk8s-cni
49
50       [kubernetes]
51       kubeconfig=/etc/cni/net.d/ovn4nfv-k8s.d/ovn4nfv-k8s.kubeconfig
52     network: |
53       {
54         "name": "ovn4nfv-k8s-plugin",
55         "type": "ovn4nfvk8s-cni",
56         "cniVersion": "0.3.1"
57       }
58
59 nfnAgent:
60   securityContext:
61     runAsUser: 0
62     capabilities:
63       add: ["NET_ADMIN", "SYS_ADMIN", "SYS_PTRACE"]
64     privileged: true
65
66   nodeSelector:
67     beta.kubernetes.io/arch: amd64
68
69   tolerations:
70   - operator: Exists
71     effect: NoSchedule
72
73   resources:
74     requests:
75       cpu: 100m
76       memory: 50Mi
77     limits:
78       cpu: 100m
79       memory: 50Mi
80
81 nfnOperator:
82   nodeSelector: {}
83
84   affinity:
85     podAffinity:
86       requiredDuringSchedulingIgnoredDuringExecution:
87       - labelSelector:
88           matchExpressions:
89           - key: role
90             operator: In
91             values:
92             - ovn-control-plane
93         topologyKey: "kubernetes.io/hostname"
94
95   tolerations:
96   - operator: Exists
97     effect: NoSchedule
98
99   config:
100     name: ovn-controller-network
101     data: |
102       OVN_SUBNET: 10.154.142.0/18
103       OVN_GATEWAYIP: 10.154.142.1/18
104
105   service:
106     type: NodePort
107     port: 50000
108
109   resources: {}
110
111 ovn:
112   image:
113     repository: docker.io/integratedcloudnative/ovn-images
114     pullPolicy: IfNotPresent
115     # Overrides the image tag whose default is the chart appVersion.
116     tag: v2.2.0
117   imagePullSecrets: []
118
119 ovnControlPlane:
120   securityContext:
121     capabilities:
122       add: ["SYS_NICE"]
123
124   nodeSelector:
125     beta.kubernetes.io/os: "linux"
126     node-role.kubernetes.io/master: ""
127
128   affinity:
129     podAntiAffinity:
130       requiredDuringSchedulingIgnoredDuringExecution:
131         - labelSelector:
132             matchLabels:
133               role: ovn-control-plane
134           topologyKey: kubernetes.io/hostname
135
136   tolerations:
137   - operator: Exists
138     effect: NoSchedule
139
140   resources:
141     requests:
142       cpu: 500m
143       memory: 300Mi
144
145   nbService:
146     type: ClusterIP
147     port: 6641
148
149   sbService:
150     type: ClusterIP
151     port: 6642
152
153 ovnController:
154   securityContext:
155     runAsUser: 0
156     privileged: true
157
158   nodeSelector:
159     beta.kubernetes.io/os: "linux"
160
161   affinity: {}
162
163   tolerations:
164   - operator: Exists
165     effect: NoSchedule
166
167   resources:
168     requests:
169       cpu: 200m
170       memory: 300Mi
171     limits:
172       cpu: 1000m
173       memory: 800Mi
174
175 ## RBAC parameteres
176 ## https://kubernetes.io/docs/reference/access-authn-authz/rbac/
177 ##
178 rbac:
179   create: true