Skip to content

Commit

Permalink
Merge pull request #159 from xenit-eu/XENOPS-1191
Browse files Browse the repository at this point in the history
XENOPS-1191 added acs.customLivenessProbe
  • Loading branch information
hechmi-dammak-xenit authored Aug 20, 2024
2 parents 39b66bb + 693048e commit 065b022
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
chronology things are added/fixed/changed and - where possible - links to the PRs involved.

### Changes
[v0.7.3]
* added acs.customLivenessProbe
* added acs.customReadinessProbe

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

[v0.7.1]
* add flag to enable/disable enterprise-only functionality
* remove HorizontalPodAutoscaler as it was not functional
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,13 @@ Digital Workspace are disabled.
```
* Description: Specify the livenessProbe configuration for acs
#### `acs.customLivenessProbe`
* Required: false
* Default: None
* Description: Specify a custom livenessProbe configuration for acs (for example to replace httpGet with exec).
* When this is defined, acs.livenessProbe is ignored.
#### `acs.readinessProbe`
* Required: false
Expand All @@ -394,6 +401,13 @@ Digital Workspace are disabled.
```
* Description: Specify the readinessProbe configuration for acs
#### `acs.customReadinessProbe`
* Required: false
* Default: None
* Description: Specify a custom readinessProbe configuration for acs (for example to replace httpGet with exec).
* When this is defined, acs.readinessProbe is ignored.
#### `acs.strategy.type`
* Required: false
Expand Down
10 changes: 8 additions & 2 deletions xenit-alfresco/templates/acs/acs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ spec:
- name: acs-container
image: {{ .Values.acs.image.registry }}/{{ .Values.acs.image.repository }}:{{ .Values.acs.image.tag }}
imagePullPolicy: {{ .Values.acs.imagePullPolicy | default "IfNotPresent" }}
{{- if .Values.acs.readinessProbe }}
{{- if .Values.acs.customReadinessProbe }}
readinessProbe:
{{ toYaml .Values.acs.customReadinessProbe | nindent 10 }}
{{- else if .Values.acs.readinessProbe }}
readinessProbe:
{{ toYaml .Values.acs.readinessProbe | nindent 10 }}
{{- end }}
{{- if .Values.acs.livenessProbe }}
{{- if .Values.acs.customLivenessProbe }}
livenessProbe:
{{ toYaml .Values.acs.customLivenessProbe | nindent 10 }}
{{- else if .Values.acs.livenessProbe }}
livenessProbe:
{{ toYaml .Values.acs.livenessProbe | nindent 10 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions xenit-alfresco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ acs:
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 10
customLivenessProbe:
readinessProbe:
httpGet:
path: /alfresco/api/-default-/public/alfresco/versions/1/probes/-ready-
Expand All @@ -70,6 +71,7 @@ acs:
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 10
customReadinessProbe:
ingress:
enabled: true
digitalWorkspace:
Expand Down

0 comments on commit 065b022

Please sign in to comment.