-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Allow configuration of PVC size from ConfigMap #866
Conversation
This is a rough PR from my lack of Golang skills :( |
/ok-to-test |
Integration test failing with 😭 |
/test pull-tekton-pipeline-integration-tests |
Follow up to tektoncd/pipeline#866 Signed-off-by: Carlos Sanchez <[email protected]>
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.
Nice work, thank you for this!
The only comment I have is about test coverage, but I think this could go ahead like this and we could improve test coverage later.
configMap *corev1.ConfigMap | ||
expectedArtifactStorage ArtifactStorageInterface | ||
}{{ | ||
desc: "valid bucket", |
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.
NIT: valid PVC
/assign @abayer |
I have made |
/lgtm |
/retest |
PVCs are hardcoded to 5Gi and that should be configurable. For instance Alibaba Container Service does not allow volumes smaller than 20Gi Add a `config-artifact-pvc` ConfigMap that can be used to store such configuration Signed-off-by: Carlos Sanchez <[email protected]>
/ok-to-test |
/lgtm |
/test pull-tekton-pipeline-integration-tests |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carlossg, dlorenc 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 |
only if we definitely plan to improve it in a follow-up PR! otherwise id definitely rather err on the side of having it all in one PR (tests + docs + code) |
I've added some tests before it was merged |
phew, close one :D ❤️ |
Changes
Add a ConfigMap for PVC configuration, particularly the size of the PVC
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
PVCs are hardcoded to 5Gi and that should be configurable.
For instance Alibaba Container Service does not allow volumes smaller than 20Gi
Add a
config-artifact-pvc
ConfigMap that can be used to store such configurationRelease Notes