Skip to content

Conversation

@vinamra28
Copy link
Member

Changes

Since Triggers 0.16 release a new field was added enable-api-field
which can be used to enable features which are in alpha.
So this PR is to add enable-api-fields in TektonConfig/TektonTrigger
so that it can be configured via operator.

Signed-off-by: vinamra28 vinjain@redhat.com

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

Add support to configure `enable-api-field` for TektonTriggers via Operator

Since Triggers 0.16 release a new field was added `enable-api-field`
which can be used to enable features which are in `alpha`.
So this PR is to add `enable-api-fields` in TektonConfig/TektonTrigger
so that it can be configured via operator.

Signed-off-by: vinamra28 <vinjain@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 17, 2021
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 17, 2021
@tekton-robot
Copy link
Contributor

The following is the coverage report on the affected files.
Say /test pull-tekton-operator-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/operator/v1alpha1/tektonconfig_defaults.go 70.0% 72.7% 2.7
pkg/apis/operator/v1alpha1/tektonconfig_validation.go 89.7% 90.0% 0.3
pkg/apis/operator/v1alpha1/tektontrigger_defaults.go Do not exist 100.0%
pkg/apis/operator/v1alpha1/tektontrigger_validation.go 100.0% 90.0% -10.0

@nikhil-thomas
Copy link
Member

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 20, 2021
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 20, 2021
@tekton-robot tekton-robot merged commit e1e8fcd into tektoncd:main Sep 20, 2021
@vinamra28 vinamra28 deleted the add-enable-api-field-triggers branch September 20, 2021 07:47
vinamra28 added a commit to vinamra28/operator that referenced this pull request Sep 20, 2021
With PR tektoncd#411 the enable-api-fields for triggers was set in
config-defaults-triggers ConfigMap whereas it should be added in
feature-flags-triggers ConfigMap so shifting that.
vinamra28 added a commit to vinamra28/operator that referenced this pull request Sep 20, 2021
With PR tektoncd#411 the enable-api-fields for triggers was set in
config-defaults-triggers ConfigMap whereas it should be added in
feature-flags-triggers ConfigMap so shifting that.
tekton-robot pushed a commit that referenced this pull request Sep 20, 2021
With PR #411 the enable-api-fields for triggers was set in
config-defaults-triggers ConfigMap whereas it should be added in
feature-flags-triggers ConfigMap so shifting that.
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. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

4 participants