mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/thanos] add ingressClassName (#7374)
* feat(bitnami/thanos): add ingressClassName * chore(bitnami/thanos): bump chart version to 5.4.0 * doc(bitnami/thanos): add ingressClassName * fix(bitnami/thanos): fix ingress template for compactor and storegateway
This commit is contained in:
@@ -28,4 +28,4 @@ name: thanos
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-thanos
|
||||
- https://thanos.io
|
||||
version: 5.3.2
|
||||
version: 5.4.0
|
||||
|
||||
@@ -208,6 +208,7 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `query.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `query.ingress.certManager` | Set this to true in order to add the corresponding annotations for cert-manager | `false` |
|
||||
| `query.ingress.hostname` | Default host for the ingress resource | `thanos.local` |
|
||||
| `query.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `query.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `query.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `query.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
@@ -302,6 +303,7 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `queryFrontend.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `queryFrontend.ingress.certManager` | Set this to true in order to add the corresponding annotations for cert-manager | `false` |
|
||||
| `queryFrontend.ingress.hostname` | Default host for the ingress resource | `thanos.local` |
|
||||
| `queryFrontend.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `queryFrontend.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `queryFrontend.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `queryFrontend.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
@@ -379,6 +381,7 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `bucketweb.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `bucketweb.ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `bucketweb.ingress.hostname` | Default host for the ingress resource | `thanos-bucketweb.local` |
|
||||
| `bucketweb.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `bucketweb.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `bucketweb.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `bucketweb.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
@@ -449,6 +452,18 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `compactor.service.externalTrafficPolicy` | Thanos Compactor service externalTrafficPolicy | `Cluster` |
|
||||
| `compactor.service.annotations` | Annotations for Thanos Compactor service | `{}` |
|
||||
| `compactor.service.labelSelectorsOverride` | Selector for Thanos query service | `{}` |
|
||||
| `compactor.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `compactor.ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `compactor.ingress.hostname` | Default host for the ingress resource | `thanos-compactor.local` |
|
||||
| `compactor.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `compactor.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `compactor.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `compactor.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `compactor.ingress.secrets` | If you're providing your own certificates, please use this to add the certificates as secrets | `[]` |
|
||||
| `compactor.ingress.tls` | Create ingress TLS section | `false` |
|
||||
| `compactor.ingress.apiVersion` | Force Ingress API version (automatically detected if not set) | `""` |
|
||||
| `compactor.ingress.path` | Ingress path | `/` |
|
||||
| `compactor.ingress.pathType` | Ingress path type | `ImplementationSpecific` |
|
||||
| `compactor.persistence.enabled` | Enable data persistence | `true` |
|
||||
| `compactor.persistence.existingClaim` | Use a existing PVC which must be created manually before bound | `""` |
|
||||
| `compactor.persistence.storageClass` | Specify the `storageClass` used to provision the volume | `""` |
|
||||
@@ -538,6 +553,18 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `storegateway.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
|
||||
| `storegateway.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
|
||||
| `storegateway.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
|
||||
| `storegateway.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `storegateway.ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `storegateway.ingress.hostname` | Default host for the ingress resource | `thanos-storegateway.local` |
|
||||
| `storegateway.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `storegateway.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `storegateway.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `storegateway.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `storegateway.ingress.secrets` | If you're providing your own certificates, please use this to add the certificates as secrets | `[]` |
|
||||
| `storegateway.ingress.tls` | Create ingress TLS section | `false` |
|
||||
| `storegateway.ingress.apiVersion` | Force Ingress API version (automatically detected if not set) | `""` |
|
||||
| `storegateway.ingress.path` | Ingress path | `/` |
|
||||
| `storegateway.ingress.pathType` | Ingress path type | `ImplementationSpecific` |
|
||||
| `storegateway.sharded.enabled` | Enable sharding for Thanos Store Gateway | `false` |
|
||||
| `storegateway.sharded.hashPartitioning.shards` | Setting hashPartitioning will create multiple store statefulsets based on the number of shards specified using the hashmod of the blocks | `""` |
|
||||
| `storegateway.sharded.timePartitioning` | Setting time timePartitioning will create multiple store deployments based on the number of partitions | `[]` |
|
||||
@@ -629,6 +656,7 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `ruler.ingress.enabled` | Enable ingress controller resource | `false` |
|
||||
| `ruler.ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `ruler.ingress.hostname` | Default host for the ingress resource | `thanos-ruler.local` |
|
||||
| `ruler.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `ruler.ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `ruler.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `ruler.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
@@ -730,6 +758,7 @@ Check the section [Integrate Thanos with Prometheus and Alertmanager](#integrate
|
||||
| `receive.ingress.enabled` | Set to true to enable ingress record generation | `false` |
|
||||
| `receive.ingress.certManager` | Set this to true in order to add the corresponding annotations for cert-manager | `false` |
|
||||
| `receive.ingress.hostname` | When the ingress is enabled, a host pointing to this will be created | `thanos-receive.local` |
|
||||
| `receive.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `receive.ingress.annotations` | Ingress annotations done as key:value pairs | `{}` |
|
||||
| `receive.ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `receive.ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
|
||||
@@ -16,6 +16,9 @@ metadata:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.bucketweb.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
|
||||
ingressClassName: {{ .Values.bucketweb.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.bucketweb.ingress.hostname }}
|
||||
- host: {{ .Values.bucketweb.ingress.hostname }}
|
||||
|
||||
50
bitnami/thanos/templates/compactor/ingress.yaml
Normal file
50
bitnami/thanos/templates/compactor/ingress.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
{{- if .Values.compactor.ingress.enabled -}}
|
||||
apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: thanos-compactor
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- if .Values.compactor.ingress.certManager }}
|
||||
kubernetes.io/tls-acme: "true"
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.compactor.ingress.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.compactor.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.compactor.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.compactor.ingress.hostname }}
|
||||
- host: {{ .Values.compactor.ingress.hostname }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ .Values.compactor.ingress.path }}
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
|
||||
pathType: {{ .Values.compactor.ingress.pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" "thanos-compactor" "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- range .Values.compactor.ingress.extraHosts }}
|
||||
- host: {{ .name }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ default "/" .path }}
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" "thanos-compactor" "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.compactor.ingress.tls .Values.compactor.ingress.extraTls .Values.compactor.ingress.hosts }}
|
||||
tls:
|
||||
{{- if or .Values.compactor.ingress.secrets .Values.compactor.ingress.tls }}
|
||||
- hosts:
|
||||
- {{ .Values.compactor.ingress.hostname }}
|
||||
secretName: {{ printf "%s-tls" .Values.compactor.ingress.hostname }}
|
||||
{{- end }}
|
||||
{{- if .Values.compactor.ingress.extraTls }}
|
||||
{{- toYaml .Values.compactor.ingress.extraTls | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -16,6 +16,9 @@ metadata:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.queryFrontend.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
|
||||
ingressClassName: {{ .Values.queryFrontend.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.queryFrontend.ingress.hostname }}
|
||||
- host: {{ .Values.queryFrontend.ingress.hostname }}
|
||||
|
||||
@@ -17,6 +17,9 @@ metadata:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and $query.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
|
||||
ingressClassName: {{ $query.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if $query.ingress.hostname }}
|
||||
- host: {{ $query.ingress.hostname }}
|
||||
|
||||
@@ -16,6 +16,9 @@ metadata:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.receive.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
|
||||
ingressClassName: {{ .Values.receive.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.receive.ingress.hostname }}
|
||||
- host: {{ .Values.receive.ingress.hostname }}
|
||||
|
||||
@@ -16,6 +16,9 @@ metadata:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.ruler.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
|
||||
ingressClassName: {{ .Values.ruler.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.ruler.ingress.hostname }}
|
||||
- host: {{ .Values.ruler.ingress.hostname }}
|
||||
|
||||
50
bitnami/thanos/templates/storegateway/ingress.yaml
Normal file
50
bitnami/thanos/templates/storegateway/ingress.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
{{- if .Values.storegateway.ingress.enabled -}}
|
||||
apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: thanos-storegateway
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- if .Values.storegateway.ingress.certManager }}
|
||||
kubernetes.io/tls-acme: "true"
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.storegateway.ingress.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.storegateway.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.storegateway.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.storegateway.ingress.hostname }}
|
||||
- host: {{ .Values.storegateway.ingress.hostname }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ .Values.storegateway.ingress.path }}
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
|
||||
pathType: {{ .Values.storegateway.ingress.pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" "thanos-storegateway" "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- range .Values.storegateway.ingress.extraHosts }}
|
||||
- host: {{ .name }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ default "/" .path }}
|
||||
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
||||
pathType: {{ default "ImplementationSpecific" .pathType }}
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" "thanos-storegateway" "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.storegateway.ingress.tls .Values.storegateway.ingress.extraTls .Values.storegateway.ingress.hosts }}
|
||||
tls:
|
||||
{{- if or .Values.storegateway.ingress.secrets .Values.storegateway.ingress.tls }}
|
||||
- hosts:
|
||||
- {{ .Values.storegateway.ingress.hostname }}
|
||||
secretName: {{ printf "%s-tls" .Values.storegateway.ingress.hostname }}
|
||||
{{- end }}
|
||||
{{- if .Values.storegateway.ingress.extraTls }}
|
||||
{{- toYaml .Values.storegateway.ingress.extraTls | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -473,6 +473,11 @@ query:
|
||||
## @param query.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos.local
|
||||
## @param query.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param query.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
@@ -882,6 +887,11 @@ queryFrontend:
|
||||
## @param queryFrontend.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos.local
|
||||
## @param queryFrontend.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param queryFrontend.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
@@ -1206,6 +1216,11 @@ bucketweb:
|
||||
## @param bucketweb.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos-bucketweb.local
|
||||
## @param bucketweb.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param bucketweb.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
@@ -1483,6 +1498,77 @@ compactor:
|
||||
## @param compactor.service.labelSelectorsOverride Selector for Thanos query service
|
||||
##
|
||||
labelSelectorsOverride: {}
|
||||
|
||||
## Configure the ingress resource that allows you to access Thanos Query Frontend
|
||||
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
||||
##
|
||||
ingress:
|
||||
## @param compactor.ingress.enabled Enable ingress controller resource
|
||||
##
|
||||
enabled: false
|
||||
## @param compactor.ingress.certManager Set this to true in order to add the corresponding annotations for cert-manager
|
||||
##
|
||||
certManager: false
|
||||
## @param compactor.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos-compactor.local
|
||||
## @param compactor.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param compactor.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
##
|
||||
## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
|
||||
##
|
||||
annotations: {}
|
||||
## @param compactor.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
|
||||
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
||||
## extraHosts:
|
||||
## - name: thanos.local
|
||||
## path: /
|
||||
## pathType: ImplementationSpecific
|
||||
##
|
||||
extraHosts: []
|
||||
## @param compactor.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
||||
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
||||
## extraTls:
|
||||
## - hosts:
|
||||
## - thanos.local
|
||||
## secretName: thanos.local-tls
|
||||
##
|
||||
extraTls: []
|
||||
## @param compactor.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
|
||||
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
||||
## -----BEGIN RSA PRIVATE KEY-----
|
||||
##
|
||||
## name should line up with a tlsSecret set further up
|
||||
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
|
||||
##
|
||||
## It is also possible to create and manage the certificates outside of this helm chart
|
||||
## Please see README.md for more information
|
||||
## e.g:
|
||||
## - name: thanos.local-tls
|
||||
## key:
|
||||
## certificate:
|
||||
##
|
||||
secrets: []
|
||||
## @param compactor.ingress.tls Create ingress TLS section
|
||||
## When specifying cert-manager.io/cluster-issuer: nameOfClusterIssuer annotation, enable tls for ingress
|
||||
##
|
||||
tls: false
|
||||
## @param compactor.ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
||||
##
|
||||
apiVersion: ""
|
||||
## @param compactor.ingress.path Ingress path
|
||||
##
|
||||
path: /
|
||||
## @param compactor.ingress.pathType Ingress path type
|
||||
##
|
||||
pathType: ImplementationSpecific
|
||||
|
||||
## Persistence parameters
|
||||
##
|
||||
persistence:
|
||||
@@ -1847,6 +1933,77 @@ storegateway:
|
||||
## @param storegateway.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
|
||||
##
|
||||
maxUnavailable: ""
|
||||
|
||||
## Configure the ingress resource that allows you to access Thanos Query Frontend
|
||||
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
||||
##
|
||||
ingress:
|
||||
## @param storegateway.ingress.enabled Enable ingress controller resource
|
||||
##
|
||||
enabled: false
|
||||
## @param storegateway.ingress.certManager Set this to true in order to add the corresponding annotations for cert-manager
|
||||
##
|
||||
certManager: false
|
||||
## @param storegateway.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos-storegateway.local
|
||||
## @param storegateway.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param storegateway.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
##
|
||||
## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
|
||||
##
|
||||
annotations: {}
|
||||
## @param storegateway.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
|
||||
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
||||
## extraHosts:
|
||||
## - name: thanos.local
|
||||
## path: /
|
||||
## pathType: ImplementationSpecific
|
||||
##
|
||||
extraHosts: []
|
||||
## @param storegateway.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
||||
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
||||
## extraTls:
|
||||
## - hosts:
|
||||
## - thanos.local
|
||||
## secretName: thanos.local-tls
|
||||
##
|
||||
extraTls: []
|
||||
## @param storegateway.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
|
||||
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
||||
## -----BEGIN RSA PRIVATE KEY-----
|
||||
##
|
||||
## name should line up with a tlsSecret set further up
|
||||
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
|
||||
##
|
||||
## It is also possible to create and manage the certificates outside of this helm chart
|
||||
## Please see README.md for more information
|
||||
## e.g:
|
||||
## - name: thanos.local-tls
|
||||
## key:
|
||||
## certificate:
|
||||
##
|
||||
secrets: []
|
||||
## @param storegateway.ingress.tls Create ingress TLS section
|
||||
## When specifying cert-manager.io/cluster-issuer: nameOfClusterIssuer annotation, enable tls for ingress
|
||||
##
|
||||
tls: false
|
||||
## @param storegateway.ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
||||
##
|
||||
apiVersion: ""
|
||||
## @param storegateway.ingress.path Ingress path
|
||||
##
|
||||
path: /
|
||||
## @param storegateway.ingress.pathType Ingress path type
|
||||
##
|
||||
pathType: ImplementationSpecific
|
||||
|
||||
## Sharded parameters
|
||||
## @param storegateway.sharded.enabled Enable sharding for Thanos Store Gateway
|
||||
## @param storegateway.sharded.hashPartitioning.shards Setting hashPartitioning will create multiple store statefulsets based on the number of shards specified using the hashmod of the blocks
|
||||
@@ -2236,6 +2393,11 @@ ruler:
|
||||
## @param ruler.ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: thanos-ruler.local
|
||||
## @param ruler.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param ruler.ingress.annotations Ingress annotations
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
@@ -2658,6 +2820,11 @@ receive:
|
||||
## @param receive.ingress.hostname When the ingress is enabled, a host pointing to this will be created
|
||||
##
|
||||
hostname: thanos-receive.local
|
||||
## @param receive.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param receive.ingress.annotations Ingress annotations done as key:value pairs
|
||||
## For a full list of possible ingress annotations, please see
|
||||
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
||||
|
||||
Reference in New Issue
Block a user