Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow probe checks and Service to use containerPort if specified #316

Closed
wants to merge 1 commit into from

Conversation

relrod
Copy link

@relrod relrod commented Nov 27, 2022

Pull Request

Description of the change

Note: This probably can and should fold into #278.

This allows containerPort to be used for the readiness/startup/liveness probes along with the targetPort of the Service, otherwise they default to 80 and fail if the httpd inside the container is listening on another port.

This is particularly important on OpenShift where by default you cannot access privileged ports.

Benefits

Makes it easier for OpenShift users? :)

Possible drawbacks

There should not be any - the old default is kept if containerPort isn't defined.

Applicable issues

Additional information

Checklist

- For non-root deployments (such as required in OpenShift), this makes
  the given containerPort be used instead of hardcoding to "http" in
  several places.

Signed-off-by: Rick Elrod <rick@elrod.me>
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 3.3.3
version: 3.3.4
Copy link
Collaborator

@jessebot jessebot Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to bump chart version

@jessebot
Copy link
Collaborator

This was done in a215de8

@jessebot jessebot closed this Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants