Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pkg/konfluxgen/konfluxgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ func GenerateFBCReleasePlanAdmission(applications []string, resourceOutputPath s
PublishingCredentials: "staged-index-fbc-publishing-credentials",
PipelineSA: "release-index-image-staging",
StagedIndex: true,
SignCMName: "hacbs-signing-pipeline-config-redhatbeta2",
SignCMName: "hacbs-signing-pipeline-config-staging-redhatrelease2",
}
outputFilePath = filepath.Join(outputDir, fmt.Sprintf("%s.yaml", rpaName))
if err := executeFBCReleasePlanAdmissionTemplate(fbcData, outputFilePath); err != nil {
Expand All @@ -828,6 +828,7 @@ type rpaComponentData struct {
PyxisSecret string
PyxisServer string
PipelineSA string
SignCMName string
}

func GenerateComponentReleasePlanAdmission(csv *operatorsv1alpha1.ClusterServiceVersion, bundleName string, bundleRepoName string, resourceOutputPath string, appName string) error {
Expand Down Expand Up @@ -858,6 +859,7 @@ func GenerateComponentReleasePlanAdmission(csv *operatorsv1alpha1.ClusterService
PyxisSecret: "pyxis-prod-secret",
PyxisServer: "production",
PipelineSA: "release-registry-prod",
SignCMName: "hacbs-signing-pipeline-config-redhatrelease2",
}
outputFilePath := filepath.Join(outputDir, fmt.Sprintf("%s.yaml", rpaName))
if err := executeComponentReleasePlanAdmissionTemplate(rpaData, outputFilePath); err != nil {
Expand All @@ -882,6 +884,7 @@ func GenerateComponentReleasePlanAdmission(csv *operatorsv1alpha1.ClusterService
PyxisSecret: "pyxis-staging-secret",
PyxisServer: "stage",
PipelineSA: "release-registry-staging",
SignCMName: "hacbs-signing-pipeline-config-staging-redhatrelease2",
}
outputFilePath = filepath.Join(outputDir, fmt.Sprintf("%s.yaml", rpaName))
if err := executeComponentReleasePlanAdmissionTemplate(rpaData, outputFilePath); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
secret: {{{ .PyxisSecret }}}
server: {{{ .PyxisServer }}}
sign:
configMapName: "hacbs-signing-pipeline-config-redhatrelease2"
configMapName: {{{ .SignCMName }}}
pipeline:
pipelineRef:
resolver: git
Expand Down

0 comments on commit 99d6c46

Please sign in to comment.