k3s/pkg/apis/extensions
Kubernetes Submit Queue 7c75723867 Merge pull request #52383 from dixudx/quote_field_valid_string
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

quote valid strings for field validation

**What this PR does / why we need it**:
Some of the declared const vars are empty string `""`, such as

* [`NamespaceAll`, `NamespaceNone`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/types.go#L197-L200)
* [`HostPathUnset`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/types.go#L631)

When validating such supported fields, empty string will be printed without quotes, which is kind of ugly.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53849

**Special notes for your reviewer**:
/assign @liggitt 

**Release note**:

```release-note
None
```
2017-10-12 20:25:10 -07:00
..
fuzzer Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
install Merge pull request #50094 from sttts/sttts-no-importprefix 2017-08-14 12:14:55 -07:00
v1beta1 Use pointer for PSP allow escalation 2017-10-04 13:55:06 -04:00
validation Merge pull request #52383 from dixudx/quote_field_valid_string 2017-10-12 20:25:10 -07:00
BUILD Update generated files 2017-08-15 11:56:46 +02:00
OWNERS Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
doc.go stop generating openapi schemas for internal types 2016-12-09 02:41:45 -05:00
helpers.go Add sysctl PodSecurityPolicy support 2016-08-25 13:22:01 +02:00
helpers_test.go Add sysctl PodSecurityPolicy support 2016-08-25 13:22:01 +02:00
register.go Port internal extensions/Network* to networking.k8s.io API group 2017-08-15 11:56:46 +02:00
types.go Use pointer for PSP allow escalation 2017-10-04 13:55:06 -04:00
zz_generated.deepcopy.go Allow PSP's to specify a whitelist of allowed paths for host volume 2017-08-25 21:35:55 -04:00