vertica / vertica-kubernetes

Operator, container and Helm chart to deploy Vertica in Kubernetes
Apache License 2.0
44 stars 25 forks source link

Ensure httpstls.json is generated for databases migrating to v24.1.0 #698

Closed spilchen closed 8 months ago

spilchen commented 8 months ago

This fixes an issue where we didn't generate the httptls.json file for databases migrated to 24.1.0. Without this file generated, it is possible that the HTTPS service doesn't come up, which is needed by vclusterOps in 24.1.0+ deployments.

We can avoid generating this file in the following circumstances:

The operator won't know about the second case. We have introduced a new annotation for the first case. When vertica.com/https-tls-conf-generation is set to false, we will avoid generation. When the operator creates a database on a 24.1.0 database it will automatically set this annotation.