From 3fe22f62a9bf01436d3c26c37267f8b068b40144 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Thu, 1 Aug 2024 08:37:10 +0200 Subject: [PATCH] fix: test --- .../datalayer-iam/tests/deployment_test.yaml | 10 ++- .../tests/deployment_test.yaml | 90 ++++++++++--------- 2 files changed, 58 insertions(+), 42 deletions(-) diff --git a/charts/datalayer-iam/tests/deployment_test.yaml b/charts/datalayer-iam/tests/deployment_test.yaml index 15dfed3..1b1cc82 100644 --- a/charts/datalayer-iam/tests/deployment_test.yaml +++ b/charts/datalayer-iam/tests/deployment_test.yaml @@ -85,7 +85,7 @@ tests: - name: DATALAYER_STRIPE_API_KEY value: "" - name: DATALAYER_STRIPE_CHECKOUT_ROUTE - value: /usage/checkout + value: checkout - name: DATALAYER_STRIPE_JS_API_KEY value: "" - name: DATALAYER_STRIPE_PRODUCT_ID @@ -99,4 +99,10 @@ tests: - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT value: "" - name: OTEL_SDK_DISABLED - value: "false" \ No newline at end of file + value: "false" + image: datalayer/iam:0.1.1 + imagePullPolicy: Always + name: iam + ports: + - containerPort: 9700 + protocol: TCP \ No newline at end of file diff --git a/charts/datalayer-jupyter/tests/deployment_test.yaml b/charts/datalayer-jupyter/tests/deployment_test.yaml index 3ce48ab..e01a1e1 100644 --- a/charts/datalayer-jupyter/tests/deployment_test.yaml +++ b/charts/datalayer-jupyter/tests/deployment_test.yaml @@ -22,43 +22,53 @@ tests: path: spec.template.spec.containers[0] content: env: - - name: DATALAYER_SOLR_PASSWORD - valueFrom: - secretKeyRef: - key: password - name: solr-basic-auth - - name: DATALAYER_SOLR_USERNAME - valueFrom: - secretKeyRef: - key: username - name: solr-basic-auth - - name: DATALAYER_AUTHZ_ENGINE - value: "" - - name: DATALAYER_CDN_URL - value: "" - - name: DATALAYER_JWT_ALGORITHM - value: "" - - name: DATALAYER_JWT_CACHE_VALIDATE - value: "false" - - name: DATALAYER_JWT_ISSUER - value: "https://id.datalayer.run" - - name: DATALAYER_JWT_SECRET - value: "" - - name: DATALAYER_OPENFGA_AUTHZ_MODEL_ID - value: "" - - name: DATALAYER_OPENFGA_REST_URL - value: "http://datalayer-openfga.datalayer-openfga.svc.cluster.local:8080" - - name: DATALAYER_OPENFGA_STORE_ID - value: "" - - name: DATALAYER_OPERATOR_API_KEY - value: "" - - name: DATALAYER_OPERATOR_HOST - value: "datalayer-operator-svc.datalayer-api.svc.cluster.local:2111" - - name: DATALAYER_RUNTIME_ENV - value: "prod" - - name: DATALAYER_RUN_HOST - value: "" - - name: DATALAYER_SOLR_ZK_HOST - value: "solr-datalayer-solrcloud-zookeeper-headless.datalayer-solr.svc.cluster.local" - - name: OTEL_SDK_DISABLED - value: "false" + - name: DATALAYER_SOLR_PASSWORD + valueFrom: + secretKeyRef: + key: password + name: solr-basic-auth + - name: DATALAYER_SOLR_USERNAME + valueFrom: + secretKeyRef: + key: username + name: solr-basic-auth + - name: DATALAYER_AUTHZ_ENGINE + value: "" + - name: DATALAYER_CDN_URL + value: "" + - name: DATALAYER_JWT_ALGORITHM + value: "" + - name: DATALAYER_JWT_CACHE_VALIDATE + value: "false" + - name: DATALAYER_JWT_ISSUER + value: https://id.datalayer.run + - name: DATALAYER_JWT_SECRET + value: "" + - name: DATALAYER_OPENFGA_AUTHZ_MODEL_ID + value: "" + - name: DATALAYER_OPENFGA_REST_URL + value: http://datalayer-openfga.datalayer-openfga.svc.cluster.local:8080 + - name: DATALAYER_OPENFGA_STORE_ID + value: "" + - name: DATALAYER_OPERATOR_API_KEY + value: "" + - name: DATALAYER_OPERATOR_HOST + value: datalayer-operator-svc.datalayer-api.svc.cluster.local:2111 + - name: DATALAYER_RUNTIME_ENV + value: prod + - name: DATALAYER_RUN_HOST + value: "" + - name: DATALAYER_SOLR_ZK_HOST + value: solr-datalayer-solrcloud-zookeeper-headless.datalayer-solr.svc.cluster.local + - name: OTEL_EXPORTER_OTLP_METRICS_ENDPOINT + value: "" + - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT + value: "" + - name: OTEL_SDK_DISABLED + value: "false" + image: datalayer/jupyter:0.1.1 + imagePullPolicy: Always + name: jupyter + ports: + - containerPort: 9500 + protocol: TCP \ No newline at end of file