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
document secretrefs for build webhook triggers #6552
Conversation
name: mysecret | ||
creationTimestamp: | ||
data: | ||
WebHookSecretKey: c2VjcmV0dmFsdWUx |
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.
Where does this data come from?
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.
it's the base64 encoded value of the webhook secret. just like any k8s secret key/value.
$ base64 -d
c2VjcmV0dmFsdWUx
^D
secretvalue1
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.
OK, thanks for reply : )
@openshift/team-documentation ptal, ready for merge. |
|
||
[source,yaml] | ||
---- | ||
type: "GitHub" | ||
github: | ||
secret: "secret101" | ||
secretRefence: "mysecret" |
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.
@bparees, should this be: s/secretRefence/secretReference? (all of the following are the same, so I just wanted to check)
Otherwise LGTM!
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.
yes, should be. fixed, thanks!
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.
Thank you! Merging now :)
(cherry picked from commit e6e55d4) xref:openshift#6552
(cherry picked from commit e6e55d4) xref:openshift#6552
(cherry picked from commit e6e55d4) xref:openshift#6552
[rev_history] |
docs for openshift/origin#17314