Add Konflux onboarding and reusable TLS scan pipeline - #83
Open
richardsonnick wants to merge 2 commits into
Open
Add Konflux onboarding and reusable TLS scan pipeline#83richardsonnick wants to merge 2 commits into
richardsonnick wants to merge 2 commits into
Conversation
Introduce konflux/ manifests so tls-scanner can be onboarded to a Konflux tenant and layered products can consume a git-resolved compliance-scan Pipeline from their own IntegrationTestScenario. - Application/Component/ImageRepository drafts (Dockerfile.local for builds) - Smoke + self-test pipelines for validating Snapshot builds in this repo - Reusable compliance-scan pipeline parameterized by TARGET_KUBECONFIG_SECRET - Docs for apply order and layered-product consumption - ITS revision temporarily points at feat/konflux-tls-scan for PR validation Co-authored-by: Cursor <cursoragent@cursor.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardsonnick The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fill Application/Component/ITS namespace fields so the manifests are ready to apply against the ocp-isc Konflux workspace. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@richardsonnick: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Merged
6 tasks
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
Adds
konflux/packaging so:Application/Component/ImageRepositorydrafts usingDockerfile.local).IntegrationTestScenario, parameterized by a target-cluster kubeconfig Secret.These CRs are not auto-applied from git — someone with tenant access must
oc applythem. Only the Pipeline YAMLs are fetched at run time viaresolverRef.What's included
konflux/application.yaml/component.yaml.tekton/separately)konflux/pipelines/tls-scanner-compliance-scan.yamlkonflux/pipelines/tls-scanner-self-test.yamlkonflux/pipelines/tls-scanner-smoke-test.yaml--version/--helpcheckkonflux/integration-test-scenario.yamlrevisioncurrentlyfeat/konflux-tls-scan)konflux/README.mdHow to exercise this PR in Konflux
<TENANT_NAMESPACE>and applyapplication.yaml→component.yaml→ merge Konflux's PaC onboarding PR when it appears.integration-test-scenario.yaml(already pointsrevisionat this branch).tls-scanner-self-test,tls-scanner-smoke-test).revisionvalues back tomainand re-apply.Until step 1–2 happen, GitHub will not show Konflux checks (there is no existing Application/Component for this repo).
Layered-product usage (after merge)
See
konflux/README.md— consumers add one ITS pointing at:konflux/pipelines/tls-scanner-compliance-scan.yamlwith
TARGET_KUBECONFIG_SECRETset to their ephemeral env kubeconfig Secret. Pinrevisionto a tag/commit rather than trackingmainunless intentional.Test plan
python3 -c yaml.safe_load_allon allkonflux/**/*.yaml)revision: feat/konflux-tls-scanTEST_OUTPUTresult is writtenrevisiontomainbefore mergeMade with Cursor