Giter Site home page Giter Site logo

validate-pull-secret's Introduction

validate-pull-secret

Checks that a pull secret gives access to all the container images required for an OpenShift installation.

Use case: if your bootstrap node keeps failing at pulling images, then you probably want to check that you passed openshift-install the required credentials in the pull-secret.

This tool takes the pull secret filename as an argument and uses it to fetch the image manifests for all the openshift pods. It only downloads (podman pull) the release image pointed to by the openshift-install binary; access to the individual images is assessed by downloading the image manifests with Skopeo.

Requirements

  • bash
  • jq
  • podman
  • skopeo
  • openshift-install

Use

If openshift-install is in $PATH, just run:

./validate-pull-secret pull-secret.json

For passing openshift-install's path:

./validate-pull-secret -i ~/go/bin/openshift-install pull-secret.json

If you know the address of the release image already, you can pass it without the need of having the corresponding openshift-installer:

./validate-pull-secret -r registry.openshift.example.com/ocp/release:4.3 pull-secret.json

validate-pull-secret's People

Contributors

pierreprinetti avatar

Stargazers

Joshua Hublar avatar

Watchers

Martin André avatar Roman Dobosz avatar James Cloos avatar Matthew Booth avatar  avatar Luis Tomas Bolivar avatar Maysa De Macedo Souza avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.