website/content/en/examples
Rajesh Deshpande 67aa1fa26a Define container environment variables using Secret data (#13800)
* Example for injecting single secret as env variable

Define a container environment variable with data from a single Secret

* Env variable using secret data

* Update pod-single-secret-env-variable.yaml

* Adding example for multiple env variable using secrets

Adding example for multiple env variables using secrets

* Create pod-secret-envFrom.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Different ways to add env variable using secret

Adding different ways to add env variable in pod using secret

* Correcting formatting issues

Correcting formatting issues

* Correcting format issue
2019-04-14 17:48:00 -07:00
..
admin fix indentaion in hpa deployment (#12893) 2019-03-07 16:50:03 -08:00
application Update podManagementPolicy of StatefulSet object (#13210) 2019-04-09 22:32:12 -07:00
audit audit api version has been updated to v1 (#10647) 2018-10-17 00:48:05 -07:00
configmap Test examples files in configmap directory (#13128) 2019-03-14 06:44:23 -07:00
controllers Update fluentd image (#13661) 2019-04-07 20:34:24 -07:00
debug bump version of event-exporter (#10191) 2018-10-03 19:19:30 -07:00
federation Consolidate YAML files [part-15] (#9380) 2018-07-10 09:09:26 -07:00
minikube Update Dockerfile (#10441) 2018-10-03 17:28:52 -07:00
podpreset Modify indent from 3 to 2 spaces (#13056) 2019-03-12 11:26:44 -07:00
pods Define container environment variables using Secret data (#13800) 2019-04-14 17:48:00 -07:00
policy Consolidate YAML files [part-8] (#9347) 2018-07-02 17:35:20 -07:00
service Consolidate YAML files [part-13] (#9377) 2018-07-10 08:56:25 -07:00
windows Consolidate YAML files [part-14] (#9379) 2018-07-03 23:58:20 -07:00
README.md Improve examples test (#9467) 2018-07-11 08:43:25 -07:00
examples.go Improve examples test (#9467) 2018-07-11 08:43:25 -07:00
examples_test.go Test examples files in configmap directory (#13128) 2019-03-14 06:44:23 -07:00

README.md

Note: These tests are importing code from kubernetes that isn't really meant to be used outside the repo. This causes vendoring problems. As a result, we have to work around those with these lines in the travis config:

- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/