chore: Update appVersion and psp as privileged (#26)

This commit is contained in:
Pere Alcoberro 2020-09-16 17:32:06 +02:00 committed by GitHub
parent b4144f449c
commit 904742182f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 21 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v1
description: A chart for a Cadvisor deployment
name: cadvisor
version: 1.1.4
appVersion: 0.36.0
version: 1.2.0
appVersion: 0.37.0
home: https://github.com/google/cadvisor
sources:
- https://github.com/google/cadvisor

View File

@ -42,9 +42,9 @@ The command removes all the Kubernetes components associated with the chart and
The following table lists the configurable parameters of the Prometheus MSTeams chart and their default values.
| Parameter | Description | Default |
| -------------------------- | ------------------------------------------------ | --------------------- |
| ------------------------------ | ------------------------------------------------ | --------------------- |
| `image.repository` | container image repository | `k8s.gcr.io/cadvisor` |
| `image.tag` | container image tag | `v0.36.0` |
| `image.tag` | container image tag | `v0.37.0` |
| `image.pullPolicy` | container image pull policy | `IfNotPresent` |
| `image.pullSecrets` | container image pull secrets | `[]` |
| `nodeSelector` | node labels for pod assignment | `{}` |
@ -58,6 +58,7 @@ The following table lists the configurable parameters of the Prometheus MSTeams
| `serviceAccount.name` | name of the serviceAccount to create | `""` |
| `podAnnotations` | annotations for the daemonset pods | `{}` |
| `podSecurityPolicy.create` | create a own PodSecurityPolicy for the pod | `false` |
| `podSecurityPolicy.privileged` | create the PodSecurityPolicy as privileged | `false` |
| `metrics.enabled` | create ServiceMonitor CR for Prometheus operator | `false` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

View File

@ -14,6 +14,9 @@ spec:
rule: RunAsAny
volumes:
- '*'
{{ if .Values.podSecurityPolicy.privileged }}
privileged: true
{{- end }}
allowedHostPaths:
{{- range .Values.container.hostPaths }}
- pathPrefix: {{ .path }}

View File

@ -1,6 +1,6 @@
image:
repository: k8s.gcr.io/cadvisor
tag: v0.36.0
tag: v0.37.0
pullPolicy: IfNotPresent
## Reference to one or more secrets to be used when pulling images
@ -56,6 +56,7 @@ serviceAccount:
podSecurityPolicy:
create: false
privileged: false
nodeSelector: {}