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

Use the CSI agent image registry from configuration #17

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

thefinn93
Copy link

@thefinn93 thefinn93 commented Sep 9, 2024

This was causing the agent to fail to start on amd64 because the docker.io/openbao/openbao image seems to only support ARM.

I also updated the environment variables that get passed to the bao agent to use BAO_ prefix.

@thefinn93 thefinn93 force-pushed the csi-agent-image-registry branch 2 times, most recently from 1bed2eb to b610a94 Compare September 9, 2024 16:18
Copy link
Member

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you might need to bump the version on the chart?

Copy link
Member

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thefinn93 Sorry to bother, but while you're here, do you want to update VAULT_ADDR to BAO_ADDR as well?

@thefinn93
Copy link
Author

thefinn93 commented Sep 9, 2024

I did want to do that, but the chart defaults to the upstream CSI provider image for the openbao-csi-provider container, which is the only container that has VAULT_ADDR. The openbao-agent uses the openbao image, so it seemed ok to update it's envs.

Reading through openbao-csi-driver issue #3 lead me to the conclusion that the upstream CSI provider was used due to there not being a published openbao-csi-provider image.

Copy link
Member

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, yes. No, you're right. I was greedy in my search :-)

This looks good from my side.

@cipherboy cipherboy merged commit a6d9d9f into openbao:main Sep 10, 2024
2 checks passed
@thefinn93 thefinn93 deleted the csi-agent-image-registry branch September 12, 2024 03:27
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 this pull request may close these issues.

2 participants