Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from fw-dev/rac241_changes_to_sste
Browse files Browse the repository at this point in the history
RAC-241 add init container to properly initialize the environment
  • Loading branch information
semihozmenfw authored Mar 30, 2020
2 parents 48be4f6 + 913a47c commit e2dce6f
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions test-environment/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,63 @@ spec:
labels:
app: {{ .Values.environmentName }}-server
spec:
initContainers:
- name: init
image: "filewave/fwserver:{{ .Values.serverVersion }}"
imagePullPolicy: Always
args: ["init"]
volumeMounts:
- mountPath: "/usr/local/filewave/fwxserver/DB"
name: ssd-vol-{{ .Release.Name }}
subPath: db
- mountPath: "/private/var/log/FWAdmin Audit"
name: standard-vol-{{ .Release.Name }}
subPath: audit
- mountPath: "/usr/local/filewave/fwxserver/Data Folder"
name: standard-vol-{{ .Release.Name }}
subPath: data-folder
- mountPath: "/usr/local/filewave/apache/conf"
name: standard-vol-{{ .Release.Name }}
subPath: apache-conf
- mountPath: "/usr/local/filewave/apache/logs"
name: standard-vol-{{ .Release.Name }}
subPath: apache-logs
- mountPath: "/usr/local/filewave/postgresql/conf"
name: standard-vol-{{ .Release.Name }}
subPath: postgres-conf
- mountPath: "/usr/local/filewave/postgresql/log"
name: standard-vol-{{ .Release.Name }}
subPath: postgres-log
- mountPath: "/usr/local/filewave/certs"
name: standard-vol-{{ .Release.Name }}
subPath: certs
- mountPath: "/usr/local/filewave/fwcld"
name: standard-vol-{{ .Release.Name }}
subPath: fwcld
- mountPath: "/usr/local/filewave/ipa"
name: standard-vol-{{ .Release.Name }}
subPath: ipa
- mountPath: "/usr/local/filewave/log"
name: standard-vol-{{ .Release.Name }}
subPath: log
- mountPath: "/usr/local/filewave/media"
name: standard-vol-{{ .Release.Name }}
subPath: media
- mountPath: "/usr/local/filewave/tmp"
name: standard-vol-{{ .Release.Name }}
subPath: tmp
- mountPath: "/usr/local/filewave/scripts"
name: standard-vol-{{ .Release.Name }}
subPath: scripts
{{- if not .Values.serverSoftwareUpdateProcessEnabled }}
- mountPath: "/root/.config/filewave/"
name: disable-fwsu-server-settings
{{- end }}
containers:
- name: fwserver
image: "filewave/fwserver:{{ .Values.serverVersion }}"
imagePullPolicy: Always
args: ["run"]
resources:
requests:
cpu: {{ .Values.serverCpu }}
Expand Down

0 comments on commit e2dce6f

Please sign in to comment.