title: Passing long configuration file to Kubernetes
body: <p>I like the work methology of Kuberenetes, use self-contained image and pass the configuration in a ConfigMap, as a volume.</p>
  
  <p>Now this worked great until I tried to do this thing with Liquibase container, The SQL is very long ~1.5K lines, and Kubernetes rejects it as too long.</p>
  
  <p>Error from Kubernetes:</p>
  
  <blockquote>
    <p>The ConfigMap "liquibase-test-content" is invalid: metadata.annotations: Too long: must have at most 262144 characters</p>
  </blockquote>
  
  <p>I thought of passing the <code>.sql</code> files as a <code>hostPath</code>, but as I understand these <code>hostPath</code>'s content is probably not going to be there</p>
  
  <p>Is there any other way to pass configuration from the K8s directory to pods? Thanks.</p>