Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cr index fails when index.yaml allready exists #112

Open
artyom-p opened this issue Mar 14, 2021 · 1 comment
Open

cr index fails when index.yaml allready exists #112

artyom-p opened this issue Mar 14, 2021 · 1 comment

Comments

@artyom-p
Copy link

Hi, im unable to generate index.yaml when index file allready exist, for example when i want to index a new version of a chart.
Checked all the permissions on folders, everything looks ok, but this issue still appears.

OS: Windows 10 Pro 10.0.19042 Build 19042
CR: 1.2.0

config.yml:

owner: {owner}
git-repo: {repo-name}
charts-repo: https://{owner}.github.io/{repo-name}/
package-path: C:\k8s.deploy
token: {token}
git-base-url: https://api.github.com/
git-upload-url: https://uploads.github.com/
index-path: .\index.yaml

git checkout gh-pages
cr index --config C:\k8s\config.yml Using config file: C:\k8s\config.yml Using existing index at ./index.yaml Found test-chart-0.0.2.tgz Extracting chart metadata from C:\k8s\.deploy\test-chart-0.0.2.tgz Calculating Hash for C:\k8s\.deploy\test-chart-0.0.2.tgz Updating index ./index.yaml Error: link error: cannot rename index.yaml111555139 to ./index.yaml: rename index.yaml111555139 ./index.yaml: Access is denied.

image

@sOblivionsCall
Copy link

look at file ownership, this looks more like a permissions issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants