[AAI] Add variables for HEAP and METASPACE sizes
[oom.git] / kubernetes / aai / components / aai-resources / values.yaml
index eb06c8f..7615f4b 100644 (file)
@@ -34,8 +34,6 @@ global: # global defaults
     migration:
       enabled: false
 
-  aafEnabled: false
-
   config:
     # Specifies that the cluster connected to a dynamic
     # cluster being spinned up by kubernetes deployment
@@ -177,6 +175,12 @@ config:
     # Specifies if the bulk can be override and if it can the value
     override: false
 
+  # environment variables added to the launch of the image in deployment
+  env:
+    MIN_HEAP_SIZE: "512m"
+    MAX_HEAP_SIZE: "1024m"
+    MAX_METASPACE_SIZE: "512m"
+
 nodeSelector: {}
 
 affinity: {}
@@ -199,7 +203,7 @@ service:
   internalPort: 8447
   portName2: tcp-5005
   internalPort2: 5005
-  portName3: aai-resources-8448
+  portName3: http-resources
   internalPort3: 8448
   terminationGracePeriodSeconds: 120
   sessionAffinity: None
@@ -207,6 +211,12 @@ service:
 ingress:
   enabled: false
 
+serviceMesh:
+  authorizationPolicy:
+    authorizedPrincipals:
+      - serviceAccount: aai-read
+      - serviceAccount: consul-read
+
   # We usually recommend not to specify default resources and to leave this as a conscious
   # choice for the user. This also increases chances charts run on environments with little
   # resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -238,7 +248,7 @@ resources:
       memory: 8Gi
     requests:
       cpu: 2
-      memory: 4Gi
+      memory: 6Gi
   unlimited: {}
 
 metrics: