Skip to content

Commit

Permalink
Update spark ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelaeh committed Jan 13, 2021
1 parent b400a3e commit ca7413e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bitnami/spark/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion bitnami/spark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions bitnami/spark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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` |
Expand Down
7 changes: 4 additions & 3 deletions bitnami/spark/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions bitnami/spark/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
##
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ca7413e

Please sign in to comment.