mirror of
https://github.com/truenas/charts.git
synced 2026-06-18 01:26:53 +08:00
36 lines
620 B
Markdown
36 lines
620 B
Markdown
# Image Pull Secrets
|
|
|
|
## key: imagePullCredentials
|
|
|
|
Info:
|
|
|
|
- Type: `list`
|
|
- Default: `[]`
|
|
- Helm Template: ❌
|
|
|
|
Can be defined in:
|
|
|
|
- `.Values`.imagePullCredentials
|
|
|
|
---
|
|
|
|
Every entry here will create a secret of type `kubernetes.io/dockerconfigjson`
|
|
|
|
And then it will inject it's name at `spec.template.spec.imagePullSecret`
|
|
in the Pod of Deployment/StatefulSet/DaemonSet/CronJob/Job
|
|
|
|
All fields are **required**.
|
|
|
|
Examples:
|
|
|
|
```yaml
|
|
imagePullCredentials:
|
|
- name: myPrivRegistry
|
|
enabled: true
|
|
contents:
|
|
registry: quay.io
|
|
username: someone
|
|
password: password
|
|
email: someone@host.com
|
|
```
|