Skip to content

Commit

Permalink
Update spring cloud dataflow ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelaeh committed Jan 13, 2021
1 parent 600a15a commit b400a3e
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bitnami/spring-cloud-dataflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow
- https://github.com/bitnami/bitnami-docker-spring-cloud-skipper
- https://dataflow.spring.io/
version: 2.4.2
version: 2.5.0
5 changes: 5 additions & 0 deletions bitnami/spring-cloud-dataflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ The following tables lists the configurable parameters of the Spring Cloud Data
| `deployer.volumes` | Streaming applications extra volumes | `{}` |
| `deployer.environmentVariables` | Streaming applications environment variables | `""` |
| `deployer.podSecurityContext` | Streaming applications Security Context. | `{runAsUser: 1001}` |
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `nil` |


### Dataflow Server parameters

Expand Down Expand Up @@ -123,6 +125,9 @@ The following tables lists the configurable parameters of the Spring Cloud Data
| `server.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `server.service.annotations` | Annotations for Dataflow server service | `{}` |
| `server.ingress.enabled` | Enable ingress controller resource | `false` |
| `server.ingress.apiVersion` | Force Ingress API version (automatically detected if not set) | `` |
| `server.ingress.path` | Ingress path | `/` |
| `server.ingress.pathType` | Ingress path type | `ImplementationSpecific` |
| `server.ingress.certManager` | Add annotations for cert-manager | `false` |
| `server.ingress.hostname` | Default host for the ingress resource | `dataflow.local` |
| `server.ingress.annotations` | Ingress annotations | `[]` |
Expand Down
16 changes: 9 additions & 7 deletions bitnami/spring-cloud-dataflow/templates/server/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,21 @@ spec:
- host: {{ .Values.server.ingress.hostname }}
http:
paths:
- path: /
backend:
serviceName: {{ include "scdf.fullname" . }}-server
servicePort: http
- path: {{ .Values.server.ingress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.server.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" .) "server") "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.server.ingress.extraHosts }}
- host: {{ .name }}
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: {{ include "scdf.fullname" . }}-server
servicePort: http
{{- 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" .) "server") "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if or .Values.server.ingress.tls .Values.server.ingress.extraTls .Values.server.ingress.hosts }}
tls:
Expand Down
17 changes: 17 additions & 0 deletions bitnami/spring-cloud-dataflow/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# - myRegistryKeySecretName
# storageClass: myStorageClass

## Force target Kubernetes version (using Helm capabilites if not set)
##
kubeVersion:

## String to partially override scdf.fullname template (will maintain the release name).
##
# nameOverride:
Expand Down Expand Up @@ -292,6 +296,7 @@ server:
## extraHosts:
## - name: dataflow.local
## path: /
## pathType: ImplementationSpecific

## The tls configuration for additional hostnames to be covered with this ingress record.
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
Expand All @@ -315,6 +320,18 @@ server:
## key:
## certificate:

## Override API Version (automatically detected if not set)
##
apiVersion:

## Ingress Path
##
path: /

## Ingress Path type
##
pathType: ImplementationSpecific

## Add init containers to the Dataflow Server pods.
## Example:
## initContainers:
Expand Down
17 changes: 17 additions & 0 deletions bitnami/spring-cloud-dataflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# - myRegistryKeySecretName
# storageClass: myStorageClass

## Force target Kubernetes version (using Helm capabilites if not set)
##
kubeVersion:

## String to partially override scdf.fullname template (will maintain the release name).
##
# nameOverride:
Expand Down Expand Up @@ -292,6 +296,7 @@ server:
## extraHosts:
## - name: dataflow.local
## path: /
## pathType: ImplementationSpecific

## The tls configuration for additional hostnames to be covered with this ingress record.
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
Expand All @@ -315,6 +320,18 @@ server:
## key:
## certificate:

## Override API Version (automatically detected if not set)
##
apiVersion:

## Ingress Path
##
path: /

## Ingress Path type
##
pathType: ImplementationSpecific

## Add init containers to the Dataflow Server pods.
## Example:
## initContainers:
Expand Down
1 change: 1 addition & 0 deletions bitnami/suitecrm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ ingress:
## hosts:
## - name: suitecrm.local
## path: /
## pathType: ImplementationSpecific
##
hosts:
## The tls configuration for the ingress
Expand Down

0 comments on commit b400a3e

Please sign in to comment.