Description of the change
I feel like we should allow users to set a service.targetPort :
|
service: |
|
type: ClusterIP |
|
port: 8080 |
|
loadBalancerIP: nil |
|
nodePort: nil |
It might also make sense to default to nextcloud.containerPort here if service.targetPort is not set or not chosen for implementation:
Benefits
This allows users to use different container ports, such as 9000, to have a more direct connection to the ingess-nginx controller directly, instead of using the nginx container.
Possible drawbacks
Not sure if we should also set port name fields? We use http a lot and this could get confusing?
Additional information
Happy to submit a PR for this. It would also be part of the work to implement #367 down the line.
Description of the change
I feel like we should allow users to set a
service.targetPort:helm/charts/nextcloud/values.yaml
Lines 366 to 370 in eedad34
It might also make sense to default to
nextcloud.containerPorthere ifservice.targetPortis not set or not chosen for implementation:helm/charts/nextcloud/templates/service.yaml
Line 18 in eedad34
Benefits
This allows users to use different container ports, such as
9000, to have a more direct connection to the ingess-nginx controller directly, instead of using the nginx container.Possible drawbacks
Not sure if we should also set port name fields? We use
httpa lot and this could get confusing?Additional information
Happy to submit a PR for this. It would also be part of the work to implement #367 down the line.