Jonathan Wright

Results 20 comments of Jonathan Wright

I've had a bit of a think about this and although I'm not a python programmer, ultimately, I don't see why not.

@JoNicolas, I understand where you are coming from, however, the script was designed to ensure HAProxy had the appropriate number of minimum or maximum servers up or down (normally respectively)....

I think this would require additional logic and a configuration option, either to query the check and report 1/0 based on the overall state of the backend (and hence discard...

This seems to be an error within the Playbook itself, rather than the role. Can you post the playbook `test.yml` so I can take a look?

@novij, Agreed. It is an edge case which had not been considered. [Line 457](https://github.com/jonathanio/monitoring-nagios-haproxy/blob/master/check_haproxy#L457) is your issue with `101`%, as it falls outside the allowed bounds and therefore uses the...

This is a limitation of the `GITHUB_TOKEN` and not the GitHub Action. If you use the default `GITHUB_TOKEN` provided in the Workflow for the repository, then that token is restricted...

I'm in the process of rebuilding a lot of my infrastructure, so it's a bit all over the place, but if you take a look at my [workflows](https://gist.github.com/jonathanio/7eca51dcd5268c790daa2f8c843c49fd) for one...

Oops! You're right. I've updated the link above to a [gist](https://gist.github.com/jonathanio/7eca51dcd5268c790daa2f8c843c49fd) which has the files and layout. Hopefully that'll help.

> Do you have an example of this somewhere? I'm trying with the following but it isn't working: `terraform-docs` does not use the `GITHUB_TOKEN` directly, as the action creates the...

@simar7 I've hit this issue in several ways recently, and unfortunately, the method you described does not work: https://github.com/aquasecurity/trivy-action/blob/207cd40078971bb7a078f8504c2061f908569449/entrypoint.sh#L190 The GitHub Action explicitly excludes the `trivy-config` argument when processing the...