-
Notifications
You must be signed in to change notification settings - Fork 50
Add new collect keyless params task #3186
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
Open
simonbaird
wants to merge
4
commits into
conforma:main
Choose a base branch
from
simonbaird:keyless-params-task-redo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+579
−4
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d1685ae
Add new task for collecting keyless params
simonbaird 8b8e909
Support creating ConfigMaps in acceptance tests
simonbaird 995f7dd
Add acceptance test for new params task
simonbaird 19b48d2
Include new keyless params task in bundle pushes
simonbaird 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
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
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
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
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
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
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
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,41 @@ | ||
| = collect-keyless-params | ||
|
|
||
| Version: 0.1 | ||
|
|
||
| == Synopsis | ||
|
|
||
| Tekton task to collect Konflux configuration parameters related to | ||
| keyless signing using cosign. The task attempts to read the "cluster-config" | ||
| ConfigMap in the "konflux-info" namespace to extract signing parameters. | ||
|
|
||
| In case the ConfigMap is not found, the task will output empty strings for all parameters, | ||
| allowing the pipeline to continue without signing parameters. | ||
|
|
||
|
|
||
| == Params | ||
| [horizontal] | ||
|
|
||
| *configMapName* (`string`):: The name of the ConfigMap to read signing parameters from | ||
| + | ||
| *Default*: `cluster-config` | ||
| *configMapNamespace* (`string`):: The namespace where the ConfigMap is located | ||
| + | ||
| *Default*: `konflux-info` | ||
|
|
||
| == Results | ||
|
|
||
| [horizontal] | ||
| *defaultOIDCIssuer*:: A default OIDC issuer URL to be used for signing. | ||
|
|
||
| *rekorExternalUrl*:: The external URL of the Rekor transparency log. | ||
|
|
||
| *fulcioExternalUrl*:: The external URL of the Fulcio certificate authority. | ||
|
|
||
| *tufExternalUrl*:: The external URL of the TUF repository. | ||
|
|
||
| *buildIdentity*:: The build identity from the OIDC token claims, if applicable. | ||
|
|
||
| *buildIdentityRegexp*:: A regular expression to extract build identity from the OIDC token claims, if applicable. | ||
|
|
||
| *keylessSigningEnabled*:: A flag indicating whether keyless signing is enabled based on the presence of signing parameters. | ||
|
|
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 |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| * xref:tasks.adoc[Tekton Tasks] | ||
| ** xref:collect-keyless-params.adoc[collect-keyless-params] | ||
| ** xref:verify-conforma-konflux-ta.adoc[verify-conforma-konflux-ta] | ||
| ** xref:verify-conforma-vsa-release-ta.adoc[verify-conforma-vsa-release-ta] | ||
| ** xref:verify-enterprise-contract.adoc[verify-enterprise-contract] | ||
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
Oops, something went wrong.
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.