<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="clientMode" value="false"/>
        <property name="workDirectory" value="/ignite/work"/>
        <property name="peerClassLoadingEnabled" value="true"/>
        <property name="deploymentMode" value="CONTINUOUS"/>
        <property name="dataStorageConfiguration">
            <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="defaultDataRegionConfiguration">
                    <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="persistenceEnabled" value="true"/>
                        <property name="name" value="Default_Region"/>
                        <!-- 1 GB initial size (RAM). -->
                        <property name="initialSize" value="#{1L * 1024 * 1024 * 1024}"/>
                        <!-- 5 GB maximum size (RAM). -->
                        <property name="maxSize" value="#{5L * 1024 * 1024 * 1024}"/>
                        <!-- Enabling RANDOM_2_LRU eviction for this region.  -->
                        <property name="pageEvictionMode" value="RANDOM_2_LRU"/>
                    </bean>
                </property>
                <property name="walPath" value="/ignite/wal"/>
                <property name="walArchivePath" value="/ignite/walarchive"/>
            </bean>
        </property>
        <property name="authenticationEnabled" value="true"/>
        <property name="discoverySpi">
            <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder">
                        <constructor-arg>
                            <bean class="org.apache.ignite.kubernetes.configuration.KubernetesConnectionConfiguration">
                                <property name="namespace" value="{{ .Values.namespace }}"/>
                                <property name="serviceName" value="{{ .Values.serviceName }}-headless-svc"/>
                            </bean>
                        </constructor-arg>
                    </bean>
                </property>
            </bean>
        </property>
        <property name="sqlConfiguration">
            <bean class="org.apache.ignite.configuration.SqlConfiguration">
                <property name="sqlSchemas">
                    <list>
                        <value>raw</value>
                        <value>refined</value>
                        <value>augmented</value>
                        <value>configuration</value>
                    </list>
                </property>
            </bean>
        </property>
    </bean>
</beans>
