[OOF] Move nginx to a sidecar container
[oom.git] / kubernetes / oof / charts / oof-has / charts / oof-has-api / values.yaml
index ea83587..b9efec0 100755 (executable)
@@ -1,4 +1,5 @@
 # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
+# Copyright (C) 2020 Wipro Limited.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -12,6 +13,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+global: # global defaults
+  nodePortPrefix: 302
+
 service:
   type: NodePort
   name: oof-has-api
@@ -19,6 +23,13 @@ service:
   internalPort: 8091
   nodePort: 75
   portName: oof-has-api
+
+#sidecar container image
+nginx:
+  image: bitnami/nginx:1.18-debian-10
+#backend container info
+uwsgi:
+  internalPort: 8080
 ingress:
   enabled: false
 replicaCount: 1
@@ -42,6 +53,7 @@ resources:
     requests:
       memory: 2Gi
       cpu: 1000m
+  unlimited: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 10
@@ -52,3 +64,13 @@ liveness:
 readiness:
   initialDelaySeconds: 10
   periodSeconds: 10
+
+
+ingress:
+  enabled: false
+  service:
+    - baseaddr: "oof-has-api.onap"
+      name: "oof-has-api"
+      port: 8091
+  config:
+    ssl: "redirect"