mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added image pull secret option to download custom image from private repository (#18760)
Signed-off-by: Javier Martínez <jmartinezfl@minsait.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3479c06794
commit
08202c438d
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: sonatype-nexus
|
||||
version: 1.20.0
|
||||
version: 1.21.0
|
||||
appVersion: 3.17.0-01
|
||||
description: Sonatype Nexus is an open source repository manager
|
||||
keywords:
|
||||
|
||||
@@ -68,6 +68,7 @@ The following table lists the configurable parameters of the Nexus chart and the
|
||||
| `nexus.imageName` | Nexus image | `quay.io/travelaudience/docker-nexus` |
|
||||
| `nexus.imageTag` | Version of Nexus | `3.17.0` |
|
||||
| `nexus.imagePullPolicy` | Nexus image pull policy | `IfNotPresent` |
|
||||
| `nexus.imagePullSecret` | Secret to download Nexus image from private registry | `nil` |
|
||||
| `nexus.env` | Nexus environment variables | `[{install4jAddVmParams: -Xms1200M -Xmx1200M -XX:MaxDirectMemorySize=2G -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap}]` |
|
||||
| `nexus.resources` | Nexus resource requests and limits | `{}` |
|
||||
| `nexus.dockerPort` | Port to access docker | `5003` |
|
||||
|
||||
@@ -55,6 +55,10 @@ spec:
|
||||
hostAliases:
|
||||
{{ toYaml .Values.nexus.hostAliases | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nexus.imagePullSecret }}
|
||||
imagePullSecrets:
|
||||
- name: {{ .Values.nexus.imagePullSecret }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: nexus
|
||||
image: {{ .Values.nexus.imageName }}:{{ .Values.nexus.imageTag }}
|
||||
|
||||
Reference in New Issue
Block a user