mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/thanos] thanos/receive/ingress.yaml: support custom portName on extraHosts (#17173)
* Thanos/receive/ingress.yaml: support custom portName on extraHosts The receive service has two ports, `http` and `remote`. This should be specifiable using the `.portName` attribute on extraHosts Signed-off-by: Oliver <oisaac@gmail.com> * document portName in values.yaml and bump chart.yaml Signed-off-by: Oliver Isaac <oisaac@gmail.com> --------- Signed-off-by: Oliver <oisaac@gmail.com> Signed-off-by: Oliver Isaac <oisaac@gmail.com> Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Signed-off-by: Cori Avila <42420333+corico44@users.noreply.github.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Cori Avila <42420333+corico44@users.noreply.github.com>
This commit is contained in:
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: thanos
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/thanos
|
||||
version: 12.11.3
|
||||
version: 12.11.4
|
||||
|
||||
@@ -50,7 +50,7 @@ spec:
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" $) "receive") "servicePort" "http" "context" $) | nindent 14 }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" $) "receive") "servicePort" (default "http" .portName) "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if .Values.receive.ingress.extraRules }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.receive.ingress.extraRules "context" $) | nindent 4 }}
|
||||
|
||||
@@ -3747,6 +3747,7 @@ receive:
|
||||
## - name: thanos.local
|
||||
## path: /
|
||||
## pathType: ImplementationSpecific
|
||||
## portName: "http" # or "remote"
|
||||
##
|
||||
extraHosts: []
|
||||
## @param receive.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
||||
|
||||
Reference in New Issue
Block a user