Skip to content

Commit

Permalink
URLs read via env variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet Joshi committed Dec 11, 2024
1 parent 6348277 commit 43edd1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 268 deletions.
243 changes: 0 additions & 243 deletions charts/sr-landing/templates/configmap.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions charts/sr-landing/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,3 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: {{ .Values.volumeMount.name }}
mountPath: {{ .Values.volumeMount.path }}
volumes:
- name: {{ .Values.volumeMount.name }}
configMap:
name: {{ .Release.Name }}-html-config
28 changes: 10 additions & 18 deletions charts/sr-landing/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@ hostname: landing.explore.openg2p.org
replicaCount: 1

image:
repository: nginx
tag: "1.21.1"
repository: openg2p/openg2p-social-registry-landing
tag: "develop"
pullPolicy: IfNotPresent

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

envVars: {}
envVars:
SR_ADMIN_URL: "https://admin.explore.openg2p.org"
SR_REPORTING_URL: "https://reporting.explore.openg2p.org"
SR_LOGGING_URL: "https://reporting.explore.openg2p.org"
SR_MINIO_URL: "https://minio.explore.openg2p.org"
SR_ODK_URL: "https://odk.explore.openg2p.org"
SR_KAFKA_URL: "https://kafka.explore.openg2p.org"
SR_SUPERSET_URL: "https://kafka.explore.openg2p.org"

envVarsFrom: {}

Expand All @@ -21,21 +28,6 @@ service:

containerPort: 80

landingPage:
urls:
admin:
name: Social Registry Admin
link: "https://admin-sr.explore.openg2p.org"
minio:
name: Minio Dashboard
link: "https://minio-sr.explore.openg2p.org"
reporting:
name: Reporting Dashboard
link: "https://opensearch-reporting-sr.explore.openg2p.org"
volumeMount:
name: html-volume
path: /usr/share/nginx/html

ingress:
enabled: false
className: ""
Expand Down

0 comments on commit 43edd1b

Please sign in to comment.