-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Description
I have following rules defined in helm chart to be able to read metrics from trino coordinator and workers:
accessControl:
type: configmap
refreshPeriod: 60s
configFile: "rules.json"
rules:
rules.json: |-
{
"system_information": [
{
"role": "admin",
"allow": ["read", "write"]
},
{
"user": "foo",
"allow": ["read"]
}
]
}
when enabling graceful shutdown, it automatically overwrites above with
{
"system_information": [
{
"allow": [
"write"
],
"user": "admin"
}
]
}
hence reading metrics for foo
user stops working. Looks like it happens here: https://github.com/trinodb/charts/blob/main/charts/trino/templates/deployment-worker.yaml#L75
I think it would be good to have some switch to enable/disable creation of system information access when enabling graceful shutdown.
Metadata
Metadata
Assignees
Labels
No labels