Skip to content

Commit

Permalink
feat(kaniko): Add CacheRunLayers into Kaniko config
Browse files Browse the repository at this point in the history
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
  • Loading branch information
idsulik committed Jul 8, 2024
1 parent 693eece commit 2800a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/skaffold/schema/latest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ type KanikoCache struct {
TTL string `yaml:"ttl,omitempty"`
// CacheCopyLayers enables caching of copy layers.
CacheCopyLayers bool `yaml:"cacheCopyLayers,omitempty"`
// CacheRunLayers enables caching of run layers (default=true).
CacheRunLayers *bool `yaml:"cacheRunLayers,omitempty"`
}

// ClusterDetails *beta* describes how to do an on-cluster build.
Expand Down

0 comments on commit 2800a60

Please sign in to comment.