validate_traefik command for validating user traefik config file.
Project description
A simple command to validate traefik config files with traefik schema.
Traefik static config schema is from: https://json.schemastore.org/traefik-v2.json
Traefik dynamic config schema is from: https://json.schemastore.org/traefik-v2-file-provider.json
Installation
Install the package:
pip3 install traefik-validator
Usage
Run the command:
validate_traefik -h
>>> usage: validate_traefik [-h] [-s STATIC_CONFIG] [-d DYNAMIC_CONFIG]
Validate traefik config file.
optional arguments:
-h, --help show this help message and exit
-s STATIC_CONFIG, --static-config STATIC_CONFIG The static file path
-d DYNAMIC_CONFIG, --dynamic-config DYNAMIC_CONFIG The dynamic file path
For validating static config file:
validate_traefik -s <PATH_TO_YOUR_FILE>
For validating dynamic config file:
validate_traefik -d <PATH_TO_YOUR_FILE>
Note that you can use both options at the same command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for traefik_validator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2445ed8bbbc31b3395a99a66b61b9ebe79ebad7c9db6c81a457dc68184000c0 |
|
MD5 | 98295561a12a1eb6ec78ce0541aed757 |
|
BLAKE2b-256 | 588b2e669ec25b972623d743dda40fbdc9fcc0628e0177c9b9a988061b82ecb1 |