From 4cc2285ca4060437719995ab8ca20871c1837782 Mon Sep 17 00:00:00 2001 From: Johnny Bieren Date: Mon, 19 Feb 2024 14:43:50 -0500 Subject: [PATCH] feat(RHTAPREL-815): add advisoryRepo to RSC.spec Signed-off-by: Johnny Bieren --- api/v1alpha1/releaseserviceconfig_types.go | 4 ++++ .../crd/bases/appstudio.redhat.com_releaseserviceconfigs.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/api/v1alpha1/releaseserviceconfig_types.go b/api/v1alpha1/releaseserviceconfig_types.go index 62e95927..9fc0b4f9 100644 --- a/api/v1alpha1/releaseserviceconfig_types.go +++ b/api/v1alpha1/releaseserviceconfig_types.go @@ -28,6 +28,10 @@ type ReleaseServiceConfigSpec struct { // in debug mode // +optional Debug bool `json:"debug,omitempty"` + + // AdvisoryRepo is the repo to create advisories in during the managed release PipelineRun + // +optional + AdvisoryRepo string `json:"advisoryRepo,omitempty"` } // ReleaseServiceConfigStatus defines the observed state of ReleaseServiceConfig. diff --git a/config/crd/bases/appstudio.redhat.com_releaseserviceconfigs.yaml b/config/crd/bases/appstudio.redhat.com_releaseserviceconfigs.yaml index 3e0f56dd..8f7e0611 100644 --- a/config/crd/bases/appstudio.redhat.com_releaseserviceconfigs.yaml +++ b/config/crd/bases/appstudio.redhat.com_releaseserviceconfigs.yaml @@ -38,6 +38,10 @@ spec: spec: description: ReleaseServiceConfigSpec defines the desired state of ReleaseServiceConfig. properties: + advisoryRepo: + description: AdvisoryRepo is the repo to create advisories in during + the managed release PipelineRun + type: string debug: description: Debug is the boolean that specifies whether or not the Release Service should run in debug mode