##
## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
## Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
## SPDX-License-Identifier: LicenseRef-NvidiaProprietary
##
## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
## property and proprietary rights in and to this material, related
## documentation and any modifications thereto. Any use, reproduction,
## disclosure or distribution of this material and related documentation
## without an express license agreement from NVIDIA CORPORATION or
## its affiliates is strictly prohibited.
##

# This file provides environment variables that control the xDS server's behavior.

# Enable support for Envoy and the xDS server.
GRPCTUNNEL_ENVOY_ENABLED=true

# Log level for the gRPC tunnel client
GRPCTUNNEL_LOG_LEVEL=info

# Path to the socket that Envoy listens on.  Must match the socket that the 
# gRPC tunnel client is configured to send to.
XDS_LOCAL_SERVICE_SOCKET_PATH=/var/run/nv-grpctunnel/${CONFIG_FILE}-socket.sock

# Path to the xDS configuration file.  This is the file that contains the gNMI service 
# configuration (listen address, port, TLS certificates, etc.)
XDS_CONFIG_FILE=/etc/nv-grpctunnel/config/${CONFIG_FILE}-xds.json

# Path to the xDS configuration dump file
XDS_CONFIG_DUMP_FILE=/var/log/nv-grpctunnel/${CONFIG_FILE}-envoy-config-dump.json

# Log level for the xDS component
XDS_LOG_LEVEL=info
