Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 4edc146

Browse files
author
Raymond Augé
authored
Merge pull request #50 from rotty3000/LCD-44746
LCD-44746 only pre-polulate the trial license when there are no existing licenses
2 parents dbb0bed + 0a25c38 commit 4edc146

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

templates/statefulset.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ spec:
166166
command: ["/bin/sh","-c"]
167167
args:
168168
- |
169-
mkdir -p /temp/liferay/deploy
170-
cp -fv /opt/liferay/deploy/* /temp/liferay/deploy
169+
if [ ! -f /temp/liferay/data/license/*.li ]; then
170+
mkdir -p /temp/liferay/deploy
171+
cp -fv /opt/liferay/deploy/* /temp/liferay/deploy
172+
fi
171173
volumeMounts:
172174
- mountPath: /temp
173175
name: {{ include "liferay.fullname" $ }}-pvc

0 commit comments

Comments
 (0)