From 3103a5e8a03a27946fe6cf78e30f9d1ce3d0491d Mon Sep 17 00:00:00 2001 From: Thorsten Klein Date: Mon, 5 Feb 2024 20:35:41 +0100 Subject: [PATCH] add: AppLogEndpoint + AppLogSecret on Region object supporting the new app logs feature (#2474) Signed-off-by: Thorsten Klein --- pkg/apis/api.acorn.io/v1/region.go | 4 +++- pkg/openapi/generated/openapi_generated.go | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/pkg/apis/api.acorn.io/v1/region.go b/pkg/apis/api.acorn.io/v1/region.go index c54ba2451..76466f908 100644 --- a/pkg/apis/api.acorn.io/v1/region.go +++ b/pkg/apis/api.acorn.io/v1/region.go @@ -28,7 +28,9 @@ type RegionSpec struct { } type RegionStatus struct { - Conditions []v1.Condition `json:"conditions,omitempty"` + Conditions []v1.Condition `json:"conditions,omitempty"` + AppLogEndpoint string `json:"appLogEndpoint,omitempty"` + AppLogSecret string `json:"appLogSecret,omitempty"` } func (in *Region) NamespaceScoped() bool { diff --git a/pkg/openapi/generated/openapi_generated.go b/pkg/openapi/generated/openapi_generated.go index f631defb9..cbb47824f 100644 --- a/pkg/openapi/generated/openapi_generated.go +++ b/pkg/openapi/generated/openapi_generated.go @@ -5354,6 +5354,18 @@ func schema_pkg_apis_apiacornio_v1_RegionStatus(ref common.ReferenceCallback) co }, }, }, + "appLogEndpoint": { + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + "appLogSecret": { + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, }, }, },