Skip to content
Merged
Changes from all 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
18 changes: 15 additions & 3 deletions deploy/chart/devfile-registry/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
name: {{ template "devfileregistry.fullname" . }}
items:
- key: .env.registry-viewer
path: .env.local
path: .env.production
containers:
- image: "{{ .Values.devfileIndex.image }}:{{ .Values.devfileIndex.tag }}"
imagePullPolicy: {{ .Values.devfileIndex.imagePullPolicy }}
Expand Down Expand Up @@ -133,10 +133,22 @@ spec:
memory: {{ .Values.registryViewer.memoryLimit }}
requests:
memory: 64Mi
env:
- name: ANALYTICS_WRITE_KEY
value: {{ .Values.telemetry.registryViewerWriteKey }}
- name: DEVFILE_REGISTRIES
value: |
[
{
"name": "Community",
"url": "http://localhost:8080",
"fqdn": "http://{{ .Release.Name }}-{{ .Release.Namespace }}.{{ .Values.global.ingress.domain }}"
}
]
volumeMounts:
- name: viewer-env-file
mountPath: /app/apps/registry-viewer/.env.local
subPath: .env.local
mountPath: /app/.env.production
subPath: .env.production
readOnly: true
securityContext:
allowPrivilegeEscalation: false
Expand Down