Moving to kubernetes users, it seems more people will be able to hel there.

On Mon, May 01, 2017 at 07:59:02PM -0700, Kelsey Hightower wrote:
> 
> 
> On Monday, May 1, 2017 at 6:06:37 PM UTC-7, Ralph Blaise wrote:
> >
> > Hi all,
> >
> > I am trying to reference AWS Credentials as environment variables in a 
> > Deployment YAML using secrets, and it is not working.  The POD fails on 
> > creation.  The same deployment YAML works fine, it I use the AWS 
> > Credentials as environment variables without using secrets. Please find 
> > below screenshots of the YAML secret file with credentials obfuscated and a 
> > partial screenshot of the deployment YAML with the relevant section?  Does 
> > anyone have any insight?
> >
> 
> The Kubernetes configs look right. I would double check the secret data is 
> base64 encoded in the aws-secret-yaml file:
> https://kubernetes.io/docs/concepts/configuration/secret/#creating-a-secret-manually

You can also create the secret from the command line, using --from-literal, that
will manage all the base64 encoding. I suspect of that too, try the method you
want to have the secret created in base 64 :)

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to