title: How to exclude @ConfigurationProperties from reloading in kubernetes configMap
body: <p>In my application I have ds bean with prefix so I can defined it in <code>application.properties</code> by profile</p>
  <pre><code>@Bean
  @ConfigurationProperties(prefix = &quot;atomikos.db&quot;)
  public AbstractDataSourceBean dbDataSource() {
      AtomikosNonXADataSourceBean atomikosDataSource = new AtomikosNonXADataSourceBean();    
      return atomikosDataSource;
  }
  </code></pre>
  <p>according <a href="https://docs.spring.io/spring-cloud-kubernetes/docs/1.1.6.RELEASE/reference/html/#propertysource-reload" rel="nofollow noreferrer">this</a> article this bean will be reload when configMap changed but how I can exclude it and still use <code>application.properties</code> to define properties this bean according to profile ? In production system I just can not recreate connection to db</p>