Allow configuration of PVC size from ConfigMap#866
Allow configuration of PVC size from ConfigMap#866tekton-robot merged 1 commit intotektoncd:masterfrom
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 <carlos@apache.org>
afrittoli
left a comment
There was a problem hiding this comment.
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", |
|
/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 <carlos@apache.org>
|
/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 DetailsNeeds 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-pvcConfigMap that can be used to store such configurationRelease Notes