From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api 0/3] rename realms.cfg to realms.conf
Date: Wed, 26 Feb 2025 18:37:34 +0100 [thread overview]
Message-ID: <20250226173737.577869-1-s.ivanov@proxmox.com> (raw)
this series is based on Markus' v8 for OIDC:
https://lore.proxmox.com/pmg-devel/20250226140740.55612-1-m.frank@proxmox.com/T/#t
it addresses the naming of realms.cfg vs. realms.conf
additionally I moved the part of the schema definitions to Auth::Plugin,
in order to not have a cyclical include.
the third patch adds realms conf to the cluster sync.
(backup already contains everything in /etc/pmg anyways - so no special
consideration needed).
tested by installing this on 2 nodes in the cluster, and logging in
via keycloak on the non-master node)
Stoiko Ivanov (3):
auth: plugin: move schema definitions from Utils to Auth::Plugin
access control: rename realms.cfg to realms.conf
cluster: add realms.conf to config-sync
src/PMG/API2/AuthRealm.pm | 16 ++++++++--------
src/PMG/API2/OIDC.pm | 5 +++--
src/PMG/AccessControl.pm | 4 ++--
src/PMG/Auth/Plugin.pm | 30 ++++++++++++++++++++++++------
src/PMG/Cluster.pm | 1 +
src/PMG/Utils.pm | 21 ++-------------------
6 files changed, 40 insertions(+), 37 deletions(-)
--
2.39.5
_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
next reply other threads:[~2025-02-26 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 17:37 Stoiko Ivanov [this message]
2025-02-26 17:37 ` [pmg-devel] [PATCH pmg-api 1/3] auth: plugin: move schema definitions from Utils to Auth::Plugin Stoiko Ivanov
2025-02-26 17:37 ` [pmg-devel] [PATCH pmg-api 2/3] access control: rename realms.cfg to realms.conf Stoiko Ivanov
2025-02-26 17:37 ` [pmg-devel] [PATCH pmg-api 3/3] cluster: add realms.conf to config-sync Stoiko Ivanov
2025-02-26 20:17 ` [pmg-devel] applied-series: [PATCH pmg-api 0/3] rename realms.cfg to realms.conf Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250226173737.577869-1-s.ivanov@proxmox.com \
--to=s.ivanov@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal