Chart: Add global.image.registry. (#12028)

This commit is contained in:
Marco Ebert 2024-09-30 10:26:04 +02:00 committed by GitHub
parent 3f6e6aef78
commit 45fc8860cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 49 additions and 14 deletions

View file

@ -169,6 +169,16 @@ tests:
path: spec.template.spec.containers[0].securityContext.runAsGroup
value: 1000
- it: should create a Deployment with a custom registry if `global.image.registry` is set
set:
global.image.registry: custom.registry.io
controller.image.tag: v1.0.0-dev
controller.image.digest: sha256:faa2d18687f734994b6bd9e309e7a73852a81c30e1b8f63165fcd4f0a087e3cd
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: custom.registry.io/ingress-nginx/controller:v1.0.0-dev@sha256:faa2d18687f734994b6bd9e309e7a73852a81c30e1b8f63165fcd4f0a087e3cd
- it: should create a Deployment with a custom registry if `controller.image.registry` is set
set:
controller.image.registry: custom.registry.io