mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
Fix issue [minio#19314], resolve the absence of the sed command in ubi-micro by replacing it with echo. Signed-off-by: Andreas Bräu <ab@andi95.de> Co-authored-by: jiuker <2818723467@qq.com>
This commit is contained in:
parent
3f72439b8a
commit
2eee744e34
@ -93,7 +93,7 @@ echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||
{{- if .existingSecret }}
|
||||
cat /config/secrets-svc/{{ tpl .existingSecret $global }}/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||
# Add a new line if it doesn't exist
|
||||
sed -i '$a\' $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||
echo >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||
{{ else }}
|
||||
echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user