I understand that this works for DNS resolution since the brokers live in the same namespace and the domain is present in the search option of the /etc/resolv.conf. However, we'd like to avoid having to generate certificates using short-names. Is it possible to add an option to add a full domain for the zookeeper service?
For example something like:
{{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.component }}-ca{{- if .Values.zookeeper.domain -}}.{{ .Values.zookeeper.domain }}{{- end -}}:2281
It is only possible to access Zookeeper service via shortname (
pulsar-zookeeper-ca:2181
) https://github.com/datastax/pulsar-helm-chart/blob/db0c121890c8856ef6d26494396cf6a7b921914c/helm-chart-sources/pulsar/templates/bookkeeper/bookkeeper-configmap.yaml#L31I understand that this works for DNS resolution since the brokers live in the same namespace and the domain is present in the
search
option of the/etc/resolv.conf
. However, we'd like to avoid having to generate certificates using short-names. Is it possible to add an option to add a full domain for the zookeeper service?For example something like:
{{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.component }}-ca{{- if .Values.zookeeper.domain -}}.{{ .Values.zookeeper.domain }}{{- end -}}:2281
Thanks