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
|
apiVersion: v1
|
||||||
description: A chart for a Cadvisor deployment
|
description: A chart for a Cadvisor deployment
|
||||||
name: cadvisor
|
name: cadvisor
|
||||||
version: 1.1.3
|
version: 1.1.4
|
||||||
appVersion: 0.36.0
|
appVersion: 0.36.0
|
||||||
home: https://github.com/google/cadvisor
|
home: https://github.com/google/cadvisor
|
||||||
sources:
|
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.repository` | container image repository | `k8s.gcr.io/cadvisor` |
|
||||||
| `image.tag` | container image tag | `v0.36.0` |
|
| `image.tag` | container image tag | `v0.36.0` |
|
||||||
| `image.pullPolicy` | container image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | container image pull policy | `IfNotPresent` |
|
||||||
|
| `image.pullSecrets` | container image pull secrets | `[]` |
|
||||||
| `nodeSelector` | node labels for pod assignment | `{}` |
|
| `nodeSelector` | node labels for pod assignment | `{}` |
|
||||||
| `tolerations` | node tolerations for pod assignment | `[]` |
|
| `tolerations` | node tolerations for pod assignment | `[]` |
|
||||||
| `affinity` | node affinity for pod assignment | `{}` |
|
| `affinity` | node affinity for pod assignment | `{}` |
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,12 @@ spec:
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{ if .Values.image.pullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- range .Values.image.pullSecrets }}
|
||||||
|
- name: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
||||||
{{ if .Values.hostNetwork }}
|
{{ if .Values.hostNetwork }}
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@ image:
|
||||||
tag: v0.36.0
|
tag: v0.36.0
|
||||||
pullPolicy: IfNotPresent
|
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:
|
container:
|
||||||
port: 8080
|
port: 8080
|
||||||
additionalArgs:
|
additionalArgs:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue