-
Notifications
You must be signed in to change notification settings - Fork 4
Konflux Re-org Tas-Components #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f5ee492
Adding TAS Components
tommyd450 adbc555
feat: Add support for rekor-monitor and segment-backup-job
knrc 12ada55
Merge pull request #359 from knrc/TasComponents
tommyd450 e288e89
Adding Backfill Redis
tommyd450 bc125f3
Correcting Name for Component
tommyd450 94d8615
Removing CreateTree
tommyd450 3354a62
Renaming Trillian Redis to Redis
tommyd450 ff1d23d
Fixing trillain redis reference to just redis
tommyd450 f79c12e
Trailing space removed for consistency
petrpinkas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
16 changes: 16 additions & 0 deletions
16
konflux-configs/base/project/overlay/rekor-monitor/kustomization.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
|
|
||
| resources: | ||
| - project.yaml | ||
| - template.yaml | ||
|
|
||
| components: | ||
| - ../../base/ec | ||
| - ../../base/release-plan | ||
|
|
||
| patches: | ||
| - target: | ||
| name: rekor-monitor-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/rekor-monitor.yaml |
42 changes: 42 additions & 0 deletions
42
konflux-configs/base/project/overlay/rekor-monitor/patch/rekor-monitor.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| 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: "rekor-monitor{{.nameSuffix}}" | ||
| spec: | ||
| application: "{{.application}}{{.nameSuffix}}" | ||
| componentName: "rekor-monitor" | ||
| source: | ||
| git: | ||
| url: https://github.com/securesign/rekor-monitor | ||
| revision: "{{.branch}}" | ||
| dockerfileUrl: Dockerfile.rekor-monitor.rh | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: ImageRepository | ||
| metadata: | ||
| name: "rekor-monitor{{.nameSuffix}}" | ||
| annotations: | ||
| image-controller.appstudio.redhat.com/update-component-image: 'true' | ||
| labels: | ||
| appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" | ||
| appstudio.redhat.com/component: "rekor-monitor{{.nameSuffix}}" | ||
| 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 |
8 changes: 8 additions & 0 deletions
8
konflux-configs/base/project/overlay/rekor-monitor/project.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| apiVersion: projctl.konflux.dev/v1beta1 | ||
| kind: Project | ||
| metadata: | ||
| name: rekor-monitor | ||
| spec: | ||
| displayName: "Red Hat Trusted Artifact Signer Rekor Monitor" | ||
| description: | | ||
| Rekor transparency log monitoring |
33 changes: 33 additions & 0 deletions
33
konflux-configs/base/project/overlay/rekor-monitor/template.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| apiVersion: projctl.konflux.dev/v1beta1 | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| metadata: | ||
| name: rekor-monitor-template | ||
| labels: | ||
| build.rhtas.com/ec: registry-rhtas | ||
| build.rhtas.com/type: component | ||
| spec: | ||
| project: rekor-monitor | ||
| variables: | ||
| - name: version | ||
| description: A version number for a new development stream | ||
| - name: branch | ||
| description: Git branch | ||
| defaultValue: "main" | ||
| - name: nameSuffix | ||
| description: A suffix which will be added to K8s resource name | ||
| defaultValue: "-{{hyphenize .version}}" | ||
| - name: application | ||
| description: The application name | ||
| defaultValue: "rekor-monitor" | ||
| - name: mintmakerDisabled | ||
| description: Whether to disable mintmaker annotation on the Component | ||
| defaultValue: "false" | ||
| resources: | ||
| - apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: Application | ||
| metadata: | ||
| annotations: | ||
| application.thumbnail: "5" | ||
| name: "{{.application}}{{.nameSuffix}}" | ||
| spec: | ||
| displayName: "{{.application}} ({{.version}})" |
16 changes: 16 additions & 0 deletions
16
konflux-configs/base/project/overlay/segment-backup-job/kustomization.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
|
|
||
| resources: | ||
| - project.yaml | ||
| - template.yaml | ||
|
|
||
| components: | ||
| - ../../base/ec | ||
| - ../../base/release-plan | ||
|
|
||
| patches: | ||
| - target: | ||
| name: segment-backup-job-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/segment-backup-job.yaml |
42 changes: 42 additions & 0 deletions
42
konflux-configs/base/project/overlay/segment-backup-job/patch/segment-backup-job.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| 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: "segment-backup-job{{.nameSuffix}}" | ||
| spec: | ||
| application: "{{.application}}{{.nameSuffix}}" | ||
| componentName: "segment-backup-job" | ||
| source: | ||
| git: | ||
| url: https://github.com/securesign/segment-backup-job | ||
| revision: "{{.branch}}" | ||
| dockerfileUrl: Dockerfile.segment-backup-job.rh | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: ImageRepository | ||
| metadata: | ||
| name: "segment-backup-job{{.nameSuffix}}" | ||
| annotations: | ||
| image-controller.appstudio.redhat.com/update-component-image: 'true' | ||
| labels: | ||
| appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" | ||
| appstudio.redhat.com/component: "segment-backup-job{{.nameSuffix}}" | ||
| spec: | ||
| image: | ||
| name: rhtas-tenant/segment-backup-job | ||
| visibility: public | ||
| notifications: | ||
| - config: | ||
| url: https://bombino.api.redhat.com/v1/sbom/quay/push | ||
| event: repo_push | ||
| method: webhook | ||
| title: SBOM-event-to-Bombino |
8 changes: 8 additions & 0 deletions
8
konflux-configs/base/project/overlay/segment-backup-job/project.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| apiVersion: projctl.konflux.dev/v1beta1 | ||
| kind: Project | ||
| metadata: | ||
| name: segment-backup-job | ||
| spec: | ||
| displayName: "Red Hat Trusted Artifact Signer Segment Backup Job" | ||
| description: | | ||
| Segment backup job for TAS (deprecated in 1.4+) |
33 changes: 33 additions & 0 deletions
33
konflux-configs/base/project/overlay/segment-backup-job/template.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| apiVersion: projctl.konflux.dev/v1beta1 | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| metadata: | ||
| name: segment-backup-job-template | ||
| labels: | ||
| build.rhtas.com/ec: registry-rhtas | ||
| build.rhtas.com/type: component | ||
| spec: | ||
| project: segment-backup-job | ||
| variables: | ||
| - name: version | ||
| description: A version number for a new development stream | ||
| - name: branch | ||
| description: Git branch | ||
| defaultValue: "main" | ||
| - name: nameSuffix | ||
| description: A suffix which will be added to K8s resource name | ||
| defaultValue: "-{{hyphenize .version}}" | ||
| - name: application | ||
| description: The application name | ||
| defaultValue: "segment-backup-job" | ||
| - name: mintmakerDisabled | ||
| description: Whether to disable mintmaker annotation on the Component | ||
| defaultValue: "false" | ||
| resources: | ||
| - apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: Application | ||
| metadata: | ||
| annotations: | ||
| application.thumbnail: "5" | ||
| name: "{{.application}}{{.nameSuffix}}" | ||
| spec: | ||
| displayName: "{{.application}} ({{.version}})" |
52 changes: 52 additions & 0 deletions
52
konflux-configs/base/project/overlay/tas-components/kustomization.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
|
|
||
| resources: | ||
| - project.yaml | ||
| - template.yaml | ||
|
|
||
| components: | ||
| - ../../base/ec | ||
| - ../../base/release-plan | ||
|
|
||
| patches: | ||
tommyd450 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/trillian-database.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/backfill-redis.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/certificate-transparency-go.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/fulcio-server.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/rekor-search.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/rekor-server.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/timestamp-authority.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/trillian-logserver.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/trillian-logsigner.yaml | ||
| - target: | ||
| name: tas-components-template | ||
| kind: ProjectDevelopmentStreamTemplate | ||
| path: patch/redis.yaml | ||
42 changes: 42 additions & 0 deletions
42
konflux-configs/base/project/overlay/tas-components/patch/backfill-redis.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| 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: "backfill-redis{{.nameSuffix}}" | ||
| spec: | ||
| application: "{{.application}}{{.nameSuffix}}" | ||
| componentName: "backfill-redis" | ||
| source: | ||
| git: | ||
| url: https://github.com/securesign/rekor | ||
| revision: "{{.branch}}" | ||
| dockerfileUrl: Dockerfile.backfill-redis.rh | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: ImageRepository | ||
| metadata: | ||
| name: "backfill-redis{{.nameSuffix}}" | ||
| annotations: | ||
| image-controller.appstudio.redhat.com/update-component-image: 'true' | ||
| labels: | ||
| appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" | ||
| appstudio.redhat.com/component: "backfill-redis{{.nameSuffix}}" | ||
| 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 |
42 changes: 42 additions & 0 deletions
42
konflux-configs/base/project/overlay/tas-components/patch/certificate-transparency-go.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| 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: "certificate-transparency-go{{.nameSuffix}}" | ||
| spec: | ||
| application: "{{.application}}{{.nameSuffix}}" | ||
| componentName: "certificate-transparency-go" | ||
| source: | ||
| git: | ||
| url: https://github.com/securesign/certificate-transparency-go | ||
| revision: "{{.branch}}" | ||
| dockerfileUrl: Dockerfile.rh | ||
| - op: add | ||
| path: /spec/resources/- | ||
| value: | ||
| apiVersion: appstudio.redhat.com/v1alpha1 | ||
| kind: ImageRepository | ||
| metadata: | ||
| name: "certificate-transparency-go{{.nameSuffix}}" | ||
| annotations: | ||
| image-controller.appstudio.redhat.com/update-component-image: 'true' | ||
| labels: | ||
| appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}" | ||
| appstudio.redhat.com/component: "certificate-transparency-go{{.nameSuffix}}" | ||
| spec: | ||
| image: | ||
| name: rhtas-tenant/certificate-transparency-go | ||
| visibility: public | ||
| notifications: | ||
| - config: | ||
| url: https://bombino.api.redhat.com/v1/sbom/quay/push | ||
| event: repo_push | ||
| method: webhook | ||
| title: SBOM-event-to-Bombino |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.