Skip to content

Commit

Permalink
[bitnami/harbor] Update ingress portal path to the last (#15956)
Browse files Browse the repository at this point in the history
* change path / to the last

Signed-off-by: Cesar Okuti <[email protected]>

* Remove duplicated path and change Chart version

Signed-off-by: Cesar Okuti <[email protected]>

---------

Signed-off-by: Cesar Okuti <[email protected]>
  • Loading branch information
cesarokuti committed Apr 6, 2023
1 parent d4e985d commit f1ab3df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bitnami/harbor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ sources:
- https://github.com/bitnami/containers/tree/main/bitnami/harbor-registry
- https://github.com/bitnami/containers/tree/main/bitnami/harbor-registryctl
- https://goharbor.io/
version: 16.4.9
version: 16.4.10
10 changes: 5 additions & 5 deletions bitnami/harbor/templates/ingress/core-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ spec:
{{- if .Values.ingress.core.extraPaths }}
{{- toYaml .Values.ingress.core.extraPaths | nindent 10 }}
{{- end }}
- path: {{ .portal_path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.core.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "harbor.portal" .) "servicePort" (ternary "https" "http" .Values.internalTLS.enabled) "context" $) | nindent 14 }}
- path: {{ .api_path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.core.pathType }}
Expand All @@ -91,6 +86,11 @@ spec:
pathType: {{ .Values.ingress.core.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "harbor.core" .) "servicePort" (ternary "https" "http" .Values.internalTLS.enabled) "context" $) | nindent 14 }}
- path: {{ .portal_path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.core.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "harbor.portal" .) "servicePort" (ternary "https" "http" .Values.internalTLS.enabled) "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.core.extraHosts }}
- host: {{ include "common.tplvalues.render" ( dict "value" .name "context" $ ) }}
Expand Down

0 comments on commit f1ab3df

Please sign in to comment.