int128 / conftest-docker-hub-image-pull-secrets

Conftest policy to test imagePullSecrets for Docker Hub images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conftest-docker-hub-image-pull-secrets conftest

This is a Conftest policy to test imagePullSecrets of Kubernetes for Docker Hub images.

  • If some container uses an image of Docker Hub, it should have imagePullSecrets
  • If any container does not use an image of Docker Hub, it should not have imagePullSecrets

About

Conftest policy to test imagePullSecrets for Docker Hub images

License:Apache License 2.0


Languages

Language:Open Policy Agent 100.0%