This is a tool to validate the Pull Secret file from the command line interface. This repository and its contents are completely UNSUPPORTED in any way and are not part of official documentation.
- To Install the binary in your system just get the latest release:
https://github.com/RHsyseng/pullsecret-validator-cli/releases/latest
- Download the file for your OS distribution (Go Binary complied for several OS)
- Unzip the binary into a folder inside your $PATH
To show the instructions or the help message
./pullsecret-validator-cli -h
To validate the pull secret file use the path/filename structure with the -f flag. This is the required param. Without -f the program will show you the options.
./pullsecret-validator-cli -f /home/alknopfler/pull-secret.json
Output formats available:
- table
- json
- yaml
By default the output format is table. If you want to use another one use the -o flag:
./pullsecret-validator-cli -f /home/alknopfler/pull-secret.json -o yaml
Usage example output:
The default output format is "table", so if you don't use the -o flag, the output will be shown in a table format
Json format output:
Yaml format output:
This is the CLI (Command Line Interface) version of the pull secret validator Also you could use the web version published just only for internal staff
Github actions deployed to create builds for different Architectures. Also, created the asset for releases. Just need to create a tag/alias to trigger the github actions