-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[TEP-0089] Add a config map to support SPIRE initialization. #5902
Conversation
/kind feature |
/assign @bobcatfish |
/assign @afrittoli |
@jagathprakash: GitHub didn't allow me to assign the following users: lumjjb, pxp928. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this: Instructions 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/test-infra repository. |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/test tekton-pipeline-unit-tests |
/test pull-tekton-pipeline-alpha-integration-tests |
/retest |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
6c9dfac
to
faf549a
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one minor comment
pkg/apis/config/spire_config_test.go
Outdated
if d := cmp.Diff(got, want); d != "" { | ||
t.Errorf("Diff:\n%s", diff.PrintWantGot(d)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be cmp.Diff(want, got)
since we use PrintWantGot
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Thanks for finding this.
faf549a
to
5c16c6f
Compare
The following is the coverage report on the affected files.
|
5c16c6f
to
2a67379
Compare
d77ff51
to
c2dfbe8
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Thanks for all the back and forth! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bobcatfish The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Looks like there is a rebasing problem stopping this from merging @jagathprakash Also looks like there are a bunch of commits in this PR that should probably be squashed together before merging, plus a merge commit that we wouldn't want to include. Putting a hold on this just to make sure that gets resolved before merging, feel free to remove after the commits are fixed: /hold |
c2dfbe8
to
f0c6edb
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
This PR is one among the set of PRs done to implement TEP-0089. This PR has been derived from the larger PRs PR#5715 and PR#4759 by @pxp928 and @lumjjb. This PR is addressing the problem of non-falisfiable provenance discussed in TEP-0089. SPIRE is a tool which provides cryptographic identities to workloads in a cluster. These identities are also associated with a key pair, which can be used to sign TaskRun results to track if they have been modified by other workloads. Using SPIRE is one of the ways to address non-falsifiable provenance. This PR has the following changes 1. Modify the feature flag to control non-falsifiability from enable-spire to enforce-nonfalsifiability="spire". This is in accordance to the approved TEP. 2. Add a configmap config-spire to initialize SPIRE. Signed-off-by: jagathprakash <31057312+jagathprakash@users.noreply.github.com>
f0c6edb
to
ab7af7f
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/lgtm |
/hold cancel |
This PR is one among the set of PRs done to implement TEP-0089.
This PR has been derived from the larger PRs PR#5715 and PR#4759 by
@pxp928 and @lumjjb.
This PR is addressing the problem of non-falisfiable provenance discussed in TEP-0089
SPIRE is a tool which provides cryptographic identities to workloads in a cluster.
These identities are also associated with a key pair, which can be used to
sign TaskRun results to track if they have been modified by other workloads.
Using SPIRE is one of the ways to address non-falsifiable provenance.
This PR has the following changes
This is in accordance to the approved TEP.
Signed-off-by: jagathprakash 31057312+jagathprakash@users.noreply.github.com
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
These are the details of an existing SPIRE deployment. This implies that SPIRE should be up and running if the SPIRE features has to be used. For now this PR is just adding a configMap and as such does nothing, but later the configMap will be used to initialize the SPIRE client.