Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: beeradb <[email protected]>
  • Loading branch information
beeradb committed Jun 5, 2024
1 parent cae037c commit 7dd9fb5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
6 changes: 0 additions & 6 deletions charts/templates/server-repository/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ metadata:
data:
SERVER_URL: {{ .Values.serverRepository.config.SERVER_URL }}
REPOSITORY_SERVER_URL: {{ .Values.serverRepository.config.REPOSITORY_SERVER_URL }}
SERVER_PORT: {{ .Values.serverRepository.service.server.port | quote }}
SERVER_EXTERNAL_PORT: {{ .Values.serverRepository.service.server.port | quote }}
REPOSITORY_SERVER_PORT: {{ .Values.serverRepository.service.repository.port | quote }}
REPOSITORY_SERVER_EXTERNAL_PORT: {{ .Values.serverRepository.service.repository.port | quote }}
NODE_ENV: {{ .Values.serverRepository.config.NODE_ENV | default "development" }}
SOURCIFY_SERVER: "http://{{ template "sourcify.name" . }}-server:5555"
---
Expand All @@ -31,8 +27,6 @@ metadata:
{{ toYaml .Values.serverRepository.annotations | indent 4 }}
{{- end }}
data:
config.json: |-
{{- .Values.serverRepository.config.repository | toJson | nindent 4 }}
servers.yaml: |-
{{- .Values.serverRepository.config.servers | toYaml | nindent 4 }}
sourcify-chains.json: |-
Expand Down
3 changes: 0 additions & 3 deletions charts/templates/server-repository/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ spec:
- name: {{ .Chart.Name }}
mountPath: /data
readOnly: true
- name: {{ printf "%s-%s" .Chart.Name "repository" }}
mountPath: /redirects/config.json
subPath: config.json
{{- if .Values.serverRepository.nodeSelector }}
nodeSelector:
{{- toYaml .Values.serverRepository.nodeSelector | nindent 8 }}
Expand Down
6 changes: 0 additions & 6 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ serverRepository:
SERVER_URL: "http://127.0.0.1:5555"
REPOSITORY_SERVER_URL: "http://127.0.0.1:10000"
NODE_ENV: "production"
repository:
{
"SERVER_URL": "http://127.0.0.1:5555",
"REPOSITORY_SERVER_URL": "http://127.0.0.1:10000",
"EXPLORER_URL": "http://127.0.0.1:8080",
}
servers:
- description: The current REST API server
url: ""
Expand Down

0 comments on commit 7dd9fb5

Please sign in to comment.