chore(helm): add enterprise copy support
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
c2f8398a85
commit
8ac4c7bdc4
1 changed files with 11 additions and 6 deletions
|
|
@ -27,14 +27,19 @@ spec:
|
|||
initContainers:
|
||||
- name: git
|
||||
image: alpine/git
|
||||
env:
|
||||
- name: ENTERPRISE_EDITION_LICENSE
|
||||
value: "{{ .Values.global.enterprise_edition_license }}"
|
||||
command:
|
||||
- git
|
||||
- /bin/sh
|
||||
- -c
|
||||
args:
|
||||
- clone
|
||||
- https://github.com/openreplay/openreplay
|
||||
- -b
|
||||
- {{ .Chart.AppVersion }}
|
||||
- /opt/openreplay/openreplay
|
||||
- |
|
||||
git clone https://github.com/openreplay/openreplay -b {{ .Chart.AppVersion }} /opt/openreplay/openreplay
|
||||
if [ ENTERPRISE_EDITION_LICENSE != "" ]; then
|
||||
cd /opt/openreplay/openreplay
|
||||
cp -rf ee/scripts/* scripts/
|
||||
fi
|
||||
volumeMounts:
|
||||
- name: shared
|
||||
mountPath: /opt/openreplay
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue