As an example, confluentinc/cp-schema-registry:3.3.0-1, exits with an error if SCHEMA_REGISTRY_PORT is defined. See https://github.com/confluentinc/cp-docker-images/blob/3.3.x/debian/schema-registry/include/etc/confluent/docker/configure
Is it somehow possible to deactivate this populate feature? I'd prefer that over e.g. replacing the image's entry script or rolling my own image. I haven't been able to find anything in the official documentation but maybe I've overlooked it?
Best regards,
Jonas Kongslund
That would be great if such an optional feature is included. Could you point me in the right direction code wise? Maybe I would be able to do a PR.
My request for this feature is purely based on functionality but I see that scalability is also a concern according to this Github issue (which you have also been involved in):
Pods need to pre-declare service links iff they want the environment variables created #1768
https://github.com/kubernetes/kubernetes/issues/1768
Regarding environment variables, I also see FOOBAR_PORT:
SCHEMA_REGISTRY_PORT=tcp://10.106.89.94:8081
SCHEMA_REGISTRY_PORT_8081_TCP=tcp://10.106.89.94:8081
SCHEMA_REGISTRY_PORT_8081_TCP_ADDR=10.106.89.94
SCHEMA_REGISTRY_PORT_8081_TCP_PORT=8081
SCHEMA_REGISTRY_PORT_8081_TCP_PROTO=tcp
SCHEMA_REGISTRY_SERVICE_HOST=10.106.89.94
SCHEMA_REGISTRY_SERVICE_PORT=8081
SCHEMA_REGISTRY_SERVICE_PORT_8081=8081