Update spark ingress

This commit is contained in:
Miguel A. Cabrera Minagorri
2021-01-13 16:59:17 +00:00
parent b400a3edb4
commit ca7413e84f
5 changed files with 21 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.2.3
digest: sha256:3fc1fbf3ae204e0121f1e202d6d57f9381f3a45d8821647d1dfe0a475644da0c
generated: "2021-01-03T06:07:43.040023397Z"
version: 1.3.2
digest: sha256:2561a4fdd0fcd76af4a2b04bf8d67585e8bc3fc3e366ae0a55a12541a85b4551
generated: "2021-01-13T16:57:53.690811884Z"

View File

@@ -21,4 +21,4 @@ name: spark
sources:
- https://github.com/bitnami/bitnami-docker-spark
- https://spark.apache.org/
version: 4.4.1
version: 4.5.0

View File

@@ -61,6 +61,7 @@ The following tables lists the configurable parameters of the spark chart and th
|---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| `nameOverride` | String to partially override common.names.fullname template with a string (will prepend the release name) | `nil` |
| `fullnameOverride` | String to fully override common.names.fullname template with a string | `nil` |
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `nil` |
### Spark parameters
@@ -185,6 +186,9 @@ The following tables lists the configurable parameters of the spark chart and th
| `service.annotations` | Annotations for spark service | {} |
| `service.loadBalancerIP` | loadBalancerIP if spark service type is `LoadBalancer` | `nil` |
| `ingress.enabled` | Enable the use of the ingress controller to access the web UI | `false` |
| `ingress.apiVersion` | Force Ingress API version (automatically detected if not set) | `` |
| `ingress.path` | Ingress path | `/` |
| `ingress.pathType` | Ingress path type | `ImplementationSpecific` |
| `ingress.certManager` | Add annotations for cert-manager | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts[0].name` | Hostname to your Spark installation | `spark.local` |

View File

@@ -19,9 +19,10 @@ spec:
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: {{ include "spark.master.service.name" $ }}
servicePort: http
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:

View File

@@ -7,6 +7,10 @@
# imagePullSecrets:
# - myRegistryKeySecretName
## Force target Kubernetes version (using Helm capabilites if not set)
##
kubeVersion:
## Bitnami Spark image version
## ref: https://hub.docker.com/r/bitnami/spark/tags/
##
@@ -418,11 +422,16 @@ ingress:
hosts:
- name: spark.local
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- spark.domain.com
secretName: spark.local-tls
## Override API Version (automatically detected if not set)
##
apiVersion:
## Metrics configuration
##
metrics: