Bug 1223252
| Summary: | [origin_devexp_553]Shouldn't update resource label with empty or invalid value | ||
|---|---|---|---|
| Product: | OKD | Reporter: | DeShuai Ma <dma> |
| Component: | oc | Assignee: | Fabiano Franz <ffranz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yan Du <yadu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | ffranz, libra-bugs, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-07 23:47:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
DeShuai Ma
2015-05-20 08:37:14 UTC
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/50a64d912dd08ec9e0da18fe6ec81e4e7f95346d Bug 1223252: UPSTREAM: label: Invalidate empty or invalid value labels Test on devenv-fedora_1626. This bug is fixed. 1. Add label with empty value. $ osc label service database color= -n test error: invalid label spec: color= see 'osc label -h' for help. 2.Add label with invalid value. $ osc label service database testlable=@#$% -n test error: invalid label spec: testlable=@#$%!(NOVERB) see 'osc label -h' for help. Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/19f85548a34addccc7ff99bc5491018382281639 Bug 1223252: UPSTREAM: label: Invalidate empty or invalid value labels Test on devenv-fedora_1896. verify this bug. 1.Set label with empty value. [fedora@ip-10-138-107-235 examples]$ oc label pod hello-openshift color= -n dma1 error: invalid label spec: color= see 'oc label -h' for help. 2.Set label with invalid value. [fedora@ip-10-138-107-235 examples]$ oc label pod hello-openshift testlable=@#$% -n dma1 error: invalid label spec: testlable=@#$%!(NOVERB) see 'oc label -h' for help. |