[VOL-4300]: Resource limits defined
Change-Id: Iad73584a4119dfb82d5059de1ef31283f5c85a9b
diff --git a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
index cbf1436..ccf984e 100644
--- a/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
+++ b/voltha-adapter-openonu/templates/openonu-go-deploy.yaml
@@ -119,3 +119,18 @@
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
+ resources:
+ requests:
+ {{- if .Values.resources.requests.memory }}
+ memory: {{ .Values.resources.requests.memory }}
+ {{- end }}
+ {{- if .Values.resources.requests.cpu }}
+ cpu: {{ .Values.resources.requests.cpu }}
+ {{- end }}
+ limits:
+ {{- if .Values.resources.limits.memory }}
+ memory: {{ .Values.resources.limits.memory }}
+ {{- end }}
+ {{- if .Values.resources.limits.cpu }}
+ cpu: {{ .Values.resources.limits.cpu }}
+ {{- end }}