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

PVC has no label, and the operator cannot be started successfully #149

Closed
damuji8 opened this issue Sep 1, 2022 · 2 comments
Closed

PVC has no label, and the operator cannot be started successfully #149

damuji8 opened this issue Sep 1, 2022 · 2 comments

Comments

@damuji8
Copy link
Contributor

damuji8 commented Sep 1, 2022

https://github.com/vesoft-inc/nebula-operator/blob/master/pkg/kube/pvc.go
We deploy the nebula operator in the local kubernetes cluster, pvc has no label, and the operator cannot be started successfully.
operator logs: assignment to entry in nil map.
image
image

here also need
if pvc.Labels == nil {
pvc.Labels = make(map[string]string)
}

@wey-gu
Copy link
Contributor

wey-gu commented Sep 1, 2022

Thanks @damuji8 for reporting this :), Are you interested in a PR to fix it? As you already find it down to the code line

@damuji8 damuji8 closed this as completed Sep 1, 2022
@wey-gu
Copy link
Contributor

wey-gu commented Sep 1, 2022

@damuji8 we will reach out to you for a nebulagraph contributor souvenir and certificate :)

again, thanks a lot for the contribution and welcome to the nebulagraph community!

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