Skip to content

This is a tool to validate the Pull Secret file from the command line interface.

License

Notifications You must be signed in to change notification settings

RHsyseng/pullsecret-validator-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pullsecret-validator-cli

Description

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.

Install it (Windows/macOS/Linux)

  • 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

How to Use it

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

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

Output examples:

Usage example output:

img/img_1.png

The default output format is "table", so if you don't use the -o flag, the output will be shown in a table format

img/img.png

Json format output:

img/img_2.png

Yaml format output:

img/img_3.png

Reference

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

Developer

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

About

This is a tool to validate the Pull Secret file from the command line interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages