From 231f5de5c60cd9ffa9c7fb211da6ca9980e12b27 Mon Sep 17 00:00:00 2001 From: "Eichhorn, Philipp" Date: Wed, 17 Aug 2022 11:22:05 +0000 Subject: [PATCH] MOB-264: configure ocr-app in cusqa stage --- config/default/cusqa/values.yaml | 3 +++ config/default/templates/smardigo-ocr/deployment.yml | 1 - config/default/templates/smardigo-ocr/ingress.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/default/cusqa/values.yaml b/config/default/cusqa/values.yaml index 06c4e64..e3c1eff 100644 --- a/config/default/cusqa/values.yaml +++ b/config/default/cusqa/values.yaml @@ -5,3 +5,6 @@ smardigo: document: host: https://prodnso-mobene-cusqa-01-connect.smardigo.digital api_token: ZXlKbGJtTWlPaUpCTVRJNFEwSkRMVWhUTWpVMklpd2lZV3huSWpvaVpHbHlJbjAuLlJvTTBqN1BVeDZsaW1KNzdCdzZtYlEuRnBKY3lMeHFiMkt6VnJiR3B3ak9VRmMxX1JlSG52dTQ2VWJHQ2FHS1B1cy5TQUhfcnZIOG5EbGpVZDlVczNUSjF3 + ocr: + host: prodnso-mobene-cusqa-01-ocr.smardigo.digital + api_token: ZXlKbGJtTWlPaUpCTVRJNFEwSkRMVWhUTWpVMklpd2lZV3huSWpvaVpHbHlJbjAuLl92ajdtMXRhdlEzSnJmRmRfSmQzc0EuaFRlMmVBLWZZa21JSEFhRi1jV2tiV2xhcEs5dzVZNFJsRkx6MExMbXVnZy5lY1hoWEZfRmF6Z2RXRDZPdG1fME9B diff --git a/config/default/templates/smardigo-ocr/deployment.yml b/config/default/templates/smardigo-ocr/deployment.yml index 093b620..ff7c8f9 100644 --- a/config/default/templates/smardigo-ocr/deployment.yml +++ b/config/default/templates/smardigo-ocr/deployment.yml @@ -11,7 +11,6 @@ spec: metadata: labels: app: "{{ .Release.Name }}-smardigo-ocr-backend" - spec: spec: containers: - name: "{{ .Release.Name }}-smardigo-ocr-backend" diff --git a/config/default/templates/smardigo-ocr/ingress.yaml b/config/default/templates/smardigo-ocr/ingress.yaml index f141b38..ee40529 100644 --- a/config/default/templates/smardigo-ocr/ingress.yaml +++ b/config/default/templates/smardigo-ocr/ingress.yaml @@ -6,7 +6,7 @@ metadata: cert-manager.io/issue-temporary-certificate: "true" kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/preserve-trailing-slash: "true" - nginx.ingress.kubernetes.io/whitelist-source-range: 167.235.25.0/32 + nginx.ingress.kubernetes.io/whitelist-source-range: 167.235.25.0/32,157.90.160.98/32 name: "{{ .Release.Name }}-smardigo-ocr-backend" spec: rules: