Skip to content

Commit 693048e

Browse files
XENOPS-1191 added acs.customReadinessProbe
1 parent 8851be2 commit 693048e

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ chronology things are added/fixed/changed and - where possible - links to the PR
88
### Changes
99
[v0.7.3]
1010
* added acs.customLivenessProbe
11+
* added acs.customReadinessProbe
1112

1213
[v0.7.2]
1314
* fix cluster-issuer default value

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@ Digital Workspace are disabled.
401401
```
402402
* Description: Specify the readinessProbe configuration for acs
403403
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+
404411
#### `acs.strategy.type`
405412
406413
* Required: false

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ 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 }}

xenit-alfresco/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ acs:
7171
periodSeconds: 20
7272
successThreshold: 1
7373
timeoutSeconds: 10
74+
customReadinessProbe:
7475
ingress:
7576
enabled: true
7677
digitalWorkspace:

0 commit comments

Comments
 (0)