Skip to content

Feature: create service.targetPort parameter or default to nextcloud.containerPort for targetPort in service template #384

@jessebot

Description

@jessebot

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions