fluid
fluid copied to clipboard
Feature: support custom lifecycle configuration in thinruntimeprofile
apiVersion: data.fluid.io/v1alpha1
kind: ThinRuntimeProfile
metadata:
name: demo-profile
spec:
fileSystemType: ossfs
fuse:
image: demo-image
imageTag: demo-tag
lifecycle:
preStop:
exec:
command: [ "sh", "-c", "/script/unmount.sh" ]
imagePullPolicy: IfNotPresent
command:
- tini
- -g
- --
- /usr/local/bin/entrypoint.sh
Quality Gate passed
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
14.2% Duplication on New Code
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cheyang
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
- ~~OWNERS~~ [cheyang]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment