kubernetes/pkg/api/validation
Kubernetes Submit Queue 243e655161 Merge pull request #48986 from timoreimann/relax-env-var-naming-restrictions
Automatic merge from submit-queue (batch tested with PRs 50208, 50259, 49702, 50267, 48986)

Relax restrictions on environment variable names.

Fixes #2707

The POSIX standard restricts environment variable names to uppercase letters, digits, and the underscore character in shell contexts only. For generic application usage, it is stated that all other characters shall be tolerated. (Reference [here](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html), my prose reasoning [here](https://github.com/kubernetes/kubernetes/issues/2707#issuecomment-285309156).)

This change relaxes the rules to some degree. Namely, we stop requiring environment variable names to be strict `C_IDENTIFIERS` and start permitting lowercase, dot, and dash characters.

Public container images using environment variable names beyond the shell-only context can benefit from this relaxation. Elasticsearch is one popular example.
2017-08-08 01:53:08 -07:00
..
testdata/v1 Check for an empty value in validateField 2016-05-30 14:12:18 +10:00
BUILD Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
events_test.go refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
events.go refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
OWNERS Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
schema_test.go Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
schema.go Merge pull request #45390 from mbohlool/c4 2017-05-05 16:39:08 -07:00
validation_test.go Merge pull request #48986 from timoreimann/relax-env-var-naming-restrictions 2017-08-08 01:53:08 -07:00
validation.go Merge pull request #48986 from timoreimann/relax-env-var-naming-restrictions 2017-08-08 01:53:08 -07:00