From 572296943a4adcae38d9b5b05c3d22ae33f2a396 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Thu, 24 Oct 2024 10:12:04 +0200 Subject: [PATCH] [condition] Add CreateServiceReadyCondition Jira: OSPRH-4164 --- modules/common/condition/conditions.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/common/condition/conditions.go b/modules/common/condition/conditions.go index b64d9577..ab1e63be 100644 --- a/modules/common/condition/conditions.go +++ b/modules/common/condition/conditions.go @@ -35,6 +35,9 @@ const ( // DBSyncReadyCondition Status=True condition when dbsync job completed ok DBSyncReadyCondition Type = "DBSyncReady" + // CreateServiceReadyCondition Status=True condition when k8s service for the service created ok + CreateServiceReadyCondition Type = "CreateServiceReady" + // ExposeServiceReadyCondition Status=True condition when service/routes to expose the service created ok ExposeServiceReadyCondition Type = "ExposeServiceReady" @@ -186,6 +189,21 @@ const ( // DBSyncReadyErrorMessage DBSyncReadyErrorMessage = "DBsync job error occurred %s" + // + // CreateService condition messages + // + // CreateServiceReadyInitMessage + CreateServiceReadyInitMessage = "Create service not started" + + // CreateServiceReadyMessage + CreateServiceReadyMessage = "Create service completed" + + // CreateServiceReadyRunningMessage + CreateServiceReadyRunningMessage = "Create service in progress" + + // CreateServiceReadyErrorMessage + CreateServiceReadyErrorMessage = "Create service error occurred %s" + // // ExposeService condition messages //