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

Allow compliance run with read-only git token #813

Open
gneville-ot opened this issue Oct 7, 2024 · 1 comment
Open

Allow compliance run with read-only git token #813

gneville-ot opened this issue Oct 7, 2024 · 1 comment

Comments

@gneville-ot
Copy link

Environment

  • Nautobot version: 2.3.4
  • nautobot-golden-config version: 2.1.2

Proposed Functionality

Allow a compliance run to work without the need to push to the git repos so a read-only git token can be used.

Use Case

Use existing intended and backup git repos that nautobot only has read-only access to and still allow a compliance run to be performed with out errors.

Extra:

We have other processes that provide the intended and backup configs that nautobot can consume, we don't want nautobot to perform any push to those repos. At the end of a compliance run the "GC Repo Commit and Push" is attempted and effectively just pushes an empty commit which isn't needed for this use case.

@gsnider2195
Copy link
Contributor

I think we need a setting to disable pushing the configs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants