Skip to content

Commit

Permalink
Merge pull request #51 from terrestris/mapproxy-update
Browse files Browse the repository at this point in the history
Upgrade mapproxy image
  • Loading branch information
ahennr authored Feb 6, 2024
2 parents 50cd9d4 + 5d819e1 commit cde218f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/mapproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.0
version: 4.0.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 1.16.0-nginx
appVersion: 2.0.2-alpine-nginx
6 changes: 3 additions & 3 deletions charts/mapproxy/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
livenessProbe:
httpGet:
path: {{ .Values.livenessProbe.url }}
port: http
port: {{ .Values.livenessProbe.port }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
Expand All @@ -49,15 +49,15 @@ spec:
readinessProbe:
httpGet:
path: {{ .Values.readinessProbe.url }}
port: http
port: {{ .Values.readinessProbe.port }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
{{- end }}
{{- if .Values.startupProbe.enabled }}
startupProbe:
httpGet:
path: {{ .Values.startupProbe.url }}
port: http
port: {{ .Values.startupProbe.port }}
initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
Expand Down
13 changes: 8 additions & 5 deletions charts/mapproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,27 @@ affinity: {}
# Probes
livenessProbe:
enabled: true
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml
failureThreshold: 5
initialDelaySeconds: 15
timeoutSeconds: 3
periodSeconds: 30
failureThreshold: 5
port: 80
timeoutSeconds: 3
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml

readinessProbe:
enabled: true
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml
initialDelaySeconds: 0
port: 80
timeoutSeconds: 1
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml

startupProbe:
enabled: true
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml
failureThreshold: 15
initialDelaySeconds: 2
periodSeconds: 10
port: 80
url: /mapproxy/wmts/1.0.0/WMTSCapabilities.xml

# optional existing pvc for persistent mapproxy data
persistence:
Expand Down

0 comments on commit cde218f

Please sign in to comment.