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

Missing documentation kubernetes/podify-walkthrough/README.md #16

Open
sk31337 opened this issue Mar 6, 2024 · 0 comments
Open

Missing documentation kubernetes/podify-walkthrough/README.md #16

sk31337 opened this issue Mar 6, 2024 · 0 comments

Comments

@sk31337
Copy link
Member

sk31337 commented Mar 6, 2024

I am currently trying to get https://github.com/open-component-model/ocm-examples/tree/main/kubernetes/podify-walkthrough working.

When executing following step, I get this error

./scripts/setup-secrets.sh ${GITHUB_USER} ${GITHUB_TOKEN} ${GITHUB_USER_EMAIL}
error: failed to create secret secrets "regcred" already exists
error: failed to create secret secrets "creds" already exists
error: error reading ./component/key.pub: no such file or directory

i was able to fix it but I had to execute following command in folder kubernetes/podify-walkthrough/component

 make keys
rm -f key.priv key.pub && \
		ocm create rsakeypair key.priv key.pub
created rsa key pair key.priv[key.pub]

Is it intended that ./scripts/setup-secrets.sh is executing make keys or is this documentation missing?

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

1 participant