-
Notifications
You must be signed in to change notification settings - Fork 2k
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
SelfSigned Sign Implementation #1906
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoshVanL 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 |
/assign @munnerz |
/hold |
/retest |
3a9de1f
to
c87bb47
Compare
/retest |
bfe5011
to
e164b96
Compare
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2a25412
to
6bd9de1
Compare
/retest |
v1alpha1.CRPrivateKeyAnnotationKey) | ||
err := errors.New("secret name missing") | ||
|
||
reporter.Pending(err, "MissingAnnotation", message) |
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.
Undecided: should we hard fail if the annotation is missing? Do we want to allow changes here after the request has been created? I am leaning towards hard failing here 🙄
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.
Yeah that's my bad - I agree, should hard fail
Data: map[string][]byte{ | ||
corev1.TLSPrivateKeyKey: []byte("this is a bad key"), | ||
}, | ||
} |
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.
In future I think extracting the cryptoBundle
structure out of the certificate_request_test.go
file and utilising it here would be best, but we can leave that for later..
pkg/controller/test/fake/lister.go
Outdated
limitations under the License. | ||
*/ | ||
|
||
package fake |
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.
I think/thought this code was moved to test/unit/listers
?
selfsigned Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
/lgtm |
rebased on #1910