Skip to content

Commit 6977600

Browse files
committed
fix: service backend in ingress
1 parent 0897474 commit 6977600

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

charts/nango/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: nango
33
type: application
4-
version: 2.0.2
4+
version: 2.0.3
55
dependencies:
66
- condition: postgresql.enabled
77
name: postgresql

charts/nango/templates/jobs/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ spec:
2424
{{- end }}
2525
- path: {{ .Values.jobs.ingress.path }}
2626
pathType: {{ .Values.jobs.ingress.pathType }}
27-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jobs.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
27+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jobs.names.service" .) "servicePort" "http" "context" $) | nindent 14 }}
2828
{{- end }}
2929
{{- range .Values.jobs.ingress.extraHosts }}
3030
- host: {{ .name | quote }}
3131
http:
3232
paths:
3333
- path: {{ default "/" .path }}
3434
pathType: {{ default "ImplementationSpecific" .pathType }}
35-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jobs.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
35+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jobs.names.service" $) "servicePort" "http" "context" $) | nindent 14 }}
3636
{{- end }}
3737
{{- if .Values.jobs.ingress.extraRules }}
3838
{{- include "common.tplvalues.render" (dict "value" .Values.jobs.ingress.extraRules "context" $) | nindent 4 }}

charts/nango/templates/orchestrator/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ spec:
2424
{{- end }}
2525
- path: {{ .Values.orchestrator.ingress.path }}
2626
pathType: {{ .Values.orchestrator.ingress.pathType }}
27-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "orchestrator.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
27+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "orchestrator.names.service" .) "servicePort" "http" "context" $) | nindent 14 }}
2828
{{- end }}
2929
{{- range .Values.orchestrator.ingress.extraHosts }}
3030
- host: {{ .name | quote }}
3131
http:
3232
paths:
3333
- path: {{ default "/" .path }}
3434
pathType: {{ default "ImplementationSpecific" .pathType }}
35-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "orchestrator.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
35+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "orchestrator.names.service" $) "servicePort" "http" "context" $) | nindent 14 }}
3636
{{- end }}
3737
{{- if .Values.orchestrator.ingress.extraRules }}
3838
{{- include "common.tplvalues.render" (dict "value" .Values.orchestrator.ingress.extraRules "context" $) | nindent 4 }}

charts/nango/templates/persist/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ spec:
2424
{{- end }}
2525
- path: {{ .Values.persist.ingress.path }}
2626
pathType: {{ .Values.persist.ingress.pathType }}
27-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "persist.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
27+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "persist.names.service" .) "servicePort" "http" "context" $) | nindent 14 }}
2828
{{- end }}
2929
{{- range .Values.persist.ingress.extraHosts }}
3030
- host: {{ .name | quote }}
3131
http:
3232
paths:
3333
- path: {{ default "/" .path }}
3434
pathType: {{ default "ImplementationSpecific" .pathType }}
35-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "persist.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
35+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "persist.names.service" $) "servicePort" "http" "context" $) | nindent 14 }}
3636
{{- end }}
3737
{{- if .Values.persist.ingress.extraRules }}
3838
{{- include "common.tplvalues.render" (dict "value" .Values.persist.ingress.extraRules "context" $) | nindent 4 }}

charts/nango/templates/runner/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ spec:
2525
{{- end }}
2626
- path: {{ .Values.runner.ingress.path }}
2727
pathType: {{ .Values.runner.ingress.pathType }}
28-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "runner.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
28+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "runner.names.service" .) "servicePort" "http" "context" $) | nindent 14 }}
2929
{{- end }}
3030
{{- range .Values.runner.ingress.extraHosts }}
3131
- host: {{ .name | quote }}
3232
http:
3333
paths:
3434
- path: {{ default "/" .path }}
3535
pathType: {{ default "ImplementationSpecific" .pathType }}
36-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "runner.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
36+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "runner.names.service" $) "servicePort" "http" "context" $) | nindent 14 }}
3737
{{- end }}
3838
{{- if .Values.runner.ingress.extraRules }}
3939
{{- include "common.tplvalues.render" (dict "value" .Values.runner.ingress.extraRules "context" $) | nindent 4 }}

charts/nango/templates/server/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ spec:
2424
{{- end }}
2525
- path: {{ .Values.server.ingress.path }}
2626
pathType: {{ .Values.server.ingress.pathType }}
27-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "server.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
27+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "server.names.service" .) "servicePort" "http" "context" $) | nindent 14 }}
2828
{{- end }}
2929
{{- range .Values.server.ingress.extraHosts }}
3030
- host: {{ .name | quote }}
3131
http:
3232
paths:
3333
- path: {{ default "/" .path }}
3434
pathType: {{ default "ImplementationSpecific" .pathType }}
35-
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "server.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
35+
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "server.names.service" $) "servicePort" "http" "context" $) | nindent 14 }}
3636
{{- end }}
3737
{{- if .Values.server.ingress.extraRules }}
3838
{{- include "common.tplvalues.render" (dict "value" .Values.server.ingress.extraRules "context" $) | nindent 4 }}

0 commit comments

Comments
 (0)