Move config parsing and CRD metrics from apis to internal package#4989
Conversation
apis to internal package
85fdcdf to
3fc7a48
Compare
|
@iypetrov this looks good to me, could you fix the lint errors? |
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
ad22886 to
178d5cd
Compare
|
Since we're removing symbols from a public package, I think we should add a changelog entry labeling it as breaking. We could move these to a public package, but I'd rather wait and see if anyone complains. WDYT @open-telemetry/operator-maintainers ? |
|
yes, i agree we should definitely mark this breaking, i don't imagine anyone is depending on this, but we should call that out explicitly |
I updated the PR description so to include breaking changes, is that enough? |
|
@iypetrov you need to add a changelog entry. Run |
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
E2E Test Results 36 files 259 suites 2h 18m 2s ⏱️ Results for commit 95dfe09. ♻️ This comment has been updated with latest results. |
|
hey @swiatekm, do you think this one is ready to be merged? |
Description:
This a prerequisite for issue #4972, as mention in this comment.
Link to tracking Issue(s):
github.com/goccy/go-yaml#4362Testing:
No new tests are added, just adapt some of the existing ones.
Breaking changes:
*Config(packageapis/v1beta1) converted to standalone functions ininternal/otelconfig, now taking*v1beta1.Configas the first parameter:*Serviceconverted to functions ininternal/otelconfig:*Telemetryconverted to function:apis/v1beta1tointernal/metricswith renames:apis/v1beta1: