feat: add rekor, rekor-monitor and rekor-search applications#263
Merged
Conversation
Reviewer's GuideThis PR integrates three new applications—rekor, rekor-monitor, and rekor-search—into the base kustomize configuration by extending resource lists, scaffolding their Component, ImageRepository, and Application manifests, and cleaning up stale promote-to-candidate overlays. Entity relationship diagram for new ImageRepository resourceserDiagram
APPLICATION ||--o| COMPONENT : has
COMPONENT ||--o| IMAGEREPOSITORY : builds
APPLICATION {
string name
string displayName
}
COMPONENT {
string name
string componentName
string source_git_url
string source_git_revision
string source_dockerfileUrl
}
IMAGEREPOSITORY {
string name
string image_name
string image_visibility
string notifications_config_url
string notifications_event
string notifications_method
string notifications_title
}
Class diagram for new Component and ImageRepository manifestsclassDiagram
class Application {
+name: string
+displayName: string
}
class Component {
+name: string
+componentName: string
+source.git.url: string
+source.git.revision: string
+source.dockerfileUrl: string
}
class ImageRepository {
+name: string
+image.name: string
+image.visibility: string
+notifications.config.url: string
+notifications.event: string
+notifications.method: string
+notifications.title: string
}
Application "1" -- "*" Component : contains
Component "1" -- "1" ImageRepository : builds
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Signed-off-by: Tomas Turek <tturek@redhat.com>
Configuration Diff16 document(s) impacted: + 16 added
- 0 removed
! 0 modifiedDiff@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Application/rhtas-tenant/rekor
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Application
+ metadata:
+ name: rekor
+ namespace: rhtas-tenant
+ spec:
+ displayName: "rekor (main)"
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Application/rhtas-tenant/rekor-monitor
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Application
+ metadata:
+ name: rekor-monitor
+ namespace: rhtas-tenant
+ spec:
+ displayName: "rekor-monitor (main)"
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Application/rhtas-tenant/rekor-search
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Application
+ metadata:
+ name: rekor-search
+ namespace: rhtas-tenant
+ spec:
+ displayName: "rekor-search (main)"
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Component/rhtas-tenant/backfill-redis
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Component
+ metadata:
+ name: backfill-redis
+ namespace: rhtas-tenant
+ annotations:
+ build.appstudio.openshift.io/pipeline: "{\"name\":\"docker-build-oci-ta\",\"bundle\":\"latest\"}"
+ git-provider: github
+ git-provider-url: "https://github.com"
+ spec:
+ source:
+ git:
+ url: "https://github.com/securesign/rekor"
+ context: ./
+ dockerfileUrl: Dockerfile.backfill-redis.rh
+ revision: main
+ application: rekor
+ componentName: backfill-redis
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Component/rhtas-tenant/rekor-cli
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Component
+ metadata:
+ name: rekor-cli
+ namespace: rhtas-tenant
+ annotations:
+ build.appstudio.openshift.io/pipeline: "{\"name\":\"docker-build-oci-ta\",\"bundle\":\"latest\"}"
+ git-provider: github
+ git-provider-url: "https://github.com"
+ spec:
+ source:
+ git:
+ url: "https://github.com/securesign/rekor"
+ context: ./
+ dockerfileUrl: Dockerfile.rekor-cli.rh
+ revision: main
+ application: rekor
+ componentName: rekor-cli
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Component/rhtas-tenant/rekor-monitor
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Component
+ metadata:
+ name: rekor-monitor
+ namespace: rhtas-tenant
+ annotations:
+ build.appstudio.openshift.io/pipeline: "{\"name\":\"docker-build-oci-ta\",\"bundle\":\"latest\"}"
+ git-provider: github
+ git-provider-url: "https://github.com"
+ spec:
+ source:
+ git:
+ url: "https://github.com/securesign/rekor-monitor"
+ dockerfileUrl: Dockerfile.rh
+ revision: main
+ application: rekor-monitor
+ componentName: rekor-monitor
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Component/rhtas-tenant/rekor-search
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Component
+ metadata:
+ name: rekor-search
+ namespace: rhtas-tenant
+ annotations:
+ build.appstudio.openshift.io/pipeline: "{\"name\":\"docker-build-oci-ta\",\"bundle\":\"latest\"}"
+ git-provider: github
+ git-provider-url: "https://github.com"
+ spec:
+ source:
+ git:
+ url: "https://github.com/securesign/rekor-search-ui"
+ dockerfileUrl: Dockerfile
+ revision: main
+ application: rekor-search
+ componentName: rekor-search
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/Component/rhtas-tenant/rekor-server
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: Component
+ metadata:
+ name: rekor-server
+ namespace: rhtas-tenant
+ annotations:
+ build.appstudio.openshift.io/pipeline: "{\"name\":\"docker-build-oci-ta\",\"bundle\":\"latest\"}"
+ git-provider: github
+ git-provider-url: "https://github.com"
+ spec:
+ source:
+ git:
+ url: "https://github.com/securesign/rekor"
+ context: ./
+ dockerfileUrl: Dockerfile.rekor-server.rh
+ revision: main
+ application: rekor
+ componentName: rekor-server
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/ImageRepository/rhtas-tenant/imagerepository-for-rekor-backfill-redis
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: ImageRepository
+ metadata:
+ name: imagerepository-for-rekor-backfill-redis
+ namespace: rhtas-tenant
+ labels:
+ appstudio.redhat.com/application: rekor
+ appstudio.redhat.com/component: backfill-redis
+ spec:
+ image:
+ name: rhtas-tenant/backfill-redis
+ visibility: public
+ notifications:
+ - config:
+ url: "https://bombino.api.redhat.com/v1/sbom/quay/push"
+ event: repo_push
+ method: webhook
+ title: SBOM-event-to-Bombino
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/ImageRepository/rhtas-tenant/imagerepository-for-rekor-monitor-rekor-monitor
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: ImageRepository
+ metadata:
+ name: imagerepository-for-rekor-monitor-rekor-monitor
+ namespace: rhtas-tenant
+ labels:
+ appstudio.redhat.com/application: rekor-monitor
+ appstudio.redhat.com/component: rekor-monitor
+ spec:
+ image:
+ name: rhtas-tenant/rekor-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
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/ImageRepository/rhtas-tenant/imagerepository-for-rekor-rekor-cli
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: ImageRepository
+ metadata:
+ name: imagerepository-for-rekor-rekor-cli
+ namespace: rhtas-tenant
+ labels:
+ appstudio.redhat.com/application: rekor
+ appstudio.redhat.com/component: rekor-cli
+ spec:
+ image:
+ name: rhtas-tenant/rekor-cli
+ visibility: public
+ notifications:
+ - config:
+ url: "https://bombino.api.redhat.com/v1/sbom/quay/push"
+ event: repo_push
+ method: webhook
+ title: SBOM-event-to-Bombino
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/ImageRepository/rhtas-tenant/imagerepository-for-rekor-rekor-server
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: ImageRepository
+ metadata:
+ name: imagerepository-for-rekor-rekor-server
+ namespace: rhtas-tenant
+ labels:
+ appstudio.redhat.com/application: rekor
+ appstudio.redhat.com/component: rekor-server
+ spec:
+ image:
+ name: rhtas-tenant/rekor-server
+ visibility: public
+ notifications:
+ - config:
+ url: "https://bombino.api.redhat.com/v1/sbom/quay/push"
+ event: repo_push
+ method: webhook
+ title: SBOM-event-to-Bombino
@@ (root level) @@
# appstudio.redhat.com/v1alpha1/ImageRepository/rhtas-tenant/imagerepository-for-rekor-search-rekor-search
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1alpha1
+ kind: ImageRepository
+ metadata:
+ name: imagerepository-for-rekor-search-rekor-search
+ namespace: rhtas-tenant
+ labels:
+ appstudio.redhat.com/application: rekor-search
+ appstudio.redhat.com/component: rekor-search
+ spec:
+ image:
+ name: rhtas-tenant/rekor-search
+ visibility: public
+ notifications:
+ - config:
+ url: "https://bombino.api.redhat.com/v1/sbom/quay/push"
+ event: repo_push
+ method: webhook
+ title: SBOM-event-to-Bombino
@@ (root level) @@
# appstudio.redhat.com/v1beta2/IntegrationTestScenario/rhtas-tenant/rekor-enterprise-contract
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1beta2
+ kind: IntegrationTestScenario
+ metadata:
+ name: rekor-enterprise-contract
+ namespace: rhtas-tenant
+ annotations:
+ test.appstudio.openshift.io/kind: enterprise-contract
+ spec:
+ application: rekor
+ resolverRef:
+ params:
+ - name: url
+ value: "https://github.com/konflux-ci/build-definitions"
+ - name: revision
+ value: main
+ - name: pathInRepo
+ value: pipelines/enterprise-contract.yaml
+ resolver: git
+ resourceKind: pipeline
@@ (root level) @@
# appstudio.redhat.com/v1beta2/IntegrationTestScenario/rhtas-tenant/rekor-monitor-enterprise-contract
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1beta2
+ kind: IntegrationTestScenario
+ metadata:
+ name: rekor-monitor-enterprise-contract
+ namespace: rhtas-tenant
+ annotations:
+ test.appstudio.openshift.io/kind: enterprise-contract
+ spec:
+ application: rekor-monitor
+ resolverRef:
+ params:
+ - name: url
+ value: "https://github.com/konflux-ci/build-definitions"
+ - name: revision
+ value: main
+ - name: pathInRepo
+ value: pipelines/enterprise-contract.yaml
+ resolver: git
+ resourceKind: pipeline
@@ (root level) @@
# appstudio.redhat.com/v1beta2/IntegrationTestScenario/rhtas-tenant/rekor-search-enterprise-contract
! + one document added:
+ ---
+ apiVersion: appstudio.redhat.com/v1beta2
+ kind: IntegrationTestScenario
+ metadata:
+ name: rekor-search-enterprise-contract
+ namespace: rhtas-tenant
+ annotations:
+ test.appstudio.openshift.io/kind: enterprise-contract
+ spec:
+ application: rekor-search
+ resolverRef:
+ params:
+ - name: url
+ value: "https://github.com/konflux-ci/build-definitions"
+ - name: revision
+ value: main
+ - name: pathInRepo
+ value: pipelines/enterprise-contract.yaml
+ resolver: git
+ resourceKind: pipeline📦 Artifacts: base-output.yaml, head-output.yaml, dyff-output.txt |
07c669a to
d6164ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Add and integrate three new AppStudio applications (rekor, rekor-monitor, and rekor-search) along with their Component and ImageRepository definitions, update base kustomization to include them, remove outdated overlays, and scaffold common overlay components for enterprise contract and promote-to-candidate.
New Features:
Enhancements: