Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
spec:
displayName: "Rekor Monitor"
description: |
Rekor Monitor provides monitoring capabilities for Rekor transparency log.
Rekor Monitor provides monitoring capabilities for the Rekor and Certificate transparency logs.
52 changes: 44 additions & 8 deletions konflux-configs/base/project/overlay/rekor-monitor/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ spec:
- name: application
description: The application name
defaultValue: "rekor-monitor"
- name: component
description: The component name
- name: rekor-monitor-component
description: The rekor-monitor component name
defaultValue: "rekor-monitor"
- name: ctlog-monitor-component
description: The ctlog-monitor component name
defaultValue: "ctlog-monitor"
- name: mintmakerDisabled
description: Whether to disable mintmaker annotation on the Component
defaultValue: "false"
Expand All @@ -33,7 +36,7 @@ spec:
application.thumbnail: "5"
name: "{{.application}}{{.nameSuffix}}"
spec:
displayName: "{{.component}} ({{.version}})"
displayName: "{{.application}} ({{.version}})"
- apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
Expand All @@ -42,21 +45,38 @@ spec:
git-provider: github
git-provider-url: https://github.com
mintmaker.appstudio.redhat.com/disabled: "{{.mintmakerDisabled}}"
name: "{{.component}}{{.nameSuffix}}"
name: "{{.rekor-monitor-component}}{{.nameSuffix}}"
spec:
application: "{{.application}}{{.nameSuffix}}"
componentName: "{{.component}}"
componentName: "{{.rekor-monitor-component}}"
source:
git:
url: https://github.com/securesign/rekor-monitor
revision: "{{.branch}}"
dockerfileUrl: Dockerfile.rh
dockerfileUrl: Dockerfile.rekor-monitor.rh
- apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
annotations:
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-oci-ta","bundle":"latest"}'
git-provider: github
git-provider-url: https://github.com
mintmaker.appstudio.redhat.com/disabled: "{{.mintmakerDisabled}}"
name: "{{.ctlog-monitor-component}}{{.nameSuffix}}"
spec:
application: "{{.application}}{{.nameSuffix}}"
componentName: "{{.ctlog-monitor-component}}"
source:
git:
url: https://github.com/securesign/rekor-monitor
revision: "{{.branch}}"
dockerfileUrl: Dockerfile.ctlog-monitor.rh
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.component}}"
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.rekor-monitor-component}}"
labels:
appstudio.redhat.com/component: "{{.component}}{{.nameSuffix}}"
appstudio.redhat.com/component: "{{.rekor-monitor-component}}{{.nameSuffix}}"
spec:
image:
name: rhtas-tenant/rekor-monitor
Expand All @@ -67,3 +87,19 @@ spec:
event: repo_push
method: webhook
title: SBOM-event-to-Bombino
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.ctlog-monitor-component}}"
labels:
appstudio.redhat.com/component: "{{.ctlog-monitor-component}}{{.nameSuffix}}"
spec:
image:
name: rhtas-tenant/ctlog-monitor
visibility: public
notifications:
- config:
url: https://bombino.api.redhat.com/v1/sbom/quay/push
event: repo_push
method: webhook
title: SBOM-event-to-Bombino