Skip to content

Commit 01e674c

Browse files
authored
feat: add ctlog-monitor component (#320)
1 parent c52838e commit 01e674c

File tree

2 files changed

+45
-9
lines changed

2 files changed

+45
-9
lines changed

konflux-configs/base/project/overlay/rekor-monitor/project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ metadata:
55
spec:
66
displayName: "Rekor Monitor"
77
description: |
8-
Rekor Monitor provides monitoring capabilities for Rekor transparency log.
8+
Rekor Monitor provides monitoring capabilities for the Rekor and Certificate transparency logs.

konflux-configs/base/project/overlay/rekor-monitor/template.yaml

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ spec:
1919
- name: application
2020
description: The application name
2121
defaultValue: "rekor-monitor"
22-
- name: component
23-
description: The component name
22+
- name: rekor-monitor-component
23+
description: The rekor-monitor component name
2424
defaultValue: "rekor-monitor"
25+
- name: ctlog-monitor-component
26+
description: The ctlog-monitor component name
27+
defaultValue: "ctlog-monitor"
2528
- name: mintmakerDisabled
2629
description: Whether to disable mintmaker annotation on the Component
2730
defaultValue: "false"
@@ -33,7 +36,7 @@ spec:
3336
application.thumbnail: "5"
3437
name: "{{.application}}{{.nameSuffix}}"
3538
spec:
36-
displayName: "{{.component}} ({{.version}})"
39+
displayName: "{{.application}} ({{.version}})"
3740
- apiVersion: appstudio.redhat.com/v1alpha1
3841
kind: Component
3942
metadata:
@@ -42,21 +45,38 @@ spec:
4245
git-provider: github
4346
git-provider-url: https://github.com
4447
mintmaker.appstudio.redhat.com/disabled: "{{.mintmakerDisabled}}"
45-
name: "{{.component}}{{.nameSuffix}}"
48+
name: "{{.rekor-monitor-component}}{{.nameSuffix}}"
4649
spec:
4750
application: "{{.application}}{{.nameSuffix}}"
48-
componentName: "{{.component}}"
51+
componentName: "{{.rekor-monitor-component}}"
4952
source:
5053
git:
5154
url: https://github.com/securesign/rekor-monitor
5255
revision: "{{.branch}}"
53-
dockerfileUrl: Dockerfile.rh
56+
dockerfileUrl: Dockerfile.rekor-monitor.rh
57+
- apiVersion: appstudio.redhat.com/v1alpha1
58+
kind: Component
59+
metadata:
60+
annotations:
61+
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-oci-ta","bundle":"latest"}'
62+
git-provider: github
63+
git-provider-url: https://github.com
64+
mintmaker.appstudio.redhat.com/disabled: "{{.mintmakerDisabled}}"
65+
name: "{{.ctlog-monitor-component}}{{.nameSuffix}}"
66+
spec:
67+
application: "{{.application}}{{.nameSuffix}}"
68+
componentName: "{{.ctlog-monitor-component}}"
69+
source:
70+
git:
71+
url: https://github.com/securesign/rekor-monitor
72+
revision: "{{.branch}}"
73+
dockerfileUrl: Dockerfile.ctlog-monitor.rh
5474
- apiVersion: appstudio.redhat.com/v1alpha1
5575
kind: ImageRepository
5676
metadata:
57-
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.component}}"
77+
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.rekor-monitor-component}}"
5878
labels:
59-
appstudio.redhat.com/component: "{{.component}}{{.nameSuffix}}"
79+
appstudio.redhat.com/component: "{{.rekor-monitor-component}}{{.nameSuffix}}"
6080
spec:
6181
image:
6282
name: rhtas-tenant/rekor-monitor
@@ -67,3 +87,19 @@ spec:
6787
event: repo_push
6888
method: webhook
6989
title: SBOM-event-to-Bombino
90+
- apiVersion: appstudio.redhat.com/v1alpha1
91+
kind: ImageRepository
92+
metadata:
93+
name: "imagerepository-for-{{.application}}{{.nameSuffix}}-{{.ctlog-monitor-component}}"
94+
labels:
95+
appstudio.redhat.com/component: "{{.ctlog-monitor-component}}{{.nameSuffix}}"
96+
spec:
97+
image:
98+
name: rhtas-tenant/ctlog-monitor
99+
visibility: public
100+
notifications:
101+
- config:
102+
url: https://bombino.api.redhat.com/v1/sbom/quay/push
103+
event: repo_push
104+
method: webhook
105+
title: SBOM-event-to-Bombino

0 commit comments

Comments
 (0)