Re: Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-16 Thread YAN-HONG WANG
@Carlos, thanks very much. Am Mittwoch, 16. August 2017 16:59:53 UTC+2 schrieb Carlos Sanchez: > > will be in 0.13 > > On Wed, Aug 16, 2017 at 2:54 PM, YAN-HONG WANG > wrote: > >> Hello Carlos: >> >> Is method "*secretEnvVar*" already in *Kubernetes plugin 0.12*? Or that >> will be released in n

Re: Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-16 Thread Carlos Sanchez
will be in 0.13 On Wed, Aug 16, 2017 at 2:54 PM, YAN-HONG WANG wrote: > Hello Carlos: > > Is method "*secretEnvVar*" already in *Kubernetes plugin 0.12*? Or that > will be released in nearly future *0.13*? > > Because I got the error message like this ... > > *java.lang.NoSuchMethodError: No suc

Re: Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-16 Thread YAN-HONG WANG
Hello Carlos: Is method "*secretEnvVar*" already in *Kubernetes plugin 0.12*? Or that will be released in nearly future *0.13*? Because I got the error message like this ... *java.lang.NoSuchMethodError: No such DSL method 'secretEnvVar' found among steps * Thanks very much. Best regards, H

Re: Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-10 Thread WANG, YAN-HONG
@Carlos, Thanks!!! 2017-08-10 21:27 GMT+02:00 Carlos Sanchez : > There is a PR for it https://github.com/jenkinsci/ > kubernetes-plugin/pull/162 > > On Thu, Aug 10, 2017 at 9:15 PM, YAN-HONG WANG > wrote: > >> Hi, >> >> In jenkins-kubernetes-plugin, is there any syntax that support using *Secret

Re: Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-10 Thread Carlos Sanchez
There is a PR for it https://github.com/jenkinsci/kubernetes-plugin/pull/162 On Thu, Aug 10, 2017 at 9:15 PM, YAN-HONG WANG wrote: > Hi, > > In jenkins-kubernetes-plugin, is there any syntax that support using *Secrets > as environment variables* in *containerTemplate*? > > I just saw something

Using Secrets as "environment variables" in containerTemplate of jenkins-kubernetes-plugin

2017-08-10 Thread YAN-HONG WANG
Hi, In jenkins-kubernetes-plugin, is there any syntax that support using *Secrets as environment variables* in *containerTemplate*? I just saw something from here. https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables So some syntax like "*secretKeyRef