Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5] - 2025-02-26

### Added

- Add custom web for health check to use custom edge or private ip.
- Rebuild to consume ziti_router_auto_enroll 1.0.21.

## [1.6.4] - 2024-10-10

### Fixed
Expand Down
12 changes: 11 additions & 1 deletion router_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def create_parser():

:return: A Namespace containing arguments
"""
__version__ = '1.6.4'
__version__ = '1.6.5'
parser = argparse.ArgumentParser()

mgroup = parser.add_mutually_exclusive_group(required=True)
Expand Down Expand Up @@ -710,6 +710,16 @@ def handle_ziti_router_auto_enroll(args, router_info, enrollment_commands, regis
enrollment_commands.append('--proxyPort')
enrollment_commands.append(str(args.proxyPort))

# add web for healthcheck
enrollment_commands.append('--webs')
enrollment_commands.append('health-check')
enrollment_commands.append('0.0.0.0:8081')
if args.edge:
enrollment_commands.append(f"{args.edge}:8081")
else:
enrollment_commands.append(ziti_router_auto_enroll.get_private_address() + ':8081')
enrollment_commands.append('health-checks')

# print enrollment command in debug
logging.debug(enrollment_commands)

Expand Down
Loading