From d9f1cd97d55ea31a78719128dca5ce5dd285118b Mon Sep 17 00:00:00 2001 From: maggieneterval Date: Wed, 26 Feb 2020 09:49:34 -0500 Subject: [PATCH] fix(kubernetes): explicitly set v1 k8s account providerVersion --- dev/validate_bom__config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/validate_bom__config.py b/dev/validate_bom__config.py index 2b122df3..a3ace21f 100644 --- a/dev/validate_bom__config.py +++ b/dev/validate_bom__config.py @@ -961,7 +961,8 @@ def add_config(self, options, script): account_params = [options.k8s_account_name] account_params.extend([ '--docker-registries', options.k8s_account_docker_account, - '--kubeconfig-file', os.path.basename(options.k8s_account_credentials) + '--kubeconfig-file', os.path.basename(options.k8s_account_credentials), + '--provider-version', 'v1' ]) if options.k8s_account_context: account_params.extend(['--context', options.k8s_account_context])