Skip to content

Commit 393bb7a

Browse files
authored
Merge pull request #263 from securesign/cac-rekor-apps
feat: add rekor, rekor-monitor and rekor-search applications
2 parents a4f1e4c + d6164ba commit 393bb7a

File tree

25 files changed

+361
-61
lines changed

25 files changed

+361
-61
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
components:
5+
- ../ec
6+
- ../promote-to-candidate
7+
8+
replacements:
9+
- source:
10+
kind: Application
11+
fieldPath: metadata.name
12+
targets:
13+
- select:
14+
kind: Component
15+
fieldPaths:
16+
- spec.application
17+
options:
18+
create: true
19+
- select:
20+
kind: IntegrationTestScenario
21+
fieldPaths:
22+
- spec.application
23+
options:
24+
create: true
25+
- select:
26+
kind: ReleasePlan
27+
fieldPaths:
28+
- spec.application
29+
options:
30+
create: true
31+
- select:
32+
kind: ImageRepository
33+
fieldPaths:
34+
- metadata.labels.[appstudio.redhat.com/application]
35+
options:
36+
create: true
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: appstudio.redhat.com/v1beta2
2+
kind: IntegrationTestScenario
3+
metadata:
4+
annotations:
5+
test.appstudio.openshift.io/kind: enterprise-contract
6+
name: -enterprise-contract
7+
spec:
8+
resolverRef:
9+
params:
10+
- name: url
11+
value: https://github.com/konflux-ci/build-definitions
12+
- name: revision
13+
value: main
14+
- name: pathInRepo
15+
value: pipelines/enterprise-contract.yaml
16+
resolver: git
17+
resourceKind: pipeline
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
resources:
5+
- ec.yaml
6+
7+
replacements:
8+
- source:
9+
kind: Application
10+
fieldPath: metadata.name
11+
targets:
12+
- select:
13+
kind: IntegrationTestScenario
14+
name: -enterprise-contract
15+
fieldPaths:
16+
- spec.application
17+
options:
18+
create: true
19+
- select:
20+
kind: IntegrationTestScenario
21+
name: -enterprise-contract
22+
fieldPaths:
23+
- metadata.name
24+
options:
25+
delimiter: "-"
26+
index: 0
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
resources:
5+
- releaseplan.yaml
6+
7+
replacements:
8+
- source:
9+
kind: Application
10+
fieldPath: metadata.name
11+
targets:
12+
- select:
13+
kind: ReleasePlan
14+
name: promote-to-candidate-
15+
fieldPaths:
16+
- spec.application
17+
options:
18+
create: true
19+
- select:
20+
kind: ReleasePlan
21+
name: promote-to-candidate-
22+
fieldPaths:
23+
- metadata.name
24+
options:
25+
delimiter: "-"
26+
index: 3
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: appstudio.redhat.com/v1alpha1
2+
kind: ReleasePlan
3+
metadata:
4+
labels:
5+
release.appstudio.openshift.io/auto-release: 'true'
6+
release.appstudio.openshift.io/standing-attribution: 'true'
7+
name: promote-to-candidate-
8+
spec:
9+
tenantPipeline:
10+
params:
11+
- name: git-url
12+
value: https://github.com/securesign/releases
13+
- name: code-freeze
14+
value: "false"
15+
- name: type
16+
value: "component"
17+
serviceAccountName: rhtas-build-bot
18+
pipelineRef:
19+
resolver: git
20+
params:
21+
- name: url
22+
value: "https://github.com/securesign/pipelines"
23+
- name: revision
24+
value: main
25+
- name: pathInRepo
26+
value: "pipelines/promote-to-candidate.yaml"

konflux-configs/base/application/kustomization.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ kind: Kustomization
33

44
resources:
55
- konflux/base
6-
- pipelines/base
6+
- pipelines/base
7+
- rekor/base
8+
- rekor-monitor/base
9+
- rekor-search/base
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: appstudio.redhat.com/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: rekor-monitor
5+
spec:
6+
displayName: rekor-monitor (main)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: appstudio.redhat.com/v1alpha1
2+
kind: Component
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-oci-ta","bundle":"latest"}'
6+
git-provider: github
7+
git-provider-url: https://github.com
8+
name: rekor-monitor
9+
spec:
10+
componentName: rekor-monitor
11+
source:
12+
git:
13+
url: https://github.com/securesign/rekor-monitor
14+
revision: main
15+
dockerfileUrl: Dockerfile.rh
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: appstudio.redhat.com/v1alpha1
2+
kind: ImageRepository
3+
metadata:
4+
name: imagerepository-for-rekor-monitor-rekor-monitor
5+
labels:
6+
appstudio.redhat.com/component: rekor-monitor
7+
spec:
8+
image:
9+
name: rhtas-tenant/rekor-monitor
10+
visibility: public
11+
notifications:
12+
- config:
13+
url: https://bombino.api.redhat.com/v1/sbom/quay/push
14+
event: repo_push
15+
method: webhook
16+
title: SBOM-event-to-Bombino
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- application.yaml
6+
- component.yaml
7+
- imagerepository.yaml
8+
9+
components:
10+
- ../../base/application

0 commit comments

Comments
 (0)