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
1 change: 0 additions & 1 deletion konflux-configs/base/application/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ resources:
- konflux/base
- pipelines/base
# RHTAS components
- model-transparency-go/base
- rhtas-console/base

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions konflux-configs/base/project/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ resources:
- overlay/policy-controller-operator
- overlay/model-validation-operator
- overlay/model-transparency
- overlay/model-transparency-go
- overlay/cli-stacks
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: model-transparency-go-template
kind: ProjectDevelopmentStreamTemplate
path: patch/model-transparency-go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
- 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: "model-transparency-go{{.nameSuffix}}"
spec:
application: "{{.application}}{{.nameSuffix}}"
componentName: model-transparency-go
build-nudges-ref:
- "model-validation-operator{{.nameSuffix}}"
source:
git:
url: https://github.com/securesign/model-transparency-go
revision: "{{.branch}}"
dockerfileUrl: Containerfile.model-transparency-go.rh
- op: add
path: /spec/resources/-
value:
apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: "model-transparency-go{{.nameSuffix}}"
annotations:
image-controller.appstudio.redhat.com/update-component-image: 'true'
labels:
appstudio.redhat.com/application: "{{.application}}{{.nameSuffix}}"
appstudio.redhat.com/component: "model-transparency-go{{.nameSuffix}}"
spec:
image:
name: rhtas-tenant/model-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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: projctl.konflux.dev/v1beta1
kind: Project
metadata:
name: model-transparency-go
spec:
displayName: "Red Hat Trusted Artifact Signer Model Transparency Go"
description: |
Model Transparency Go - Go implementation of model transparency for verifiable supply-chain metadata.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: projctl.konflux.dev/v1beta1
kind: ProjectDevelopmentStreamTemplate
metadata:
name: model-transparency-go-template
labels:
build.rhtas.com/ec: registry-rhtas
build.rhtas.com/type: component
spec:
project: model-transparency-go
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: "model-transparency-go"
- 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}})"
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ kind: Component

resources:
- model-transparency.yaml
- model-transparency-go.yaml
- model-validation-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: projctl.konflux.dev/v1beta1
kind: ProjectDevelopmentStream
metadata:
name: model-transparency-go
spec:
project: model-transparency-go
template:
name: model-transparency-go-template
values:
- name: version
value: "main"
- name: branch
value: "main"
- name: nameSuffix
value: ""
Loading