Skip to content

Commit

Permalink
add lifecycle option for console, datafeeder, mapstore
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Nov 16, 2023
1 parent 16c728a commit df1ef82
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/console/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ spec:
port: 8080
failureThreshold: 5
periodSeconds: 20
{{- with $webapp.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- end }}
volumes:
- name: georchestra-datadir
emptyDir: {}
Expand Down
4 changes: 4 additions & 0 deletions templates/datafeeder/import-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ spec:
ports:
- containerPort: 80
name: http
{{- with $webapp.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- end }}
livenessProbe:
httpGet:
path: /index.html
Expand Down
4 changes: 4 additions & 0 deletions templates/mapstore/mapstore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ spec:
ports:
- containerPort: 8080
name: http-proxy
{{- with $webapp.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- end }}
livenessProbe:
httpGet:
path: /mapstore/configs/config.json
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ georchestra:
enabled: true
docker_image: georchestra/console:latest
extra_environment: []
lifecycle: {}
# registry_secret: default
datafeeder:
enabled: true # won't deploy if datafeeder_frontend is not enable
Expand All @@ -38,6 +39,7 @@ georchestra:
# Matches datafeeder/import-xxx.yaml templates in the helm chart
enabled: true # won't deploy if datafeeder is not enable
docker_image: georchestra/datafeeder-frontend:latest
lifecycle: {}
# registry_secret: default
extractorapp:
enabled: false
Expand Down Expand Up @@ -101,6 +103,7 @@ georchestra:
# no need to put the original command already managed
command: []
args: []
lifecycle: {}
openldap:
enabled: true
docker_image: georchestra/ldap:latest
Expand Down

0 comments on commit df1ef82

Please sign in to comment.