Add haproxy-spoe-auth-operator charm MVP#232
Conversation
|
@copilot An example of adding the oauth library and using the requirer class is here: https://github.com/canonical/synapse-operator/pull/621/files Update the code to declare the library in charm-lib and use the correct requirer class. Don't add the library for now, I'll fetch it locally |
Updated the code to declare the OAuth library and prepare for the requirer class (commit ffa22f6):
The code is ready for the library to be added - just uncomment the requirer initialization and update Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
license-eye has checked 185 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 79 | 2 | 104 | 0 |
Click to see the invalid file list
- haproxy_spoe_auth_operator/lib/charms/hydra/v0/oauth.py
- haproxy_spoe_auth_operator/uv.lock
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
Co-authored-by: Thanhphan1147 <[email protected]>
Co-authored-by: Thanhphan1147 <[email protected]>
- Declare hydra.oauth library in charmcraft.yaml - Add placeholder for OAuth requirer initialization in charm - Update oauth.py with comments showing how to use the library - Keep temporary implementation until library is fetched locally Co-authored-by: Thanhphan1147 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2a59fc1 to
f53baab
Compare
…nical/haproxy-operator into copilot/add-haproxy-spoe-auth-charm
seb4stien
left a comment
There was a problem hiding this comment.
Left some comments. Ping me on MM for second review please.
Co-authored-by: Sébastien Georget <[email protected]>
Co-authored-by: Sébastien Georget <[email protected]>
Co-authored-by: Sébastien Georget <[email protected]>
Test results for commit d4f1a57Test coverage for d4f1a57 Static code analysis report |
Test results for commit d4f1a57Test coverage for d4f1a57 Static code analysis report |
Applicable spec: ISD-257 ( internal )
New charm managing the haproxy-spoe-auth snap to provide authentication proxy functionalities. The MVP implements the oauth relation as well as the provider side of the spoe-auth relation.
This PR also moves the main code of the haproxy-operator charm to its dedicated folder in the monorepo. CI is also adapted to take this into account.
No changes to the code of the haproxy charm.
Checklist
docs/release-notes/artifactsurgent,trivial,complex)Original prompt