checkout

by Labs64

Helm chartv0.11.29App 0.0.16Verified publisher

Labs64.IO :: Checkout - Commerce-Ready Platform for Digital Sales Enablement

About this chart

checkout

Labs64.IO :: Checkout - Commerce-Ready Platform for Digital Sales Enablement

Homepage: https://labs64.io

Maintainers

NameEmailUrl
Labs64[email protected]https://labs64.io

Source Code

Requirements

RepositoryNameVersion
file://../chart-libschart-libs0.8.12

Values

KeyTypeDefaultDescription
affinityobject{}
applicationTypestring"java"
applicationYamlobject`{"spring":{"data":{"redis":{"host":"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.hostdefault "redis.tools.svc.cluster.local" }}{{ else }}redis.tools.svc.cluster.local{{ end }}","port":"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.port
applicationYaml.springobject`{"data":{"redis":{"host":"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.hostdefault "redis.tools.svc.cluster.local" }}{{ else }}redis.tools.svc.cluster.local{{ end }}","port":"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.port
applicationYaml.spring.data.redis.hoststring`"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.hostdefault "redis.tools.svc.cluster.local" }}{{ else }}redis.tools.svc.cluster.local{{ end }}"`
applicationYaml.spring.data.redis.portstring`"{{ if and .Values.global .Values.global.redis }}{{ .Values.global.redis.portdefault 6379 }}{{ else }}6379{{ end }}"`
applicationYaml.spring.data.redis.ssl.enabledboolfalseUse TLS for Redis (required by ElastiCache in-transit encryption)
applicationYaml.spring.datasource.urlstring`"jdbc:postgresql://{{ if and .Values.global .Values.global.postgresql }}{{ .Values.global.postgresql.hostdefault "postgresql.tools.svc.cluster.local" }}:{{ .Values.global.postgresql.port
autoscalingobject{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
chart-libsobject{}Values passed to the chart-libs library dependency (present so the generated schema accepts the key Helm injects for the dependency) @schema type: object additionalProperties: true @schema
enabledbooltrue
envlist[]
envFromlist[]
externalSecrets.enabledboolfalse
externalSecrets.secretKeystring""Key/path of this module's secret in the external backend; every key becomes an env var. Defaults to the release fullname.
externalSecrets.storeNamestring"local-kubernetes-store"
fastStartupboolfalseOptimize for container startup time (-XX:TieredStopAtLevel=1, C1-only JIT) instead of sustained throughput. Local dev wants it on; prod wants it off (the default).
fullnameOverridestring""
gatewayobject{"annotations":{},"authPolicy":{"basePath":"","enabled":true},"enabled":false,"ingressClassName":"","parentRefs":[{"name":"labs64io-gateway","namespace":"tools"}],"prefix":"","routes":[{"path":"/api/v1","port":8080,"stripPath":true},{"path":"/v3/api-docs","port":8080,"public":true,"stripPrefix":true}],"sharedMiddlewares":{"auth":"authgateway-auth","compress":"authgateway-compress","rateLimit":"authgateway-ratelimit"}}Gateway routes published by this module (rendered by chart-libs.gateway-routes)
gateway.annotationsobject{}Annotations for fallback Ingress
gateway.authPolicyobject{"basePath":"","enabled":true}Auth-policy publication. NOTE: the Auth Gateway no longer live-discovers per-module policies via /.well-known/auth-policy — it loads a generated routes manifest (charts/authgateway/routes/) and asks the central Cerbos PDP for every decision. This block is retained for backward compatibility and is a no-op for edge enforcement.
gateway.authPolicy.basePathstring""External base path prepended to the module's OpenAPI paths; defaults to /api/v1
gateway.authPolicy.enabledbooltruePublish this module's auth policy to the gateway ACS
gateway.enabledboolfalsePublish this module's routes on the Traefik gateway
gateway.ingressClassNamestring""Ingress Class Name for fallback Ingress
gateway.parentRefslist[{"name":"labs64io-gateway","namespace":"tools"}]Gateway API parent Gateway(s) this module's HTTPRoute attaches to
gateway.prefixstring""External path prefix; defaults to /
gateway.routeslist[{"path":"/api/v1","port":8080,"stripPath":true},{"path":"/v3/api-docs","port":8080,"public":true,"stripPrefix":true}]Routes exposed by this module
gateway.routes[0]object{"path":"/api/v1","port":8080,"stripPath":true}Checkout API (protected; strips '/api/v1' — backend is root-mapped)
gateway.routes[1]object{"path":"/v3/api-docs","port":8080,"public":true,"stripPrefix":true}OpenAPI docs (public, prefix stripped before forwarding)
gateway.sharedMiddlewaresobject{"auth":"authgateway-auth","compress":"authgateway-compress","rateLimit":"authgateway-ratelimit"}Names of the shared middlewares provided by the authgateway chart (fullnameOverride: authgateway)
globalobject{"security":{"allowInsecureImages":true}}Global values shared across Labs64.IO charts and Bitnami subcharts @schema type: object additionalProperties: true @schema
global.security.allowInsecureImagesbooltrueRequired by Bitnami subcharts when images are pulled from bitnamilegacy (image substitution guard)
gracefulShutdown.timeoutstring"30s"Max time Spring Boot waits for in-flight requests before forced shutdown
imageobject{"digest":"sha256:7cf1324369bae60c154c1f527b04e15f1f14a7eaf05225947aea7d523f147989","pullPolicy":"IfNotPresent","repository":"labs64/checkout","tag":""}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image.digeststring"sha256:7cf1324369bae60c154c1f527b04e15f1f14a7eaf05225947aea7d523f147989"Pin the image by digest (sha256:<64 hex>). Takes precedence over tag — the release pipeline sets it so a deployment cannot follow a moved tag.
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
lifecycle.preStopDrainSecondsint5preStop sleep (seconds) so Traefik/kube-proxy deregister the pod before shutdown; 0 disables
livenessProbeobject{"failureThreshold":3,"httpGet":{"path":"/actuator/health/liveness","port":8080},"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":2}This is to setup the liveness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
migrationJobobject{"enabled":true,"initResources":{},"resources":{}}Pre-install Job that creates the database and runs migrations. Leave enabled when pointing at infrastructure that already exists. Set false when the database is provisioned by the same Helm release (the umbrella's bundled PostgreSQL): the Job is a pre-install hook and would wait for a server that cannot start until it finishes. The application runs Flyway itself either way.
migrationJob.initResourcesobject{}Resources for the ensure-db initContainer (a single psql client). @schema type: object additionalProperties: true @schema
migrationJob.resourcesobject{}Resources for the migrate container (the application image running Flyway). Defaults to the workload's own resources when empty. @schema type: object additionalProperties: true @schema
nameOverridestring""This is to override the chart name.
networkPolicyobject{"egress":[{"ports":[{"port":3593,"protocol":"TCP"}],"to":[{"podSelector":{"matchLabels":{"app.kubernetes.io/name":"authz-pdp"}}}]}],"enabled":false,"extraEgress":[],"extraIngress":[],"extraIngressFrom":[],"gatewayNamespace":"tools","ingressControllerLabels":{},"ingressFrom":[],"ingressPorts":[8080],"observabilityNamespace":"monitoring","toolsEgress":[{"name":"postgresql","port":5432},{"name":"valkey","port":6379}]}NetworkPolicy: allow ingress from Traefik and same-namespace pods only (rendered by chart-libs.networkpolicy)
networkPolicy.egresslist[{"ports":[{"port":3593,"protocol":"TCP"}],"to":[{"podSelector":{"matchLabels":{"app.kubernetes.io/name":"authz-pdp"}}}]}]Egress rules enforcing database-per-service isolation.
networkPolicy.extraEgresslist[]Additional raw egress rules (e.g. VPC-CIDR access to externally-managed data stores)
networkPolicy.extraIngresslist[]Additional raw ingress rules
networkPolicy.extraIngressFromlist[]Deployment-owned callers appended to ingressFrom without restating it (the umbrella chart adds its own helm test pod here). @schema type: array items: type: string @schema
networkPolicy.gatewayNamespacestring"tools"Namespace where Traefik runs
networkPolicy.ingressControllerLabelsobject{}Ingress controller pod-selector labels; defaults to the internal Traefik standard (app.kubernetes.io/name: traefik) when empty @schema type: object additionalProperties: true @schema
networkPolicy.ingressFromlist[]In-namespace workloads (app.kubernetes.io/name) allowed to call those ports, besides the ingress controller and this chart's own pods (helm test). []: no module calls it directly. Remove the key (set it to null) to fall back to the namespace-wide rule. @schema type: array items: type: string @schema
networkPolicy.ingressPortslist[8080]TCP ports open to the ingress controller and the in-namespace callers below.
networkPolicy.observabilityNamespacestring"monitoring"Namespace the observability/OTel collector runs in
networkPolicy.toolsEgresslist[{"name":"postgresql","port":5432},{"name":"valkey","port":6379}]Tools-namespace destinations this service needs (name + port pairs); rendered as scoped egress rules — NOT a blanket allow to the whole tools namespace — to preserve database-per-service isolation.
nodeSelectorobject{}
observabilityobject{"enabled":false,"metricsPath":"/actuator/prometheus","otlpEndpoint":"http://$(NODE_IP):4318"}Observability is infrastructure-owned: the same image runs with or without it. When enabled, the bundled OTel Java Agent is activated via JAVA_TOOL_OPTIONS and Prometheus scrape annotations (Micrometer /actuator/prometheus) are added.
observability.enabledboolfalseEnable runtime instrumentation (traces + logs via OTLP; metrics via Prometheus scrape)
observability.metricsPathstring"/actuator/prometheus"Prometheus metrics path scraped from the pod
observability.otlpEndpointstring"http://$(NODE_IP):4318"OTLP endpoint of the OpenTelemetry Collector
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ @schema type: object additionalProperties: true @schema
podDisruptionBudgetobject{"enabled":false,"minAvailable":1}PodDisruptionBudget (rendered by chart-libs.pdb)
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContextobject{}
rbac.createboolfalse
rbac.ruleslist[]
readinessProbeobject`{"failureThreshold":3,"httpGet":{"path":"/actuator/health/readiness","port":8080},"initialDel

Deploy checkout with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has checkout 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 chartcheckout is pinned at v0.11.29 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