[chart] Adding imagePullSecrets to Service Account
Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
This commit is contained in:
parent
920b6ffcdb
commit
d7723fb0f4
@ -1,5 +1,5 @@
|
||||
name: cert-manager
|
||||
version: v0.6.0-dev.6
|
||||
version: v0.6.0-dev.7
|
||||
appVersion: v0.6.0-dev.4
|
||||
description: A Helm chart for cert-manager
|
||||
home: https://github.com/jetstack/cert-manager
|
||||
|
||||
@ -64,6 +64,7 @@ The following table lists the configurable parameters of the cert-manager chart
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| --------- | ----------- | ------- |
|
||||
| `global.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
|
||||
| `image.repository` | Image repository | `quay.io/jetstack/cert-manager-controller` |
|
||||
| `image.tag` | Image tag | `canary` |
|
||||
| `image.pullPolicy` | Image pull policy | `Always` |
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
{{- if .Values.global.imagePullSecrets }}
|
||||
imagePullSecrets: {{ toYaml .Values.global.imagePullSecrets | nindent 2 }}
|
||||
{{- end }}
|
||||
metadata:
|
||||
name: {{ template "cert-manager.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
|
||||
@ -1,6 +1,13 @@
|
||||
# Default values for cert-manager.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
global:
|
||||
## Reference to one or more secrets to be used when pulling images
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
imagePullSecrets: []
|
||||
# - name: "image-pull-secret"
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
strategy: {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user