Skip to content

Commit

Permalink
Remove ineffective 'args' from registry-dpl template.
Browse files Browse the repository at this point in the history
This patch removes the 'args' field from the 'registry-dpl' Deployment
template, as is was completely ignored by the upstream registry-photon
image's entrypoint.sh script which does not accept/process any
arguments in any way.

Fixes: goharbor#1801

Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
aznashwan committed Aug 13, 2024
1 parent 1569536 commit c1a4b04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/registry/registry-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ spec:
{{- if not (empty .Values.containerSecurityContext) }}
securityContext: {{ .Values.containerSecurityContext | toYaml | nindent 10 }}
{{- end }}
args: ["serve", "/etc/registry/config.yml"]
envFrom:
- secretRef:
name: "{{ template "harbor.registry" . }}"
Expand Down

0 comments on commit c1a4b04

Please sign in to comment.