Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/int128/conftest-docker-hub-image-pull-secrets
Conftest policy to test imagePullSecrets for Docker Hub images
https://github.com/int128/conftest-docker-hub-image-pull-secrets
conftest kubernetes rego
Last synced: 2 months ago
JSON representation
Conftest policy to test imagePullSecrets for Docker Hub images
- Host: GitHub
- URL: https://github.com/int128/conftest-docker-hub-image-pull-secrets
- Owner: int128
- License: apache-2.0
- Created: 2023-01-14T00:01:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-26T10:46:36.000Z (2 months ago)
- Last Synced: 2024-10-26T22:56:40.304Z (2 months ago)
- Topics: conftest, kubernetes, rego
- Language: Open Policy Agent
- Homepage:
- Size: 367 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# conftest-docker-hub-image-pull-secrets [![conftest](https://github.com/int128/conftest-docker-hub-image-pull-secrets/actions/workflows/conftest.yaml/badge.svg)](https://github.com/int128/conftest-docker-hub-image-pull-secrets/actions/workflows/conftest.yaml)
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`