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

token is hostPath instead of emptyDir + ssh authorized_key nil error #5

Closed
antoinetran opened this issue Nov 15, 2024 · 1 comment
Closed

Comments

@antoinetran
Copy link
Contributor

Short Description of the issue

  1. In OIDC mode, the refresh token shared between vk and refresh-token is now in hostPath:/tmp (see https://github.com/interTwin-eu/interlink-helm-chart/blob/main/interlink/templates/virtual-kubelet.yaml#L160), instead of emptyDir as before (0.3.1-rc2). This causes me a regression because after each deployment, I need to delete the refresh token manually.
  2. by default, when ssh bastion is not enabled, the secret regarding the authorized_key is still created, but because it is empty, the kubectl apply gives an error because of nil value.

Environment

  • Operating System:
  • Other related components versions:

Steps to reproduce

Logs, stacktrace, or other symptoms

output

Summary of proposed changes

@dciangot
Copy link
Collaborator

Should be solved now. Default is emptyDir and the secrets should not be created anymore when ssh bastion is disabled

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