Skip to content

Commit 5b8d5e4

Browse files
chore: Prepare v1.5.0-beta.0 release (#1082)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ashnamehrotra <[email protected]>
1 parent c60f83d commit 5b8d5e4

35 files changed

+1204
-138
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION := v1.4.0-beta.0
1+
VERSION := v1.5.0-beta.0
22

33
MANAGER_TAG ?= ${VERSION}
44
TRIVY_SCANNER_TAG ?= ${VERSION}

charts/eraser/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: eraser
33
description: A Helm chart for Eraser
44
type: application
5-
version: 1.4.0-beta.0
6-
appVersion: v1.4.0-beta.0
5+
version: 1.5.0-beta.0
6+
appVersion: v1.5.0-beta.0
77
home: https://github.com/eraser-dev/eraser
88
sources:
99
- https://github.com/eraser-dev/eraser.git

charts/eraser/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,17 @@ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documen
4545
| runtimeConfig.manager.imageJob.cleanup | Settings for image job cleanup. | `{}` |
4646
| runtimeConfig.manager.pullSecrets | Image pull secrets for collector/scanner/eraser. | `[]` |
4747
| runtimeConfig.manager.priorityClassName | Priority class name for collector/scanner/eraser. | `""` |
48+
| runtimeConfig.manager.additionalPodLabels | Additional labels for all pods that the controller creates at runtime. | `{}` |
4849
| runtimeConfig.manager.nodeFilter | Filter for nodes. | `{}` |
49-
| runtimeConfig.components.collector | Settings for the collector component. | `{ enabled: false }` |
50-
| runtimeConfig.components.scanner | Settings for the scanner component. | `{ enabled: false }` |
50+
| runtimeConfig.components.collector | Settings for the collector component. | `{ enabled: true }` |
51+
| runtimeConfig.components.scanner | Settings for the scanner component. | `{ enabled: true }` |
5152
| runtimeConfig.components.eraser | Settings for the eraser component. | `{}` |
5253
| deploy.image.repo | Repository for the image. | `ghcr.io/eraser-dev/eraser-manager` |
5354
| deploy.image.pullPolicy | Policy for pulling the image. | `IfNotPresent` |
5455
| deploy.image.tag | Overrides the default image tag. | `""` |
5556
| deploy.additionalArgs | Additional arguments to pass to the command. | `[]` |
5657
| deploy.priorityClassName | Priority class name. | `""` |
58+
| deploy.additionalPodLabels | Additional labels for the controller pod. | `{}` |
5759
| deploy.securityContext.allowPrivilegeEscalation | Whether to allow privilege escalation. | `false` |
5860
| deploy.resources.limits.memory | Memory limit for the resources. | `30Mi` |
5961
| deploy.resources.requests.cpu | CPU request for the resources. | `100m` |

charts/eraser/templates/eraser-controller-manager-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
template:
2222
metadata:
2323
labels:
24+
{{- if .Values.deploy.additionalPodLabels }}{{- toYaml .Values.deploy.additionalPodLabels | nindent 8 }}{{end}}
2425
app.kubernetes.io/instance: '{{ .Release.Name }}'
2526
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
2627
app.kubernetes.io/name: '{{ template "eraser.name" . }}'

charts/eraser/templates/eraser-imagejob-pods-cluster-role-clusterrole.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

charts/eraser/templates/eraser-manager-role-clusterrole.yaml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
creationTimestamp: null
54
labels:
65
app.kubernetes.io/instance: '{{ .Release.Name }}'
76
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
87
app.kubernetes.io/name: '{{ template "eraser.name" . }}'
98
helm.sh/chart: '{{ template "eraser.name" . }}'
109
name: eraser-manager-role
1110
rules:
12-
- apiGroups:
13-
- ""
14-
resources:
15-
- configmaps
16-
verbs:
17-
- create
18-
- delete
19-
- get
20-
- list
21-
- patch
22-
- update
23-
- watch
2411
- apiGroups:
2512
- ""
2613
resources:
@@ -29,29 +16,6 @@ rules:
2916
- get
3017
- list
3118
- watch
32-
- apiGroups:
33-
- ""
34-
resources:
35-
- pods
36-
verbs:
37-
- create
38-
- delete
39-
- get
40-
- list
41-
- update
42-
- watch
43-
- apiGroups:
44-
- ""
45-
resources:
46-
- podtemplates
47-
verbs:
48-
- create
49-
- delete
50-
- get
51-
- list
52-
- patch
53-
- update
54-
- watch
5519
- apiGroups:
5620
- eraser.sh
5721
resources:
@@ -61,8 +25,6 @@ rules:
6125
- delete
6226
- get
6327
- list
64-
- patch
65-
- update
6628
- watch
6729
- apiGroups:
6830
- eraser.sh
@@ -77,12 +39,8 @@ rules:
7739
resources:
7840
- imagelists
7941
verbs:
80-
- create
81-
- delete
8242
- get
8343
- list
84-
- patch
85-
- update
8644
- watch
8745
- apiGroups:
8846
- eraser.sh
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
labels:
5+
app.kubernetes.io/instance: '{{ .Release.Name }}'
6+
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
7+
app.kubernetes.io/name: '{{ template "eraser.name" . }}'
8+
helm.sh/chart: '{{ template "eraser.name" . }}'
9+
name: eraser-manager-role
10+
namespace: '{{ .Release.Namespace }}'
11+
rules:
12+
- apiGroups:
13+
- ""
14+
resources:
15+
- configmaps
16+
verbs:
17+
- create
18+
- delete
19+
- get
20+
- list
21+
- patch
22+
- update
23+
- watch
24+
- apiGroups:
25+
- ""
26+
resources:
27+
- pods
28+
verbs:
29+
- create
30+
- delete
31+
- get
32+
- list
33+
- update
34+
- watch
35+
- apiGroups:
36+
- ""
37+
resources:
38+
- podtemplates
39+
verbs:
40+
- create
41+
- delete
42+
- get
43+
- list
44+
- patch
45+
- update
46+
- watch
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
apiVersion: rbac.authorization.k8s.io/v1
2-
kind: ClusterRoleBinding
2+
kind: RoleBinding
33
metadata:
44
labels:
55
app.kubernetes.io/instance: '{{ .Release.Name }}'
66
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
77
app.kubernetes.io/name: '{{ template "eraser.name" . }}'
88
helm.sh/chart: '{{ template "eraser.name" . }}'
9-
name: eraser-imagejob-pods-cluster-rolebinding
9+
name: eraser-manager-rolebinding
10+
namespace: '{{ .Release.Namespace }}'
1011
roleRef:
1112
apiGroup: rbac.authorization.k8s.io
12-
kind: ClusterRole
13-
name: eraser-imagejob-pods-cluster-role
13+
kind: Role
14+
name: eraser-manager-role
1415
subjects:
1516
- kind: ServiceAccount
16-
name: eraser-imagejob-pods
17+
name: eraser-controller-manager
1718
namespace: '{{ .Release.Namespace }}'

charts/eraser/templates/imagejobs.eraser.sh-customresourcedefinition.yaml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.9.0
6-
creationTimestamp: null
5+
controller-gen.kubebuilder.io/version: v0.14.0
76
labels:
87
app.kubernetes.io/instance: '{{ .Release.Name }}'
98
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
@@ -25,10 +24,19 @@ spec:
2524
description: ImageJob is the Schema for the imagejobs API.
2625
properties:
2726
apiVersion:
28-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
description: |-
28+
APIVersion defines the versioned schema of this representation of an object.
29+
Servers should convert recognized schemas to the latest internal value, and
30+
may reject unrecognized values.
31+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2932
type: string
3033
kind:
31-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
34+
description: |-
35+
Kind is a string value representing the REST resource this object represents.
36+
Servers may infer this from the endpoint the client submits requests to.
37+
Cannot be updated.
38+
In CamelCase.
39+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3240
type: string
3341
metadata:
3442
type: object
@@ -74,10 +82,19 @@ spec:
7482
description: ImageJob is the Schema for the imagejobs API.
7583
properties:
7684
apiVersion:
77-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
85+
description: |-
86+
APIVersion defines the versioned schema of this representation of an object.
87+
Servers should convert recognized schemas to the latest internal value, and
88+
may reject unrecognized values.
89+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
7890
type: string
7991
kind:
80-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
92+
description: |-
93+
Kind is a string value representing the REST resource this object represents.
94+
Servers may infer this from the endpoint the client submits requests to.
95+
Cannot be updated.
96+
In CamelCase.
97+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
8198
type: string
8299
metadata:
83100
type: object

charts/eraser/templates/imagelists.eraser.sh-customresourcedefinition.yaml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.9.0
6-
creationTimestamp: null
5+
controller-gen.kubebuilder.io/version: v0.14.0
76
labels:
87
app.kubernetes.io/instance: '{{ .Release.Name }}'
98
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
@@ -25,10 +24,19 @@ spec:
2524
description: ImageList is the Schema for the imagelists API.
2625
properties:
2726
apiVersion:
28-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
description: |-
28+
APIVersion defines the versioned schema of this representation of an object.
29+
Servers should convert recognized schemas to the latest internal value, and
30+
may reject unrecognized values.
31+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2932
type: string
3033
kind:
31-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
34+
description: |-
35+
Kind is a string value representing the REST resource this object represents.
36+
Servers may infer this from the endpoint the client submits requests to.
37+
Cannot be updated.
38+
In CamelCase.
39+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3240
type: string
3341
metadata:
3442
type: object
@@ -81,10 +89,19 @@ spec:
8189
description: ImageList is the Schema for the imagelists API.
8290
properties:
8391
apiVersion:
84-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
92+
description: |-
93+
APIVersion defines the versioned schema of this representation of an object.
94+
Servers should convert recognized schemas to the latest internal value, and
95+
may reject unrecognized values.
96+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
8597
type: string
8698
kind:
87-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
99+
description: |-
100+
Kind is a string value representing the REST resource this object represents.
101+
Servers may infer this from the endpoint the client submits requests to.
102+
Cannot be updated.
103+
In CamelCase.
104+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
88105
type: string
89106
metadata:
90107
type: object

0 commit comments

Comments
 (0)