Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/observability/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8
86c5d1afc6f0abe194346ae18c793cc857b5bc62
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ class InstanceSensitiveData(BaseModel):

alerting_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="alertingUrl")
cluster: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
dashboard_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="dashboardUrl")
grafana_admin_enabled: StrictBool = Field(alias="grafanaAdminEnabled")
grafana_admin_password: Annotated[str, Field(min_length=32, strict=True)] = Field(alias="grafanaAdminPassword")
grafana_admin_user: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="grafanaAdminUser")
grafana_admin_password: Optional[Annotated[str, Field(min_length=32, strict=True)]] = Field(
default=None, alias="grafanaAdminPassword"
)
grafana_admin_user: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(
default=None, alias="grafanaAdminUser"
)
grafana_public_read_access: StrictBool = Field(alias="grafanaPublicReadAccess")
grafana_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="grafanaUrl")
grafana_use_stackit_sso: StrictBool = Field(alias="grafanaUseStackitSso")
Expand Down Expand Up @@ -65,7 +68,6 @@ class InstanceSensitiveData(BaseModel):
__properties: ClassVar[List[str]] = [
"alertingUrl",
"cluster",
"dashboardUrl",
"grafanaAdminEnabled",
"grafanaAdminPassword",
"grafanaAdminUser",
Expand Down Expand Up @@ -150,7 +152,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
{
"alertingUrl": obj.get("alertingUrl"),
"cluster": obj.get("cluster"),
"dashboardUrl": obj.get("dashboardUrl"),
"grafanaAdminEnabled": (
obj.get("grafanaAdminEnabled") if obj.get("grafanaAdminEnabled") is not None else True
),
Expand Down
Loading