Skip to content

Commit

Permalink
Merge pull request #3534 from colinlodter/main
Browse files Browse the repository at this point in the history
add appProtocol to hub service definition
  • Loading branch information
consideRatio authored Oct 2, 2024
2 parents e93df36 + 82a7dda commit 9da9611
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions jupyterhub/templates/hub/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
{{- with .Values.hub.service.ports.nodePort }}
nodePort: {{ . }}
{{- end }}
{{- with .Values.hub.service.ports.appProtocol }}
appProtocol: {{ . }}
{{- end }}

{{- with .Values.hub.service.extraPorts }}
{{- . | toYaml | nindent 4 }}
Expand Down
6 changes: 5 additions & 1 deletion jupyterhub/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,10 @@ properties:
description: |
Object to configure the ports the hub service will be deployed on.
properties:
appProtocol:
type: [string, "null"]
description: |
The application protocol to utilize with the Service port. This may be required when an external application attempts to make calls to the hub service with a protocol the hub does not support.
nodePort:
type: [integer, "null"]
minimum: 0
Expand Down Expand Up @@ -2760,7 +2764,7 @@ properties:
extraPaths:
type: array
description: |
A list of custom paths to be added to the ingress configuration.
A list of custom paths to be added to the ingress configuration.
See [the Kubernetes documentation](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types)
for more details about paths.
Expand Down
1 change: 1 addition & 0 deletions jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ hub:
annotations: {}
ports:
nodePort:
appProtocol:
extraPorts: []
loadBalancerIP:
baseUrl: /
Expand Down

0 comments on commit 9da9611

Please sign in to comment.