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

Removes the resources based on the profile set #394

Merged

Conversation

PuneetPunamiya
Copy link
Member

@PuneetPunamiya PuneetPunamiya commented Aug 27, 2021

When the Tekton Config profile is changed, based on the profile set
components are deleted

For example:
If the profile is changed from all to basic:

  • In case of Kubernetes: Dashboard Component is deleted
  • In case of Openshift: Addon Component is deleted

Fixes: #358

Signed-off-by: Puneet Punamiya ppunamiy@redhat.com

Changes

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

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Aug 27, 2021
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 27, 2021
@PuneetPunamiya PuneetPunamiya force-pushed the handle-changing-profiles branch 2 times, most recently from a7f0080 to 4297958 Compare August 27, 2021 13:28
@PuneetPunamiya
Copy link
Member Author

/test pull-tekton-operator-integration-tests

@PuneetPunamiya PuneetPunamiya force-pushed the handle-changing-profiles branch 2 times, most recently from b4eb103 to f13c6ab Compare September 3, 2021 06:02
This patch includes:

  - When the Tekton Config profile is changed, based on the profile set
    components are deleted

  - For example:

      * If the profile is changed from all to basic:
          * In case of Kubernetes: Dashboard Component is deleted
          * In case of Openshift: Addon Component is deleted

Fixes: tektoncd#358

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
@nikhil-thomas
Copy link
Member

/approve
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 3, 2021
@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

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 3, 2021
@tekton-robot tekton-robot merged commit dcf6156 into tektoncd:main Sep 3, 2021
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing profile in TektonConfig doesn't reflect on components
5 participants