CHART NAME: {{ .Chart.Name }} CHART VERSION: {{ .Chart.Version }} APP VERSION: {{ .Chart.AppVersion }} ⚠ WARNING: Since August 28th, 2025, only a limited subset of images/charts are available for free. Subscribe to Bitnami Secure Images to receive continued support and security updates. More info at https://bitnami.com and https://github.com/bitnami/containers/issues/83267 ** Please be patient while the chart is being deployed ** {{- if .Values.diagnosticMode.enabled }} The chart has been deployed in diagnostic mode. All probes have been disabled and the command has been overwritten with: command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 4 }} args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 4 }} Get the list of pods by executing: kubectl get pods --namespace {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }} {{- else }} {{- if or (contains .Values.service.type "LoadBalancer") (contains .Values.service.type "nodePort") }} {{- if not .Values.auth.enabled }} {{ if and (not .Values.networkPolicy.enabled) (.Values.networkPolicy.allowExternal) }} ------------------------------------------------------------------------------- WARNING By specifying "service.type=NodePort/LoadBalancer" and "auth.enabled=false" you have most likely exposed the NATS service externally without any authentication mechanism. For security reasons, we strongly suggest that you switch to "ClusterIP". As alternative, you can also switch to "auth.enabled=true" providing a valid password on "auth.password" parameter. ------------------------------------------------------------------------------- {{- end }} {{- end }} {{- end }} NATS can be accessed via port {{ .Values.service.ports.client }} on the following DNS name from within your cluster: {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local {{- if .Values.auth.enabled }} To get the authentication credentials, run: {{- if .Values.auth.token }} export NATS_TOKEN=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.data.*}' | base64 -d | sed -n 's/.*token: "\([^"]*\)".*/\1/p' | head -n 1) {{- else }} export NATS_USER=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.data.*}' | base64 -d | sed -n 's/.*user: "\([^"]*\)".*/\1/p' | head -n 1) export NATS_PASS=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.data.*}' | base64 -d | sed -n 's/.*password: "\([^"]*\)".*/\1/p' | head -n 1) echo -e "Client credentials:\n\tUser: $NATS_USER\n\tPassword: $NATS_PASS" {{- end }} {{- end }} NATS monitoring service can be accessed via port {{ .Values.service.ports.monitoring }} on the following DNS name from within your cluster: {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local You can create a pod to be used as a NATS client: cat <