We have updated our Terms of Service, Code of Conduct, and Addendum.

In gitops workflow for production is there a way to break glass and exit read only in an emergency?

John Pondrom
John Pondrom Posts: 16

We are planning to enable gitops workflow for production and from the docs we understood that the production environment will be “read only” if the gitops workflow is set to “push”. What if there is outage with “git” and we can’t do the release? What is the alternative to push the code without git?

Comments

  • Matt Markwald
    Matt Markwald Posts: 3

    In the event you need to enable write access on the prod environment you can go into the settings >Git Settings on the leader node and toggle push mode to none. After making that adjustment you'll be able to make the changes locally. Before restoring prod to push mode however, you'll want to make the same changes in your lower environments so that you don't have a merge conflict in the end.

  • Sai v
    Sai v Posts: 1

    If the gitops model is enforced using systemd cribl.service file then you wont get option to disabled gitops flow from UI, instead you need to quickly edit the cribl.service file hash out the parameters

    Environment=CRIBL_GIT_OPS=push
    Environment=CRIBL_GIT_BRANCH=Production

    and restart the Cribl service.