-
Notifications
You must be signed in to change notification settings - Fork 196
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
Add manual approval component in Operator #2138
Add manual approval component in Operator #2138
Conversation
/test pull-tekton-operator-unit-tests |
d0198a3
to
6035bec
Compare
The following is the coverage report on the affected files.
|
8176b62
to
160e88a
Compare
The following is the coverage report on the affected files.
|
160e88a
to
4bfb43c
Compare
The following is the coverage report on the affected files.
|
/test pull-tekton-operator-build-tests |
magCR := comp.(*v1alpha1.ManualApprovalGate) | ||
magImages := common.ToLowerCaseKeys(common.ImagesFromEnv(common.ManualApprovalGatePrefix)) | ||
extra := []mf.Transformer{ | ||
common.InjectOperandNameLabelOverwriteExisting(v1alpha1.ManualApprovalGates), |
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.
dont we need to perform namespace change
} | ||
|
||
func (oe openshiftExtension) Transformers(comp v1alpha1.TektonComponent) []mf.Transformer { | ||
return []mf.Transformer{} |
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.
no transformer required for openshift?
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.
Few points
- No documentation
- No enough unit tests here
pkg/reconciler/kubernetes/manualapprovalgate/transform.go
- The code looks like manual approval will be deployed by default should we add under a flag to enable or disable like PAC, chains ??
- Can you update PR Description and also add a release notes ?
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.
@PuneetPunamiya Thanks for the great PR 🎉
I have few questions
- How the namespace creation managed with
ManualtApprovalGate
? ontekton-pipelines
namespace and with custom namespace? - You need to add
ManualApprovalGate
in toRemoveObsoleteSets
Kind switch to remove the existing installersets (If there is a need)
The following is the coverage report on the affected files.
|
ea9e5fb
to
423a439
Compare
The following is the coverage report on the affected files.
|
353ce55
to
e9ccb3b
Compare
The following is the coverage report on the affected files.
|
341fd73
to
4fb9d1f
Compare
/approve |
Can you please add doc in a follow up PR |
The following is the coverage report on the affected files.
|
Signed-off-by: PuneetPunamiya <[email protected]>
4fb9d1f
to
1775859
Compare
Signed-off-by: PuneetPunamiya <[email protected]>
Signed-off-by: PuneetPunamiya <[email protected]>
The following is the coverage report on the affected files.
|
1775859
to
eee5f23
Compare
The following is the coverage report on the affected files.
|
/test pull-tekton-operator-build-tests |
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.
LGTM
cc @savitaashture @khrm @piyush-garg
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkandasa, piyush-garg 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 |
/lgtm |
/lgtm |
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lint
before submitting a PRSee the contribution guide for more details.
Release Notes