Skip to content

Commit d82dcfd

Browse files
committed
Fixed tests.
1 parent eaf8ed9 commit d82dcfd

File tree

3 files changed

+34
-599
lines changed

3 files changed

+34
-599
lines changed

charts/eoapi/profiles/experimental.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -371,20 +371,9 @@ stac-auth-proxy:
371371
enabled: true
372372
service:
373373
port: 8080
374-
# Wait for dependencies to be ready before starting stac-auth-proxy
375-
initContainers:
376-
- name: wait-for-mock-oidc
377-
image: busybox:1.35
378-
command: ['sh', '-c', 'until nc -z eoapi-mock-oidc-server.eoapi.svc.cluster.local 8080; do echo waiting for mock-oidc; sleep 2; done']
379-
- name: wait-for-stac
380-
image: busybox:1.35
381-
command: ['sh', '-c', 'until nc -z eoapi-stac.eoapi.svc.cluster.local 8080; do echo waiting for stac service; sleep 2; done']
382-
env:
383-
UPSTREAM_URL: "http://eoapi-stac:8080"
384-
# For testing one could deploy a mock OIDC server (https://github.com/alukach/mock-oidc-server)
385-
OIDC_DISCOVERY_URL: "http://eoapi-mock-oidc-server.eoapi.svc.cluster.local:8080/.well-known/openid-configuration"
386-
# For production, point to your actual OpenID Connect provider
387-
# OIDC_DISCOVERY_URL: "https://your-auth-provider.com/.well-known/openid-configuration"
374+
# For testing this will be set dynamically; for production, point to your OIDC server
375+
# env:
376+
# OIDC_DISCOVERY_URL: "http://eoapi-mock-oidc-server.eoapi.svc.cluster.local:8080/.well-known/openid-configuration"
388377

389378
######################
390379
# MOCK OIDC SERVER

0 commit comments

Comments
 (0)