Added a flag to control the extraction of archive based on user input (#675)

For certain environments, the archive should not be extracted and kept as it is (For ex. for Java the jar file should not be extracted). This change enables an environment level flag to control this behaviour.
This commit is contained in:
Vishal
2018-06-14 12:32:40 +05:30
committed by GitHub
parent 6d08e6e0bc
commit 1b86c367a0
7 changed files with 35 additions and 20 deletions
+4
View File
@@ -270,6 +270,10 @@ type (
// The grace time for pod to perform connection draining before termination. The unit is in seconds.
// Optional, defaults to 360 seconds
TerminationGracePeriod int64
// ExtractArchive is used by fetcher to determine if the extracted archive
// or unarchived file should be placed, which is then used by specialize handler
ExtractArchive bool `json:"extractarchive,extract"`
}
AllowedFunctionsPerContainer string