Yash Desai
1542c4d2f4
Allow composing env var from existing env vars. ( #643 )
...
Example:
env name: FOO
value: "foo"
name: BAR
value: "bar"
name: FOOBAR
value: "${FOO}${BAR}" <-- should expand to: "foobar"
Added testcase for the same as well.
Change is based on kubelet_pods.go.
Simplified some of the existing code.
2019-06-01 09:41:10 -07:00
Yash Desai
de32752395
Set container env var using services. ( #573 )
...
* Introduce service env vars.
2019-04-17 11:30:39 -07:00
Vineeth Reddy
5cea3e7ea8
FieldRef feature for DownwardAPI ( #534 )
...
* FieldRef feature for DownwardAPI
Signed-off-by: VineethReddy02 <vineethpothulapati@outlook.com >
* Unit tests for FieldRef
Signed-off-by: VineethReddy02 <vineethpothulapati@outlook.com >
2019-03-08 11:15:08 -08:00
Paulo Pires
323c02d468
env: fix resource reference Optional nil pointer ( #491 )
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2019-01-08 10:52:56 -08:00
Paulo Pires
8bcbbf58cd
env: rename methods and improve readability
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:41 +00:00
Paulo Pires
103a19fe9d
env: observe envFrom
...
Also observe initContainers env and envFrom.
Fixes #460
Fixes #461
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:40 +00:00
Paulo Pires
62b46d971c
env: emit events for missing envvars
...
Fixes #465
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:36 +00:00
Tarun Pothulapati
fbae26fc11
env: fix pod envFrom processing
2018-12-12 13:18:39 +00:00
Brian Goff
c1fe923131
Minor refactorings ( #368 )
...
* Split vkubelet funcitons into separate files.
* Minor re-org for cmd/census*
* refactor run loop
2018-10-12 17:36:37 -07:00