Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add required field to mapgl ENV values #504

Merged
merged 5 commits into from
Sep 23, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions charts/mapgl-js-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,33 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: PUBLIC_HOST
value: "{{ .Values.env.MAPGL_HOST }}"
value: {{ .Values.env.MAPGL_HOST | quote }}
- name: DEMO_KEY
value: "{{ .Values.env.MAPGL_DEMO_KEY }}"
value: {{ .Values.env.MAPGL_DEMO_KEY | quote }}
- name: MAPGL_TILESERVER
value: "{{ .Values.env.MAPGL_TILES_API }}"
value: {{ required "A valid .Values.env.MAPGL_TILES_API entry required" .Values.env.MAPGL_TILES_API | quote }}
- name: MAPGL_TILESET
value: "{{ .Values.env.MAPGL_TILESET }}"
value: {{ .Values.env.MAPGL_TILESET | quote }}
- name: MAPGL_MODELS_TILESET
value: "{{ .Values.env.MAPGL_IMMERSIVE_TILESET }}"
value: {{ .Values.env.MAPGL_IMMERSIVE_TILESET | quote }}
- name: MAPGL_TRAFFICSERVER
value: "{{ .Values.env.MAPGL_TRAFFICSERVER }}"
value: {{ .Values.env.MAPGL_TRAFFICSERVER | quote }}
- name: MAPGL_FLOORSSERVER
value: "{{ .Values.env.MAPGL_FLOORSSERVER }}"
value: {{ .Values.env.MAPGL_FLOORSSERVER | quote }}
- name: MAPGL_STYLESERVER
value: "{{ .Values.env.MAPGL_STYLESERVER }}"
value: {{ .Values.env.MAPGL_STYLESERVER | quote }}
- name: MAPGL_ICONSPATH
value: "{{ .Values.env.MAPGL_ICONSPATH }}"
value: {{ .Values.env.MAPGL_ICONSPATH | quote }}
- name: MAPGL_MODELSPATH
value: "{{ .Values.env.MAPGL_MODELSPATH }}"
value: {{ .Values.env.MAPGL_MODELSPATH | quote }}
- name: MAPGL_KEYSERVER
value: "{{ .Values.env.MAPGL_KEYSERVER }}"
value: {{ .Values.env.MAPGL_KEYSERVER | quote }}
- name: MAPGL_RTLPLUGIN
value: "{{ .Values.env.MAPGL_RTLPLUGIN }}"
value: {{ .Values.env.MAPGL_RTLPLUGIN | quote }}
- name: MAPGL_RTLPLUGINHASH
value: "{{ .Values.env.MAPGL_RTLPLUGINHASH }}"
value: {{ .Values.env.MAPGL_RTLPLUGINHASH | quote }}
- name: MAPGL_INVALID_KEY_MESSAGE
value: "{{ .Values.env.MAPGL_INVALID_KEY_MESSAGE }}"
value: {{ .Values.env.MAPGL_INVALID_KEY_MESSAGE | quote }}
ports:
- name: http
containerPort: 8080
Expand Down
Loading