Skip to content

Commit 065b022

Browse files
Merge pull request #159 from xenit-eu/XENOPS-1191
XENOPS-1191 added acs.customLivenessProbe
2 parents 39b66bb + 693048e commit 065b022

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
chronology things are added/fixed/changed and - where possible - links to the PRs involved.
77

88
### Changes
9+
[v0.7.3]
10+
* added acs.customLivenessProbe
11+
* added acs.customReadinessProbe
12+
13+
[v0.7.2]
14+
* fix cluster-issuer default value
15+
916
[v0.7.1]
1017
* add flag to enable/disable enterprise-only functionality
1118
* remove HorizontalPodAutoscaler as it was not functional

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,13 @@ Digital Workspace are disabled.
377377
```
378378
* Description: Specify the livenessProbe configuration for acs
379379
380+
#### `acs.customLivenessProbe`
381+
382+
* Required: false
383+
* Default: None
384+
* Description: Specify a custom livenessProbe configuration for acs (for example to replace httpGet with exec).
385+
* When this is defined, acs.livenessProbe is ignored.
386+
380387
#### `acs.readinessProbe`
381388
382389
* Required: false
@@ -394,6 +401,13 @@ Digital Workspace are disabled.
394401
```
395402
* Description: Specify the readinessProbe configuration for acs
396403
404+
#### `acs.customReadinessProbe`
405+
406+
* Required: false
407+
* Default: None
408+
* Description: Specify a custom readinessProbe configuration for acs (for example to replace httpGet with exec).
409+
* When this is defined, acs.readinessProbe is ignored.
410+
397411
#### `acs.strategy.type`
398412
399413
* Required: false

xenit-alfresco/templates/acs/acs-deployment.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,17 @@ spec:
4949
- name: acs-container
5050
image: {{ .Values.acs.image.registry }}/{{ .Values.acs.image.repository }}:{{ .Values.acs.image.tag }}
5151
imagePullPolicy: {{ .Values.acs.imagePullPolicy | default "IfNotPresent" }}
52-
{{- if .Values.acs.readinessProbe }}
52+
{{- if .Values.acs.customReadinessProbe }}
53+
readinessProbe:
54+
{{ toYaml .Values.acs.customReadinessProbe | nindent 10 }}
55+
{{- else if .Values.acs.readinessProbe }}
5356
readinessProbe:
5457
{{ toYaml .Values.acs.readinessProbe | nindent 10 }}
5558
{{- end }}
56-
{{- if .Values.acs.livenessProbe }}
59+
{{- if .Values.acs.customLivenessProbe }}
60+
livenessProbe:
61+
{{ toYaml .Values.acs.customLivenessProbe | nindent 10 }}
62+
{{- else if .Values.acs.livenessProbe }}
5763
livenessProbe:
5864
{{ toYaml .Values.acs.livenessProbe | nindent 10 }}
5965
{{- end }}

xenit-alfresco/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ acs:
6060
periodSeconds: 20
6161
successThreshold: 1
6262
timeoutSeconds: 10
63+
customLivenessProbe:
6364
readinessProbe:
6465
httpGet:
6566
path: /alfresco/api/-default-/public/alfresco/versions/1/probes/-ready-
@@ -70,6 +71,7 @@ acs:
7071
periodSeconds: 20
7172
successThreshold: 1
7273
timeoutSeconds: 10
74+
customReadinessProbe:
7375
ingress:
7476
enabled: true
7577
digitalWorkspace:

0 commit comments

Comments
 (0)