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

NameEmailUrl
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

KeyTypeDefaultDescription
affinityobject{}Affinity settings for the pods.
analyticsDisabledboolfalseSpecifies if the server should send heartbeat to Pocket-ID for analytic purposes.
backup.busyTimeoutstring"1s"Busy timeout, if empty, default is used.
backup.checkpointIntervalstring"1m"Interval between checkpoints in Go duration format. If empty, default is used.
backup.enabledboolfalseSpecifies whether backup/replication is enabled.
backup.image.pullPolicystring"IfNotPresent"Image pull policy.
backup.image.repositorystring"docker.io/litestream/litestream"Registry and repository for the litestream image.
backup.image.tagstring"0.5.18"Tag for the image.
backup.logging.levelstring"INFO"Logging level. Options: DEBUG, INFO, WARNING, ERROR
backup.logging.stderrboolfalseWhether to log to stderr (default is stdout)
backup.logging.typestring"text"Logging format. Options: text or json
backup.maxCheckpointPageCountint10000Maximum number of pages processed during a checkpoint.
backup.minCheckpointPageCountint1000Minimum number of pages to trigger a checkpoint.
backup.monitorIntervalstring"1s"Interval for monitoring in Go duration format (e.g. "30s"). If empty, default is used.
backup.resourcesobject{}
backup.secret.accessKeystring""Primary S3 access key.
backup.secret.createbooltrueSpecifies whether a secret should be created.
backup.secret.namestring""Specifies name of a secret used to configure the pocket-id. If not filled, uses full name.
backup.secret.replicaslist[]
backup.secret.secretKeystring""Primary S3 secret key.
backup.securityContextobject{}
config.audit.localIPv6Rangesstring""User configured local IPv6 ranges for the audit log.
config.core.auditLogRetentionDaysint90Number of days to retain audit logs.
config.core.disableRateLimitingboolfalseDisable built-in rate limiting. Only disable if you have rate limiting configured in your reverse proxy.
config.core.internalAppUrlstring""Internal URL for OIDC configuration. Use when APP_URL isn't accessible by OIDC clients.
config.core.logJsonboolfalseWhether to emit logs in JSON format
config.core.logLevelstring"info"Log level. Options: debug, info, warn, error
config.createbooltrueSpecifies whether a config map should be created.
config.namestring""Specifies name of a config map used to configure the pocket-id. If not filled, uses full name.
config.telemetry.metricsEnabledboolfalseEnables OpenTelemetry metrics.
config.telemetry.otelobject{}OpenTelemetry SDK environment variables. https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
config.telemetry.tracingEnabledboolfalseEnables OpenTelemetry tracing.
config.ui.settings.app.accentColorstring"default"A custom accent color for the UI
config.ui.settings.app.allowOwnAccountEditbooltrueWhether users can edit their own account details
config.ui.settings.app.allowUserSignupsstring"disabled"Whether the user signup functionality is enabled. Options: "disabled", "withToken", "open"
config.ui.settings.app.appNamestring"Pocket ID"The name of the application to be displayed in the UI
config.ui.settings.app.disableAnimationsboolfalseWhether to disable animations in the Admin UI
config.ui.settings.app.emailsVerifiedboolfalseWhether the user's email is pre-marked as verified for OIDC clients (typically used for testing)
config.ui.settings.app.homePageUrlstring"/settings/account"The page users are redirected to after signing in
config.ui.settings.app.sessionDurationint60Duration in minutes of a session before the user must sign in again
config.ui.settings.app.signupDefaultCustomClaimslist[]Assign these custom claims automatically to new users upon signup
config.ui.settings.app.signupDefaultUserGroupIdslist[]Assign these groups automatically to new users upon signup
config.ui.settings.email.apiKeyExpirationEnabledboolfalseSend an email to the user when their API key is about to expire
config.ui.settings.email.loginNotificationEnabledboolfalseWhether to send an email notification when a user logs in from a new device
config.ui.settings.email.oneTimeAccessAsAdminEnabledboolfalseWhether to allow admins to send one-time access sign-in links to the user's email
config.ui.settings.email.oneTimeAccessAsUnauthenticatedEnabledboolfalseWhether 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.verificationEnabledboolfalseSend a verification email to users when they sign up or change their email address
config.ui.settings.ldap.attributes.group.adminGroupstring""LDAP attribute for the admin group (used to assign Admin privileges)
config.ui.settings.ldap.attributes.group.memberstring"member"LDAP attribute for querying group members
config.ui.settings.ldap.attributes.group.namestring""LDAP attribute for the group's name
config.ui.settings.ldap.attributes.group.uniqueIdentifierstring""LDAP attribute for the unique identifier of the group
config.ui.settings.ldap.attributes.user.emailstring""LDAP attribute for the email address of the user
config.ui.settings.ldap.attributes.user.firstNamestring""LDAP attribute for the user's first name
config.ui.settings.ldap.attributes.user.lastNamestring""LDAP attribute for the user's last name
config.ui.settings.ldap.attributes.user.profilePicturestring""LDAP attribute for the user's profile picture
config.ui.settings.ldap.attributes.user.uniqueIdentifierstring""LDAP attribute for the unique identifier of the user
config.ui.settings.ldap.attributes.user.usernamestring""LDAP attribute for the username of the user
config.ui.settings.ldap.basestring""LDAP search base DN for queries
config.ui.settings.ldap.bindDNstring""LDAP bind distinguished name (DN)
config.ui.settings.ldap.bindPasswordstring""LDAP bind password for authentication
config.ui.settings.ldap.enabledboolfalseWhether to enable LDAP authentication
config.ui.settings.ldap.skipCertVerifyboolfalseWhether to skip LDAP certificate verification (useful for self-signed certificates)
config.ui.settings.ldap.softDeleteUsersboolfalseWhen enabled, users removed from LDAP will be disabled rather than deleted from the system
config.ui.settings.ldap.urlstring""URL of the LDAP server
config.ui.settings.ldap.userGroupSearchFilterstring"(objectClass=groupOfNames)"LDAP group search filter (default is typically fine for most setups)
config.ui.settings.ldap.userSearchFilterstring"(objectClass=person)"LDAP user search filter (default is typically fine for most setups)
config.ui.settings.smtp.fromstring""Sender email address for outgoing emails
config.ui.settings.smtp.hoststring""SMTP server hostname used to send outgoing emails
config.ui.settings.smtp.passwordstring""SMTP password for authentication
config.ui.settings.smtp.portstring""SMTP server port
config.ui.settings.smtp.skipCertVerifyboolfalseWhether to skip SMTP certificate verification (useful for self-signed certificates)
config.ui.settings.smtp.tlsstring"none"TLS option to use for SMTP. Options are 'none', 'starttls', or 'tls'
config.ui.settings.smtp.userstring""SMTP username for authentication
config.ui.useDefaultsbooltrueWhether to enable default settings for the UI or allow customizations
database.connectionStringstring"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
encryptionKeystring""Encryption key used to encrypt sensitive data. Required: Generate with openssl rand -base64 32
extraEnvFromlist[]Extra environment variables to add to the container.
fileBackend.s3.accessKeyIdstring""S3 access key ID (required if type is s3)
fileBackend.s3.bucketstring""S3 bucket name (required if type is s3)
fileBackend.s3.disableDefaultIntegrityChecksboolfalseDisable default integrity checks for S3
fileBackend.s3.endpointstring""S3 endpoint URL (required if type is s3)
fileBackend.s3.forcePathStyleboolfalseForce path style for S3
fileBackend.s3.regionstring""S3 region (required if type is s3)
fileBackend.s3.secretAccessKeystring""S3 secret access key (required if type is s3)
fileBackend.typestring"filesystem"The backend used for file storage. Options: filesystem, s3, database
fileBackend.uploadPathstring"data/uploads"The path where uploaded files are stored (only for filesystem/s3)
fullnameOverridestring""Override for the full name.
geoliteDatabaseURLstring"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.
hoststring""Host where you will access the app without scheme or port.
imagePullSecretslist[]Secrets for pulling images.
ingress.annotationsobject{}Annotations to add to the ingress.
ingress.classNamestring""Ingress class name.
ingress.enabledboolfalseSpecifies whether ingress should be enabled.
ingress.hoststring"pocket-id.example.local"Ingress host configuration.
ingress.paths[0].pathstring"/"
ingress.paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]List of TLS configurations for the ingress.
livenessProbe.httpGetobject{"path":"/healthz","port":"http"}Liveness probe configuration.
maxmindLicenseKeystring""MaxMind license key used to download the GeoLite2 database. Leave blank to disable download.
nameOverridestring""Override for the name.
nodeSelectorobject{}Node selector for the pods.
persistence.data.accessModestring"ReadWriteOnce"Access mode for the PVC.
persistence.data.annotationsobject{}Annotations applied to PVC.
persistence.data.enabledboolfalseEnable/disable PVC creation for data.
persistence.data.existingClaimstring""Use an existing PVC if defined, otherwise create one.
persistence.data.hostPathobject{"enabled":false,"path":"","type":""}Use a hostPath volume instead of a PVC. Mutually exclusive with existingClaim.
persistence.data.hostPath.enabledboolfalseEnable hostPath volume. When true, existingClaim must be empty.
persistence.data.hostPath.pathstring""Absolute path on the host node to mount.
persistence.data.hostPath.typestring""Optional hostPath type (e.g. Directory, DirectoryOrCreate, File, FileOrCreate).
persistence.data.sizestring"10Gi"Storage size for the PVC.
persistence.data.storageClassstring""Specify the StorageClass (if required).
pocketID.image.pullPolicystring"IfNotPresent"Image pull policy.
pocketID.image.repositorystring"ghcr.io/pocket-id/pocket-id"Registry and repository for the pocket-id image.
pocketID.image.tagstring"v2.19.2"Tag for the image.
pocketID.resourcesobject{}
pocketID.securityContextobject{}
podAnnotationsobject{}Annotations to be added to the pods.
podLabelsobject{}Labels to be added to the pods.
podSecurityContextobject{}
readinessProbe.httpGetobject{"path":"/healthz","port":"http"}Readiness probe configuration.
secret.createbooltrueSpecifies whether a secret should be created.
secret.namestring""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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpocket-id is pinned at v2.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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