You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[chore]: Deprecated VolumeSizeLimit in the Instrumentation CRD (#4431)
* fix: deprecate volumeSizeLimit field in instrumentation types
* feat: add deprecation warnings for volumeSizeLimit field in instrumentation spec
* chore: Regenerated bundle and manifests
* fix: minor changes
* fix: updates related to changelog
* bug: Revert rename of volumeLimitSize
* chore: Regenerated bundle and manifests
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2
+
change_type: deprecation
3
+
4
+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5
+
component: auto-instrumentation
6
+
7
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8
+
note: Deprecate VolumeSizeLimit in the Instrumentation CRD
9
+
10
+
# One or more tracking issues related to the change
11
+
issues: [3382]
12
+
13
+
# (Optional) One or more lines of additional information to render under the primary note.
14
+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15
+
# Use pipe (|) for multiline entries.
16
+
subtext: |
17
+
- The `volumeSizeLimit` field is deprecated.
18
+
- Use `spec.<lang>.volume.size` instead of `spec.<lang>.volumeSizeLimit`.
19
+
- The validating webhook emits a warning when `volumeSizeLimit` is used.
// Deprecated field warnings: spec.<lang>.volumeSizeLimit
263
+
ifr.Spec.Java.VolumeSizeLimit!=nil {
264
+
warnings=append(warnings, "spec.java.volumeSizeLimit is deprecated and will be removed in a future release; use spec.java.volume.size instead")
265
+
}
266
+
ifr.Spec.NodeJS.VolumeSizeLimit!=nil {
267
+
warnings=append(warnings, "spec.nodejs.volumeSizeLimit is deprecated and will be removed in a future release; use spec.nodejs.volume.size instead")
268
+
}
269
+
ifr.Spec.Python.VolumeSizeLimit!=nil {
270
+
warnings=append(warnings, "spec.python.volumeSizeLimit is deprecated and will be removed in a future release; use spec.python.volume.size instead")
271
+
}
272
+
ifr.Spec.DotNet.VolumeSizeLimit!=nil {
273
+
warnings=append(warnings, "spec.dotnet.volumeSizeLimit is deprecated and will be removed in a future release; use spec.dotnet.volume.size instead")
274
+
}
275
+
ifr.Spec.Go.VolumeSizeLimit!=nil {
276
+
warnings=append(warnings, "spec.go.volumeSizeLimit is deprecated and will be removed in a future release; use spec.go.volume.size instead")
277
+
}
278
+
ifr.Spec.ApacheHttpd.VolumeSizeLimit!=nil {
279
+
warnings=append(warnings, "spec.apachehttpd.volumeSizeLimit is deprecated and will be removed in a future release; use spec.apachehttpd.volume.size instead")
280
+
}
281
+
ifr.Spec.Nginx.VolumeSizeLimit!=nil {
282
+
warnings=append(warnings, "spec.nginx.volumeSizeLimit is deprecated and will be removed in a future release; use spec.nginx.volume.size instead")
0 commit comments