add a secret ref for webhook secrets#10
Conversation
|
@deads2k ptal/merge. needed for openshift/origin#17314 |
build/v1/types.go
Outdated
|
|
||
| // SecretLocalReference contains information that points to the local secret being used | ||
| type SecretLocalReference struct { | ||
| // Name is the name of the resource being referenced |
There was a problem hiding this comment.
"name of the secret in the same namespace being reference"
|
Lifting my comments from the earlier thread: General thoughts:
This looks like a good starting point to me. We can grow on this in a few directions if we end up needing to. @bparees any thoughts on how to manage the status aspect? A small controller seems like an option. @smarterclayton how do you generally feel about controllers watching the validity of references over time and updating status in general? It seems consistent with other approaches and reasonably discoverable. It would simplify status reporting the CLI and the webconsole too. |
Travis seems stuck. I'll see if it unsticks or if we must summon @stevekuznetsov and get some real CI. |
we already have secret refs (And imagestream refs) elsewhere in the buildconfig that aren't validated. A general buildconfig controller that validated all the refs in the buildconfig and provided status(or events?) isn't a bad idea, but won't be part of this specific refactor. |
0ad1d00 to
1d38d42
Compare
|
seems to have passed travis after my update. |
|
@deads2k anything else? |
|
/assign @deads2k |
|
(I suppose expecting we have bots setup for this repo would be too much) |
I agree. Just wanted to know about general general concept. /lgtm |
|
@deads2k: changing LGTM is restricted to assignees, and assigning you to the PR failed. DetailsIn 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. |
Welcome to the wild west. I'll fix that :) |
|
Yeah there is no way to give the bots access to all repos, and they need write access to a repo to do anything meaningful to it, so just ask me or someone else who can edit those configs to add them. |
Automatic merge from submit-queue. add a secretref for webhook secrets fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1504819 api changes are now here: openshift/api#10
bug 1504819
https://bugzilla.redhat.com/show_bug.cgi?id=1504819