kaniko/pkg/config
Jack d4cf49077a
feat: kaniko dir config option (#1997)
* remove configurables from constants

* add configurables to config init

* add kaniko dir flag

* cleanup pkg constants

* replace buildcontext constants pkg occurrences with config

* add KanikoDir to KanikoOptions

* replace executor constants pkg occurrences with config

* remove redundant KanikoDir assignment

* replace constants to config for IntermediateStagesDir

* fix imports

* add default kaniko directory into constants

* add check for kanikoDir on use

* update init to use default path constant

* update executor kanikoDir check

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* alter checkKanikoDir parameter

* add TestKanikoDir func

* update error handling style

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* remove shorthand flag usage from test

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* add docstring to integration test

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* remove shorthand flag from kaniko-dir

Co-authored-by: Jason Hall <jasonhall@redhat.com>
2022-03-31 15:10:23 -04:00
..
args.go Allow user to provide registry certificate 2020-03-08 18:17:50 +01:00
args_test.go Allow user to provide registry certificate 2020-03-08 18:17:50 +01:00
init.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
options.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
options_test.go add boilerplate 2020-08-13 14:44:07 -07:00
stage.go Update copy command cache key logic 2019-12-09 16:48:20 -08:00