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

Expose the http port in the service object #290

Merged
merged 4 commits into from
Nov 25, 2022

Conversation

spilchen
Copy link
Collaborator

The http server is experimental at the moment and is hidden behind spec.httpServerMode: Enabled

This exposes a new port (8443) in the service port for the http server that runs inside vertica server. This also removes the agent port in the service object, which was never used because we never ended up running the agent within the container.

I am also renaming the spec.httpServerSecret field in the VerticaDB to spec.httpServerTLSSecret. Since this feature is experimental, there should not be anyone using it, so no dependency on the field that I am renaming.

Matt Spilchen added 4 commits November 17, 2022 16:29
This fixes a bug that was introduced earlier in this release when we did
the podfacts refactor. We were failing to create the http conf dir in
the installer reconciler if the http server is enabled. The plan is
enable the http e2e tests, which would have caught this, when we use the
12.0.2 server release in the CI.
@spilchen spilchen requested a review from roypaulin November 24, 2022 13:45
@spilchen spilchen self-assigned this Nov 24, 2022
Copy link
Collaborator

@roypaulin roypaulin left a comment

Choose a reason for hiding this comment

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

Looks good !

@@ -27,7 +27,7 @@ data:
set -o errexit

# Version can change only validate a portion of it
curl --insecure --fail --verbose --key /certs/tls.key --cert /certs/tls.crt https://v-http-custom-certs-main-0.v-http-custom-certs:8443/version | tee /tmp/curl.out
curl --insecure --fail --verbose --key /certs/tls.key --cert /certs/tls.crt https://v-http-custom-certs-main-0.v-http-custom-certs:8443/info/version | tee /tmp/curl.out
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why did you change the url.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The server team changed around the API name. I was just updating the test to reflect this. I will eventually get this testsuite (e2e-http-server) into our CI.

@spilchen spilchen merged commit 2fc3be0 into vertica:main Nov 25, 2022
@spilchen spilchen deleted the expose-http-port branch November 25, 2022 20:15
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