New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(orc8r): add k8s annotations to trigger subscriberdb for gateway_subscriber_state #13087
fix(orc8r): add k8s annotations to trigger subscriberdb for gateway_subscriber_state #13087
Conversation
…teway_subscriber_state Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com>
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
@@ -111,7 +111,7 @@ subscriberdb: | |||
orc8r.io/state_indexer: "true" | |||
orc8r.io/swagger_spec: "true" | |||
annotations: | |||
orc8r.io/state_indexer_types: "mobilityd_ipdesc_record" | |||
orc8r.io/state_indexer_types: "mobilityd_ipdesc_record,gateway_subscriber_state" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[yamllint] reported by reviewdog 🐶
[error] wrong indentation: expected 5 but found 6 (indentation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…teway_subscriber_state (magma#13087) Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com>
Summary
This PR adds the necessary annotations to trigger subscriberdb indexer for
gateway_subscriber_state
in k8s deployments. This is a follow-up task from #13041.Test Plan
Manual testing is done with grpcurl and the following commands.
The state is written to
states
table and the indexer writes its entries to thegateway_subscriber_states
table.the
gateway_subscriber_states
table is indeed empty.also works. The respective states get written into the
gateway_subscriber_states
table as above andsubscriberdb_ip_to_imsi
.Additional Information