Add imagePullSecrets (#25)
* chore: Add imagePullSecrets * fix: linting * test * troubleshoot testing
This commit is contained in:
parent
37629c9311
commit
b4144f449c
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
description: A chart for a Cadvisor deployment
|
||||
name: cadvisor
|
||||
version: 1.1.3
|
||||
version: 1.1.4
|
||||
appVersion: 0.36.0
|
||||
home: https://github.com/google/cadvisor
|
||||
sources:
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ The following table lists the configurable parameters of the Prometheus MSTeams
|
|||
| `image.repository` | container image repository | `k8s.gcr.io/cadvisor` |
|
||||
| `image.tag` | container image tag | `v0.36.0` |
|
||||
| `image.pullPolicy` | container image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | container image pull secrets | `[]` |
|
||||
| `nodeSelector` | node labels for pod assignment | `{}` |
|
||||
| `tolerations` | node tolerations for pod assignment | `[]` |
|
||||
| `affinity` | node affinity for pod assignment | `{}` |
|
||||
|
|
|
|||
|
|
@ -24,6 +24,12 @@ spec:
|
|||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{ if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
||||
{{ if .Values.hostNetwork }}
|
||||
hostNetwork: true
|
||||
|
|
|
|||
|
|
@ -3,6 +3,11 @@ image:
|
|||
tag: v0.36.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
## 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/
|
||||
##
|
||||
pullSecrets: []
|
||||
|
||||
container:
|
||||
port: 8080
|
||||
additionalArgs:
|
||||
|
|
|
|||
Loading…
Reference in New Issue