Skip to content

Commit 717c7e3

Browse files
authored
Merge pull request #8414 from killianmuldoon/pr-fix-crd-creationtimestamp
🐛 Use local kustomize version in create-local-repository.py
2 parents 5d980e8 + 53f1917 commit 717c7e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/clusterctl/hack/create-local-repository.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ def create_local_repositories():
168168
components_file = p.get('componentsFile')
169169
assert components_file is not None, 'invalid configuration for provider {}: please provide componentsFile value'.format(provider)
170170

171-
components_yaml = execCmd(['kustomize', 'build', os.path.join(repo, config_folder)])
171+
execCmd(['make', 'kustomize'])
172+
components_yaml = execCmd(['./hack/tools/bin/kustomize', 'build', os.path.join(repo, config_folder)])
172173
components_path = write_local_repository(provider, next_version, components_file, components_yaml, metadata_file)
173174

174175
yield name, type, next_version, components_path

0 commit comments

Comments
 (0)