Re: How can I put logstash config files in ConfigMap ?
2016-10-27 15:08 GMT+02:00 Luke Meyer: > The underscores are the problem. Can you convert them to hyphens? > > Yes ! It's that, it works with OpenShift 1.3.1 and hyphens instead underscores. ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users
Re: How can I put logstash config files in ConfigMap ?
The underscores are the problem. Can you convert them to hyphens? On Tue, Oct 25, 2016 at 5:45 AM, Stéphane Klein <cont...@stephane-klein.info > wrote: > Hi, > > How can I put logstash config files in ConfigMap ? > > > $ tree > . > ├── logstash-config > │ ├── 1_tcp_input.conf > │ ├── 2_news_filter.conf > │ └── 3_elasticsearch_ouput.conf > > $ oc create configmap logstash-config --from-file=logstash-config/ > error: 1_tcp_input.conf is not a valid key name for a configMap > > > For the moment I use PersistentVolume to store this configuration files > but I think that it isn't the better choice. > > Best regards, > Stéphane > -- > Stéphane Klein <cont...@stephane-klein.info> > blog: http://stephane-klein.info > cv : http://cv.stephane-klein.info > Twitter: http://twitter.com/klein_stephane > > ___ > users mailing list > users@lists.openshift.redhat.com > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users
Re: How can I put logstash config files in ConfigMap ?
It seems to have been fixed in k8s 1.4.0, so with OS 1.3.1 as well. https://github.com/kubernetes/kubernetes/blob/v1.4.0/pkg/util/validation/validation.go#L273 ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users
How can I put logstash config files in ConfigMap ?
Hi, How can I put logstash config files in ConfigMap ? $ tree . ├── logstash-config │ ├── 1_tcp_input.conf │ ├── 2_news_filter.conf │ └── 3_elasticsearch_ouput.conf $ oc create configmap logstash-config --from-file=logstash-config/ error: 1_tcp_input.conf is not a valid key name for a configMap For the moment I use PersistentVolume to store this configuration files but I think that it isn't the better choice. Best regards, Stéphane -- Stéphane Klein <cont...@stephane-klein.info> blog: http://stephane-klein.info cv : http://cv.stephane-klein.info Twitter: http://twitter.com/klein_stephane ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users