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

panic during make bundle #78

Closed
ramrattle opened this issue Jun 6, 2024 · 4 comments · Fixed by #79
Closed

panic during make bundle #78

ramrattle opened this issue Jun 6, 2024 · 4 comments · Fixed by #79

Comments

@ramrattle
Copy link

Hi all, I was trying to build operator plugin, once the image is built and pushed I tried below command but getting a error, can someone give some pointers pls

root@maste# make bundle DOCKER_TAG=quay.io/ramrattle/attestation-operator:v0.1.0
/home/test/ram/attestation-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa0b44f]

@sarroutbi
Copy link
Collaborator

Hello @ramrattle . This seems pretty similar to latchset/tang-operator#248, which was also related to golang/go#64812. Are you using Go v1.22 version?

In that case, it was fixed by upgrading to latest values of different packages so that controller-gen is updated. We might need this at this moment as well.

I'll have a look at it to check if it is related.

@ramrattle
Copy link
Author

Thanks a lot for your reply, let me check the Go version, meanwhile would be really helpful if you can help with one of my query,

how to run agent container in worker node? currently I have a master node and worker node connected with kubeadm, I want attester, verifier, tenant to run on master node and agent alone to run on worker node, how can I achieve this?? will be helpful if you can give any pointers alos.

sarroutbi added a commit to sarroutbi/attestation-operator that referenced this issue Jun 6, 2024
Resolves: keylime#78

Signed-off-by: Sergio Arroutbi <[email protected]>
@sarroutbi
Copy link
Collaborator

Thanks a lot for your reply, let me check the Go version, meanwhile would be really helpful if you can help with one of my query,

how to run agent container in worker node? currently I have a master node and worker node connected with kubeadm, I want attester, verifier, tenant to run on master node and agent alone to run on worker node, how can I achieve this?? will be helpful if you can give any pointers alos.

Hello. May I ask you to query on slack Channel for that purpose, specifying the steps you follow, infrastructure being used, etc.etc.etc? Or, at least, you can open a new issue to avoid different matters being mixed and mingled?

@ramrattle
Copy link
Author

for sure, sorry for the mix-up

sarroutbi added a commit that referenced this issue Jun 7, 2024
Resolves: #78

Signed-off-by: Sergio Arroutbi <[email protected]>
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

Successfully merging a pull request may close this issue.

2 participants