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

Store the cloned catalog in persistent storage #380

Merged
merged 3 commits into from
Feb 28, 2022

Conversation

vinamra28
Copy link
Member

Changes

Since we will now be reading the catalog manifests from the cloned
catalog directly instead of relying on git providers, we need to keep
that catalog in persistent storage so that even if the pod is deleted,
data isn't deleted. This patch Adds a PVC which will be used to store
the cloned catalog after a catalog refresh is done. Also updating the
deployment manifest to mount that pvc in /tmp directly where we are
actually cloning the catalogs.

Signed-off-by: vinamra28 [email protected]

Submitter Checklist

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

  • Includes tests (if functionality changed/added)
  • Run API Unit Tests, Lint Checks, API Design, Golden Files with make api-check
  • Run UI Unit Tests, Lint Checks with make ui-check
  • Commit messages follow commit message best practices

See the contribution guide for more details.

@tekton-robot tekton-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 28, 2022
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 28, 2022
Since we will now be reading the catalog manifests from the cloned
catalog directly instead of relying on git providers, we need to keep
that catalog in persistent storage so that even if the pod is deleted,
data isn't deleted. This patch Adds a PVC which will be used to store
the cloned catalog after a catalog refresh is done. Also updating the
deployment manifest to mount that pvc in `/tmp` directly where we are
actually cloning the catalogs.

Signed-off-by: vinamra28 <[email protected]>
@vinamra28 vinamra28 marked this pull request as ready for review February 28, 2022 05:49
@tekton-robot tekton-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 28, 2022
@pratap0007
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2022
@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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 Feb 28, 2022
@tekton-robot tekton-robot merged commit 5891295 into tektoncd:main Feb 28, 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/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.

4 participants