From d0f9471db42212851ce4fd7f147a5545233c1216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 29 Feb 2024 17:01:10 +0100 Subject: [PATCH] fix ocm service account init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- ocis/pkg/init/init.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ocis/pkg/init/init.go b/ocis/pkg/init/init.go index 32993ec0a..70d6865cc 100644 --- a/ocis/pkg/init/init.go +++ b/ocis/pkg/init/init.go @@ -83,6 +83,10 @@ type FrontendService struct { ServiceAccount ServiceAccount `yaml:"service_account"` } +type OcmService struct { + ServiceAccount ServiceAccount `yaml:"service_account"` +} + type AuthbasicService struct { AuthProviders LdapBasedService `yaml:"auth_providers"` } @@ -194,6 +198,7 @@ type OcisConfig struct { Users UsersAndGroupsService Groups UsersAndGroupsService Ocdav InsecureService + Ocm OcmService Thumbnails ThumbnailService Search Search Audit Audit @@ -393,6 +398,9 @@ func CreateConfig(insecure, forceOverwrite bool, configPath, adminPassword strin Frontend: FrontendService{ ServiceAccount: serviceAccount, }, + Ocm: OcmService{ + ServiceAccount: serviceAccount, + }, Clientlog: Clientlog{ ServiceAccount: serviceAccount, },