Skip to content

Conversation

nicolaiort
Copy link

Hi,

first of all: thank you for your work on this operator. It is very useful!

While testing it, I noticed that the operator does not respect the readOnly setting of the deploy key.
This means that even if the key is set to readOnly false, it will be created without write access.

This PR adds the readOnly setting to the create_key method and uses it when creating a new deploy key.
This way, the operator will respect the readOnly setting and create the deploy key with the correct permissions.

If you want to test it, I pushed a build to my repository that includes this change: ghcr.io/odit-services/github-deploy-key-operator/operator

I hope this helps and thank you again for your work on this operator!
Best regards,
Nicolai

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.

1 participant