feat: add podAnnotations and add dsAnnotation configurable

close #193

Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
Christian Kotzbauer 2024-04-20 10:23:52 +02:00
parent d495133374
commit 844d107d34
16 changed files with 32 additions and 5 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
description: Kubernetes-Operator to simplify RBAC configurations
name: access-manager
version: 0.14.0
version: 0.14.1
appVersion: 0.13.0
home: https://github.com/ckotzbauer/access-manager
sources:

View File

@ -50,6 +50,7 @@ The following table lists the configurable parameters of the Access-Manager char
| `podAnnotations` | annotations to add to each pod | `{}` |
| `priorityClassName` | priority class name for the pod | `""` |
| `resources` | pod resource requests & limits | See [values.yaml](values.yaml) |
| `podSecurityContext` | pod securityContext | See [values.yaml](values.yaml) |
| `securityContext` | container securityContext | See [values.yaml](values.yaml) |
| `serviceAccount.create` | Should we create a ServiceAccount | `true` |
| `serviceAccount.name` | Name of the ServiceAccount to use | null |

View File

@ -49,5 +49,9 @@ spec:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@ -21,6 +21,8 @@ resources:
cpu: 50m
memory: 128Mi
podSecurityContext: {}
securityContext:
privileged: false
runAsUser: 1001

View File

@ -1,7 +1,7 @@
apiVersion: v1
description: A chart for a Cadvisor deployment
name: cadvisor
version: 2.3.2
version: 2.3.3
appVersion: 0.49.1
home: https://github.com/google/cadvisor
sources:

View File

@ -60,6 +60,7 @@ The following table lists the configurable parameters of the cAdvisor chart and
| `resources` | pod resource requests & limits | `{}` |
| `serviceAccount.create` | create a own serviceAccount for the pod | `true` |
| `serviceAccount.name` | name of the serviceAccount to create | `""` |
| `daemonsetAnnotations` | annotations for the daemonset | `{}` |
| `podAnnotations` | annotations for the daemonset pods | `{}` |
| `podLabels` | labels for the daemonset pods | `{}` |
| `priorityClassName` | priority classes name for the pod | `{}` |

View File

@ -3,8 +3,10 @@ kind: DaemonSet
metadata:
name: {{ template "cadvisor.name" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.daemonsetAnnotations }}
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
{{ toYaml . | indent 4 }}
{{- end }}
labels:
app: {{ template "cadvisor.name" . }}
chart: {{ template "cadvisor.chart" . }}

View File

@ -50,6 +50,9 @@ resources: {}
podAnnotations: {}
podLabels: {}
daemonsetAnnotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
# priorityClassName: system-cluster-critical
priorityClassName: {}

View File

@ -1,7 +1,7 @@
apiVersion: v2
description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft
name: sbom-operator
version: 0.33.0
version: 0.33.1
appVersion: 0.32.0
home: https://github.com/ckotzbauer/sbom-operator
sources:

View File

@ -42,6 +42,7 @@ The following table lists the configurable parameters of the sbom-operator chart
| `podAnnotations` | annotations to add to each pod | `{}` |
| `priorityClassName` | priority class name for the pod | `""` |
| `resources` | pod resource requests & limits | See [values.yaml](values.yaml) |
| `podSecurityContext` | pod securityContext | See [values.yaml](values.yaml) |
| `securityContext` | container securityContext | See [values.yaml](values.yaml) |
| `serviceAccount.create` | Should we create a ServiceAccount | `true` |
| `serviceAccount.name` | Name of the ServiceAccount to use | null |

View File

@ -99,5 +99,9 @@ spec:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@ -26,6 +26,8 @@ resources: {}
# cpu: 100m
# memory: 100Mi
podSecurityContext: {}
securityContext:
privileged: false
runAsUser: 1001

View File

@ -1,7 +1,7 @@
apiVersion: v2
description: Scans SBOMs for vulnerabilities
name: vulnerability-operator
version: 0.25.0
version: 0.25.1
appVersion: 0.23.0
home: https://github.com/ckotzbauer/vulnerability-operator
sources:

View File

@ -46,6 +46,7 @@ The following table lists the configurable parameters of the vulnerability-opera
| `resources` | pod resource requests & limits | See [values.yaml](values.yaml) |
| `extraVolumes` | Extra volumes (needed for GithubApp PK). | `[]` |
| `extraVolumeMounts` | Extra volume mounts | `[]` |
| `podSecurityContext` | pod securityContext | See [values.yaml](values.yaml) |
| `securityContext` | container securityContext | See [values.yaml](values.yaml) |
| `serviceAccount.create` | Should we create a ServiceAccount | `true` |
| `serviceAccount.name` | Name of the ServiceAccount to use | null |

View File

@ -108,5 +108,9 @@ spec:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@ -60,6 +60,8 @@ resources: {}
# cpu: 100m
# memory: 100Mi
podSecurityContext: {}
securityContext:
capabilities:
drop: