Skip to content
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

make callback secret optional #2702

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

KPostOffice
Copy link
Member

if no requests have been made with callback secret combine, then no secret will exist, by making the secret optional the volume that is mounted will be empty and still allow the step to run

Signed-off-by: Kevin [email protected]

Related Issues and Dependencies

fixes: #2677

Does this require new deployment ?

  • Deployment for Test and Stage AICoE/aicoe-cd and Prod operate-first/argocd-apps.

@KPostOffice
Copy link
Member Author

/hold

@sesheta sesheta added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 22, 2022
@KPostOffice KPostOffice force-pushed the callback-optional branch 3 times, most recently from ca930cf to 1c04c1e Compare November 29, 2022 20:38
@sesheta sesheta added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 29, 2022
@KPostOffice KPostOffice force-pushed the callback-optional branch 7 times, most recently from 46440cc to 23864b6 Compare November 30, 2022 21:24
if no requests have been made with callback secret combine, then
no secret will exist, by making the secret optional the volume
that is mounted will be empty and still allow the step to run

Signed-off-by: Kevin <[email protected]>
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to have consistency , can have one change

core/base/send-webhooks-sa.yaml Show resolved Hide resolved
@sesheta sesheta added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 2, 2022
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/unhold
/lgtm
/approve

thanks 👍

@sesheta sesheta added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Dec 2, 2022
@sesheta
Copy link
Member

sesheta commented Dec 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 2, 2022
@sesheta sesheta merged commit 688507e into thoth-station:master Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

send webhook container halts if the callback secret is not present
3 participants