k8ssandra / management-api-for-apache-cassandra

RESTful / Secure Management Sidecar for Apache Cassandra
Apache License 2.0
69 stars 51 forks source link

Fix `cassandra-topology.properties` removal #477

Closed emerkle826 closed 2 months ago

emerkle826 commented 2 months ago

Commit https://github.com/k8ssandra/management-api-for-apache-cassandra/commit/1c79885cec838bfedc73b802f7b63ec6f3c7de0c attempted to remove the topology file from the images by doing so in the entrypoint script. This seems to fail due to ownership/permissions issues in some environments (at least in K8s with cass-operator).

We should put the file removal in the Dockerfiles themselves instead of the entrypoint script.