Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI registry-backed blueprints #147

Open
cskwrd opened this issue Apr 7, 2023 · 1 comment
Open

OCI registry-backed blueprints #147

cskwrd opened this issue Apr 7, 2023 · 1 comment

Comments

@cskwrd
Copy link

cskwrd commented Apr 7, 2023

It appears that the helm chart has support for defining blueprints via a configmap. Is there a way to configure authentik to apply OCI registry-backed blueprints via the chart?

@BeryJu
Copy link
Member

BeryJu commented Apr 8, 2023

There's no direct way to specify a list of OCI uris to use as blueprint instances, but as you can manage any model via blueprint instance, you can use a blueprint that creates more blueprints:

version: 1
metadata:
  name: OCI blueprints
entries:
  - model: authentik_blueprints.blueprintinstance
    identifiers:
      name: my-blueprint-name
    attrs:
      context:
        foo: bar
      path: oci://ghcr.io/<username>/<package-name>:<ref>
  - model: authentik_blueprints.blueprintinstance
    identifiers:
      name: my-other-blueprint-name
    attrs:
      context:
        foo: bar
      path: oci://ghcr.io/<username>/<package-name>:<ref>

(the context key is optional, just make sure the name of each of the blueprints is different)

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

No branches or pull requests

2 participants