Skip to content

feat: add a gitops connector for Portainer - #15

Merged
blaipr merged 1 commit into
mainfrom
feat/portainer
Oct 26, 2026
Merged

blaipr merged 1 commit into
mainfrom
feat/portainer

Conversation

@blaipr

@blaipr blaipr commented Oct 26, 2026

Copy link
Copy Markdown
Member

A unified-gitops connector for Portainer's settings, environments and users, through its API.

  • Three kinds: settings (one object), environment (by Name, created only for agents), user (by Username, the built-in admin never touched).
  • An environment update lays each declared block over the live one, because Portainer's PUT replaces whole blocks.
  • The LDAP bind password comes from a credential and is added to every settings update with LDAPSettings: Portainer never returns it, so git cannot hold it.
  • example.yaml splits settings/environments (prune off) from users (prune on), since prune is per application; it passes unified-gitops 0.1.0 --check-config.
  • 16 tests against an in-memory Portainer.

@blaipr
blaipr merged commit c7627a5 into main Oct 26, 2026
1 check passed
@blaipr
blaipr deleted the feat/portainer branch October 26, 2026 14:13
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