Closed prashant-shahi closed 3 weeks ago
The changes in this pull request primarily involve updates to the Helm Chart for SigNoz. The Chart.yaml
file's version is incremented from 0.55.0
to 0.55.1
. Additionally, several YAML files related to the schema migrator have been removed, including those defining a Role, RoleBinding, and ServiceAccount, which eliminates their respective functionalities. Other YAML files have been modified to reflect changes in naming conventions from synchronous to asynchronous processing, along with adjustments to Helm hook annotations.
File Path | Change Summary |
---|---|
charts/signoz/Chart.yaml | Updated version from 0.55.0 to 0.55.1 . |
charts/signoz/templates/schema-migrator-async/role.yaml | Entire file removed, defining a Kubernetes Role for the schema migrator. |
charts/signoz/templates/schema-migrator-async/rolebinding.yaml | Entire file removed, defining a RoleBinding resource for the schema migrator. |
charts/signoz/templates/schema-migrator-async/serviceaccount.yaml | Entire file removed, defining a ServiceAccount for the schema migrator. |
charts/signoz/templates/schema-migrator/role.yaml | Role name updated from -sync to -async . |
charts/signoz/templates/schema-migrator/rolebinding.yaml | RoleBinding name and associated entities updated from -sync to -async ; annotations added conditionally. |
charts/signoz/templates/schema-migrator/serviceaccount.yaml | ServiceAccount name updated from -sync to -async . |
charts/signoz/templates/schema-migrator/migrations-async.yaml | Annotation modified from pre-upgrade to post-upgrade . |
charts/signoz/templates/schema-migrator/migrations-sync.yaml | Removed serviceAccountName field from the Job spec. |
charts/signoz/values.yaml | Annotations for schema migrator updated to {} ; upgradeHelmHooks set to true . |
Chart.yaml
file for the SigNoz Helm chart, incrementing the version from 0.52.0
to 0.53.0
, which is related to the version update in the main PR from 0.55.0
to 0.55.1
.Chart.yaml
file for the SigNoz Helm chart, changing the version from 0.53.0
to 0.53.1
, which is relevant to the versioning changes in the main PR.Chart.yaml
file is updated from 0.53.1
to 0.54.0
, indicating a progression in versioning that aligns with the version updates seen in the main PR.Chart.yaml
file for the SigNoz Helm chart, changing the version from 0.54.0
to 0.54.1
, which is directly related to the version increment in the main PR.Chart.yaml
file for the SigNoz Helm chart, changing the version from 0.54.2
to 0.55.0
, which is relevant to the versioning context of the main PR.🐇 In the meadow where changes bloom,
A version rises, dispelling gloom.
With roles and bindings now set free,
Async awaits, as bright as can be!
Annotations dance, in YAML's embrace,
A hop of joy in this coding space! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Included helm hooks for schema-migrator dependency resources as well.
Pros:
Cons:
Alternatively, we can use the post-upgrade
helm hook for migrator jobs.
However, the possible edge that existed previously there would be back i.e. collector pods getting created before the latest migrator job is created.
Why does the schema-migrator need a Role, RoleBinding at all?
Why does the schema-migrator need a Role, RoleBinding at all?
For the k8s-wait-for
to watch the creation and completion of the migrator jobs.
Async Job and Collectors --- depends on ----> Sync Job completion
Summary
schema-migrator-sync
role and service accountschema-migrator-async
job helm hook topost-upgrade
otel-collector
andotel-collector-metrics
Summary by CodeRabbit
New Features
Bug Fixes
Modifications