Skip to content

Commit

Permalink
Update statefullset-profisee.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Sep 30, 2024
1 parent f578ee7 commit 986d830
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions profisee-platform/templates/statefullset-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
{{- if .Values.image.tag | regexMatch "^(2[4-9]|[3-9][0-9])r[0-9]+\..*" }}
livenessProbe:
httpGet:
path: /$env:ProfiseeWebAppName/rest/health
path: /{{.Values.profiseeRunTime.webAppName}}/rest/health
port: 80
scheme: HTTP
initialDelaySeconds: 20
Expand Down Expand Up @@ -117,7 +117,6 @@ spec:
SuccessThreshold: 1
failureThreshold: 1
{{- end }}
{{- if not .Values.profiseeRunTime.isPaaS }}
lifecycle:
postStart:
exec:
Expand All @@ -128,31 +127,11 @@ spec:
"https://raw.githubusercontent.com/profiseedev/kubernetes/master/Azure-ARM/startup-probe.ps1";
curl.exe -fsSL -o .\Fileshare\forensics_log_pull.ps1
"https://raw.githubusercontent.com/profiseedev/kubernetes/master/Azure-ARM/forensics_log_pull.ps1"
{{- if eq .Values.profiseeRunTime.secondary "false" }}
preStop:
exec:
command:
- powershell
- .\Fileshare\forensics_log_pull.ps1
{{- end }}
{{- end }}
{{- if .Values.profiseeRunTime.isPaaS }}
lifecycle:
postStart:
exec:
command:
- powershell
- >-
curl.exe -fsSL -o .\Fileshare\startup-probe.ps1
"https://raw.githubusercontent.com/profiseedev/kubernetes/master/Azure-ARM/startup-probe.ps1";
curl.exe -fsSL -o .\Fileshare\forensics_log_pull.ps1
"https://raw.githubusercontent.com/profiseedev/kubernetes/master/Azure-ARM/forensics_log_pull.ps1"
preStop:
exec:
command:
- powershell
- .\Fileshare\forensics_log_pull.ps1
{{- end }}
volumeMounts:
- name: data-volume
mountPath: C:\data
Expand Down

0 comments on commit 986d830

Please sign in to comment.