Merge "Enable https port"
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
index 77582e5..6231bd9 100644 (file)
@@ -77,8 +77,21 @@ controlpanel:
       tag: 1.0.0
     replicaCount: 1
     service:
-      internalPort: 8080
-      externalPort: 30090
+      allowHttp: true
+      httpName: http
+      internalPort1: 8080
+      targetPort1: 8080
+      externalPort1: 30091
+      httpsName: https
+      internalPort2: 8081
+      targetPort2: 8082
+      externalPort2: 30092
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
 
 # Need to check the external port Availability
 policymanagementservice:
@@ -89,5 +102,18 @@ policymanagementservice:
       name: nonrtric-policy-agent
       tag: 1.0.0
     service:
-      internalPort: 8081
-      externalPort: 30091
\ No newline at end of file
+      allowHttp: true
+      httpName: http
+      internalPort1: 9080
+      targetPort1: 8081
+      externalPort1: 30093
+      httpsName: https
+      internalPort2: 9081
+      targetPort2: 8433
+      externalPort2: 30094
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
\ No newline at end of file