From 036da7f5f128cdf4f0255a6bc51d8769b78ab9ac Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Mon, 1 Jun 2020 17:11:37 +0200 Subject: [PATCH] Update nonrtric A1 simulator to allow http Change-Id: I536edc0338f27ac4bdcfc1dce039fb65f936488b Issue-ID: NONRTRIC-232 Signed-off-by: RehanRaza --- nonrtric/RECIPE_EXAMPLE/example_recipe.yaml | 1 + nonrtric/helm/a1simulator/templates/statefulset.yaml | 6 +++++- nonrtric/helm/a1simulator/values.yaml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml index 8482f6cf..be156819 100644 --- a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml +++ b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml @@ -58,6 +58,7 @@ a1simulator: name: a1-simulator tag: 1.0.1 service: + allowHttp: true httpName: http internalPort1: 8085 targetPort1: 8085 diff --git a/nonrtric/helm/a1simulator/templates/statefulset.yaml b/nonrtric/helm/a1simulator/templates/statefulset.yaml index d6dc0b30..63019cd5 100644 --- a/nonrtric/helm/a1simulator/templates/statefulset.yaml +++ b/nonrtric/helm/a1simulator/templates/statefulset.yaml @@ -63,6 +63,8 @@ spec: env: - name: A1_VERSION value: OSC_2.1.0 + - name: ALLOW_HTTP + value: {{ .Values.a1simulator.service.allowHttp | quote}} --- kind: StatefulSet @@ -113,4 +115,6 @@ spec: periodSeconds: {{ .Values.a1simulator.liveness.periodSeconds }} env: - name: A1_VERSION - value: STD_1.1.3 \ No newline at end of file + value: STD_1.1.3 + - name: ALLOW_HTTP + value: {{ .Values.a1simulator.service.allowHttp | quote}} \ No newline at end of file diff --git a/nonrtric/helm/a1simulator/values.yaml b/nonrtric/helm/a1simulator/values.yaml index 53715699..c059c383 100644 --- a/nonrtric/helm/a1simulator/values.yaml +++ b/nonrtric/helm/a1simulator/values.yaml @@ -26,6 +26,7 @@ a1simulator: name: a1-simulator tag: 1.0.1 service: + allowHttp: true httpName: http internalPort1: 8085 targetPort1: 8085 -- 2.16.6