pocket-id
by anza-labs
Helm chartv2.3.0App v2.19.2Apache-2.0Verified publisher
pocket-id is a simple and easy-to-use OIDC provider that allows users to authenticate with their passkeys to your services.
About this chart
pocket-id
pocket-id is a simple and easy-to-use OIDC provider that allows users to authenticate with their passkeys to your services.
Homepage: https://pocket-id.org
Maintainers
| Name | Url | |
|---|---|---|
| shanduur | [email protected] | http://linkedin.com/in/urbanekmateusz |
Source Code
Installation
To install the chart with the release name pocket-id:
helm repo add anza-labs https://anza-labs.github.io/charts
helm repo update anza-labs
helm install pocket-id anza-labs/pocket-id --version 2.3.0
Upgrading
To upgrade an existing installation:
helm upgrade pocket-id anza-labs/pocket-id
Uninstalling
To uninstall an existing installation:
helm uninstall pocket-id
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity settings for the pods. |
| analyticsDisabled | bool | false | Specifies if the server should send heartbeat to Pocket-ID for analytic purposes. |
| backup.busyTimeout | string | "1s" | Busy timeout, if empty, default is used. |
| backup.checkpointInterval | string | "1m" | Interval between checkpoints in Go duration format. If empty, default is used. |
| backup.enabled | bool | false | Specifies whether backup/replication is enabled. |
| backup.image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| backup.image.repository | string | "docker.io/litestream/litestream" | Registry and repository for the litestream image. |
| backup.image.tag | string | "0.5.18" | Tag for the image. |
| backup.logging.level | string | "INFO" | Logging level. Options: DEBUG, INFO, WARNING, ERROR |
| backup.logging.stderr | bool | false | Whether to log to stderr (default is stdout) |
| backup.logging.type | string | "text" | Logging format. Options: text or json |
| backup.maxCheckpointPageCount | int | 10000 | Maximum number of pages processed during a checkpoint. |
| backup.minCheckpointPageCount | int | 1000 | Minimum number of pages to trigger a checkpoint. |
| backup.monitorInterval | string | "1s" | Interval for monitoring in Go duration format (e.g. "30s"). If empty, default is used. |
| backup.resources | object | {} | |
| backup.secret.accessKey | string | "" | Primary S3 access key. |
| backup.secret.create | bool | true | Specifies whether a secret should be created. |
| backup.secret.name | string | "" | Specifies name of a secret used to configure the pocket-id. If not filled, uses full name. |
| backup.secret.replicas | list | [] | |
| backup.secret.secretKey | string | "" | Primary S3 secret key. |
| backup.securityContext | object | {} | |
| config.audit.localIPv6Ranges | string | "" | User configured local IPv6 ranges for the audit log. |
| config.core.auditLogRetentionDays | int | 90 | Number of days to retain audit logs. |
| config.core.disableRateLimiting | bool | false | Disable built-in rate limiting. Only disable if you have rate limiting configured in your reverse proxy. |
| config.core.internalAppUrl | string | "" | Internal URL for OIDC configuration. Use when APP_URL isn't accessible by OIDC clients. |
| config.core.logJson | bool | false | Whether to emit logs in JSON format |
| config.core.logLevel | string | "info" | Log level. Options: debug, info, warn, error |
| config.create | bool | true | Specifies whether a config map should be created. |
| config.name | string | "" | Specifies name of a config map used to configure the pocket-id. If not filled, uses full name. |
| config.telemetry.metricsEnabled | bool | false | Enables OpenTelemetry metrics. |
| config.telemetry.otel | object | {} | OpenTelemetry SDK environment variables. https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/ |
| config.telemetry.tracingEnabled | bool | false | Enables OpenTelemetry tracing. |
| config.ui.settings.app.accentColor | string | "default" | A custom accent color for the UI |
| config.ui.settings.app.allowOwnAccountEdit | bool | true | Whether users can edit their own account details |
| config.ui.settings.app.allowUserSignups | string | "disabled" | Whether the user signup functionality is enabled. Options: "disabled", "withToken", "open" |
| config.ui.settings.app.appName | string | "Pocket ID" | The name of the application to be displayed in the UI |
| config.ui.settings.app.disableAnimations | bool | false | Whether to disable animations in the Admin UI |
| config.ui.settings.app.emailsVerified | bool | false | Whether the user's email is pre-marked as verified for OIDC clients (typically used for testing) |
| config.ui.settings.app.homePageUrl | string | "/settings/account" | The page users are redirected to after signing in |
| config.ui.settings.app.sessionDuration | int | 60 | Duration in minutes of a session before the user must sign in again |
| config.ui.settings.app.signupDefaultCustomClaims | list | [] | Assign these custom claims automatically to new users upon signup |
| config.ui.settings.app.signupDefaultUserGroupIds | list | [] | Assign these groups automatically to new users upon signup |
| config.ui.settings.email.apiKeyExpirationEnabled | bool | false | Send an email to the user when their API key is about to expire |
| config.ui.settings.email.loginNotificationEnabled | bool | false | Whether to send an email notification when a user logs in from a new device |
| config.ui.settings.email.oneTimeAccessAsAdminEnabled | bool | false | Whether to allow admins to send one-time access sign-in links to the user's email |
| config.ui.settings.email.oneTimeAccessAsUnauthenticatedEnabled | bool | false | Whether to allow unauthenticated users to request one-time access sign-in links sent to the user's email (note: this reduces security significantly, as anyone with email access can sign in) |
| config.ui.settings.email.verificationEnabled | bool | false | Send a verification email to users when they sign up or change their email address |
| config.ui.settings.ldap.attributes.group.adminGroup | string | "" | LDAP attribute for the admin group (used to assign Admin privileges) |
| config.ui.settings.ldap.attributes.group.member | string | "member" | LDAP attribute for querying group members |
| config.ui.settings.ldap.attributes.group.name | string | "" | LDAP attribute for the group's name |
| config.ui.settings.ldap.attributes.group.uniqueIdentifier | string | "" | LDAP attribute for the unique identifier of the group |
| config.ui.settings.ldap.attributes.user.email | string | "" | LDAP attribute for the email address of the user |
| config.ui.settings.ldap.attributes.user.firstName | string | "" | LDAP attribute for the user's first name |
| config.ui.settings.ldap.attributes.user.lastName | string | "" | LDAP attribute for the user's last name |
| config.ui.settings.ldap.attributes.user.profilePicture | string | "" | LDAP attribute for the user's profile picture |
| config.ui.settings.ldap.attributes.user.uniqueIdentifier | string | "" | LDAP attribute for the unique identifier of the user |
| config.ui.settings.ldap.attributes.user.username | string | "" | LDAP attribute for the username of the user |
| config.ui.settings.ldap.base | string | "" | LDAP search base DN for queries |
| config.ui.settings.ldap.bindDN | string | "" | LDAP bind distinguished name (DN) |
| config.ui.settings.ldap.bindPassword | string | "" | LDAP bind password for authentication |
| config.ui.settings.ldap.enabled | bool | false | Whether to enable LDAP authentication |
| config.ui.settings.ldap.skipCertVerify | bool | false | Whether to skip LDAP certificate verification (useful for self-signed certificates) |
| config.ui.settings.ldap.softDeleteUsers | bool | false | When enabled, users removed from LDAP will be disabled rather than deleted from the system |
| config.ui.settings.ldap.url | string | "" | URL of the LDAP server |
| config.ui.settings.ldap.userGroupSearchFilter | string | "(objectClass=groupOfNames)" | LDAP group search filter (default is typically fine for most setups) |
| config.ui.settings.ldap.userSearchFilter | string | "(objectClass=person)" | LDAP user search filter (default is typically fine for most setups) |
| config.ui.settings.smtp.from | string | "" | Sender email address for outgoing emails |
| config.ui.settings.smtp.host | string | "" | SMTP server hostname used to send outgoing emails |
| config.ui.settings.smtp.password | string | "" | SMTP password for authentication |
| config.ui.settings.smtp.port | string | "" | SMTP server port |
| config.ui.settings.smtp.skipCertVerify | bool | false | Whether to skip SMTP certificate verification (useful for self-signed certificates) |
| config.ui.settings.smtp.tls | string | "none" | TLS option to use for SMTP. Options are 'none', 'starttls', or 'tls' |
| config.ui.settings.smtp.user | string | "" | SMTP username for authentication |
| config.ui.useDefaults | bool | true | Whether to enable default settings for the UI or allow customizations |
| database.connectionString | string | "file:data/pocket-id.db" | Connection string for the database. - For sqlite: file:data/pocket-id.db - For postgres: postgres:// or postgresql://user:password@host:port/dbname |
| encryptionKey | string | "" | Encryption key used to encrypt sensitive data. Required: Generate with openssl rand -base64 32 |
| extraEnvFrom | list | [] | Extra environment variables to add to the container. |
| fileBackend.s3.accessKeyId | string | "" | S3 access key ID (required if type is s3) |
| fileBackend.s3.bucket | string | "" | S3 bucket name (required if type is s3) |
| fileBackend.s3.disableDefaultIntegrityChecks | bool | false | Disable default integrity checks for S3 |
| fileBackend.s3.endpoint | string | "" | S3 endpoint URL (required if type is s3) |
| fileBackend.s3.forcePathStyle | bool | false | Force path style for S3 |
| fileBackend.s3.region | string | "" | S3 region (required if type is s3) |
| fileBackend.s3.secretAccessKey | string | "" | S3 secret access key (required if type is s3) |
| fileBackend.type | string | "filesystem" | The backend used for file storage. Options: filesystem, s3, database |
| fileBackend.uploadPath | string | "data/uploads" | The path where uploaded files are stored (only for filesystem/s3) |
| fullnameOverride | string | "" | Override for the full name. |
| geoliteDatabaseURL | string | "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz" | URL template to download the MaxMind GeoLite2-City database. %s will be replaced with the license key. |
| host | string | "" | Host where you will access the app without scheme or port. |
| imagePullSecrets | list | [] | Secrets for pulling images. |
| ingress.annotations | object | {} | Annotations to add to the ingress. |
| ingress.className | string | "" | Ingress class name. |
| ingress.enabled | bool | false | Specifies whether ingress should be enabled. |
| ingress.host | string | "pocket-id.example.local" | Ingress host configuration. |
| ingress.paths[0].path | string | "/" | |
| ingress.paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | List of TLS configurations for the ingress. |
| livenessProbe.httpGet | object | {"path":"/healthz","port":"http"} | Liveness probe configuration. |
| maxmindLicenseKey | string | "" | MaxMind license key used to download the GeoLite2 database. Leave blank to disable download. |
| nameOverride | string | "" | Override for the name. |
| nodeSelector | object | {} | Node selector for the pods. |
| persistence.data.accessMode | string | "ReadWriteOnce" | Access mode for the PVC. |
| persistence.data.annotations | object | {} | Annotations applied to PVC. |
| persistence.data.enabled | bool | false | Enable/disable PVC creation for data. |
| persistence.data.existingClaim | string | "" | Use an existing PVC if defined, otherwise create one. |
| persistence.data.hostPath | object | {"enabled":false,"path":"","type":""} | Use a hostPath volume instead of a PVC. Mutually exclusive with existingClaim. |
| persistence.data.hostPath.enabled | bool | false | Enable hostPath volume. When true, existingClaim must be empty. |
| persistence.data.hostPath.path | string | "" | Absolute path on the host node to mount. |
| persistence.data.hostPath.type | string | "" | Optional hostPath type (e.g. Directory, DirectoryOrCreate, File, FileOrCreate). |
| persistence.data.size | string | "10Gi" | Storage size for the PVC. |
| persistence.data.storageClass | string | "" | Specify the StorageClass (if required). |
| pocketID.image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| pocketID.image.repository | string | "ghcr.io/pocket-id/pocket-id" | Registry and repository for the pocket-id image. |
| pocketID.image.tag | string | "v2.19.2" | Tag for the image. |
| pocketID.resources | object | {} | |
| pocketID.securityContext | object | {} | |
| podAnnotations | object | {} | Annotations to be added to the pods. |
| podLabels | object | {} | Labels to be added to the pods. |
| podSecurityContext | object | {} | |
| readinessProbe.httpGet | object | {"path":"/healthz","port":"http"} | Readiness probe configuration. |
| secret.create | bool | true | Specifies whether a secret should be created. |
| secret.name | string | "" | Specifies name of a secret used to configure the pocket-id. If not filled, uses full name. |
| service. |
Deploy pocket-id with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pocket-id on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpocket-id is pinned at v2.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply