Describe the bug
Jenkins webhook component sometimes when re-creting a pipeline BuildConfig that has been removed does not contain the "sourceSecret" on the created resource nor it has the "trigger secret"
To Reproduce
Steps to reproduce the behavior:
Make webhook proxy create a Pipeline
Remove that Pipeline
Make webhook create the pipeline again
Check pipeline yaml and see if it contains "sourceSecret" and "trigger secret"
Trigger webhook from Bitbucket
See errors in Webhook proxy pod logs
Expected behavior
The BuildConfig pipeline should always be created with the necesary configuration.
Affected version (please complete the following information):
Describe the bug Jenkins webhook component sometimes when re-creting a pipeline BuildConfig that has been removed does not contain the "sourceSecret" on the created resource nor it has the "trigger secret"
To Reproduce Steps to reproduce the behavior:
Expected behavior The BuildConfig pipeline should always be created with the necesary configuration.
Affected version (please complete the following information):