Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added global.xml to configmap #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 81 additions & 1 deletion geoserver/latest/templates/configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,84 @@ data:
</Host>
</Engine>
</Service>
</Server>
</Server>
global.xml: |
<global>
<settings>
<id>SettingsInfoImpl-6429c792:18f865af173:-8000</id>
<contact>
<id>contact</id>
</contact>
<charset>UTF-8</charset>
<numDecimals>4</numDecimals>
<verbose>true</verbose>
<verboseExceptions>false</verboseExceptions>
<metadata>
<map>
<entry>
<string>quietOnNotFound</string>
<boolean>false</boolean>
</entry>
</map>
</metadata>
<localWorkspaceIncludesPrefix>false</localWorkspaceIncludesPrefix>
<showCreatedTimeColumnsInAdminList>false</showCreatedTimeColumnsInAdminList>
<showModifiedTimeColumnsInAdminList>false</showModifiedTimeColumnsInAdminList>
</settings>
<jai>
<allowInterpolation>false</allowInterpolation>
<recycling>false</recycling>
<tilePriority>5</tilePriority>
<tileThreads>7</tileThreads>
<memoryCapacity>0.5</memoryCapacity>
<memoryThreshold>0.75</memoryThreshold>
<imageIOCache>false</imageIOCache>
<pngAcceleration>false</pngAcceleration>
<jpegAcceleration>false</jpegAcceleration>
<allowNativeMosaic>false</allowNativeMosaic>
<allowNativeWarp>false</allowNativeWarp>
<pngEncoderType>PNGJ</pngEncoderType>
<jaiext>
<jaiExtOperations class="sorted-set">
<string>Affine</string>
<string>BandCombine</string>
<string>BandMerge</string>
<string>BandSelect</string>
<string>Binarize</string>
<string>Border</string>
<string>ColorConvert</string>
<string>Crop</string>
<string>ErrorDiffusion</string>
<string>Format</string>
<string>ImageFunction</string>
<string>Lookup</string>
<string>Mosaic</string>
<string>Null</string>
<string>OrderedDither</string>
<string>Rescale</string>
<string>Scale</string>
<string>Stats</string>
<string>Translate</string>
<string>Warp</string>
<string>algebric</string>
<string>operationConst</string>
</jaiExtOperations>
</jaiext>
</jai>
<coverageAccess>
<maxPoolSize>5</maxPoolSize>
<corePoolSize>5</corePoolSize>
<keepAliveTime>30000</keepAliveTime>
<queueType>UNBOUNDED</queueType>
<imageIOCacheThreshold>10240</imageIOCacheThreshold>
</coverageAccess>
<updateSequence>3</updateSequence>
<featureTypeCacheSize>0</featureTypeCacheSize>
<globalServices>true</globalServices>
<useHeadersProxyURL>true</useHeadersProxyURL>
<xmlPostRequestLogBufferSize>1024</xmlPostRequestLogBufferSize>
<xmlExternalEntitiesEnabled>false</xmlExternalEntitiesEnabled>
<webUIMode>DEFAULT</webUIMode>
<allowStoredQueriesPerWorkspace>true</allowStoredQueriesPerWorkspace>
</global>

10 changes: 10 additions & 0 deletions geoserver/latest/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ spec:
mountPath: /usr/local/tomcat/conf/server.xml
subPath: server.xml
readOnly: true
- name: global-xml
mountPath: /var/geoserver/datadir/global.xml
subPath: global.xml
readOnly: true
- name: gs-datadir
mountPath: /var/geoserver/datadir
- name: gs-memdumps
Expand Down Expand Up @@ -262,6 +266,12 @@ spec:
items:
- key: server.xml
path: server.xml
- name: global-xml
configMap:
name: geoserver
items:
- key: global.xml
path: global.xml
{{- if .Values.postgis.enabled }}
- name: postgis-persistent
persistentVolumeClaim:
Expand Down