How are you creating the config map? If you are creating the yaml/json object, the value must be encoded in base 64. That is done automatically if you use from file or from literal.
If you create them with those, or encode it in base 64, it will work. I think On Tuesday, June 7, 2016, Joe Ferr <[email protected]> wrote: > It appears that Kubernetes really limits the "value" of configmap data: > > must have at most 253 characters and match regex > \.?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)* > > > We have things like URLS and JDBC connection strings that we'd like to put in > as configmap data but we can't. > > > My workaround is going to be to have a field for server_name, a field for > port_number etc but that's not ideal. Anybody deal with this issue? Any > easy fix that I'm missing. > > > Thanks in advance. > > > -- > You received this message because you are subscribed to the Google Groups > "Containers at Google" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','google-containers%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/google-containers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
