snowplow-iglu-server

by Snowplow

Helm chartv0.20.0App 0.13.0Verified publisher

A Helm Chart to deploy the Snowplow Iglu Server project

About this chart

snowplow-iglu-server

A Helm Chart to deploy the Snowplow Iglu Server project

Homepage: https://github.com/snowplow-devops/helm-charts

Maintainers

NameEmailUrl
ianarsenault[email protected]https://github.com/ianarsenault

Source Code

Requirements

RepositoryNameVersion
https://snowplow-devops.github.io/helm-chartscloudserviceaccount0.3.0
https://snowplow-devops.github.io/helm-chartsdockerconfigjson0.1.0

Values

KeyTypeDefaultDescription
cloudserviceaccount.aws.roleARNstring""IAM Role ARN to bind to the k8s service account
cloudserviceaccount.deployboolfalseWhether to create a service-account
cloudserviceaccount.gcp.serviceAccountstring""Service Account email to bind to the k8s service account
cloudserviceaccount.namestring"snowplow-iglu-server-service-account"Name of the service-account to create
dockerconfigjson.emailstring""Email address for user of the private repository
dockerconfigjson.namestring"snowplow-iglu-server-dockerhub"Name of the secret to use for the private repository
dockerconfigjson.passwordstring""Password for the private repository
dockerconfigjson.serverstring"https://index.docker.io/v1/"Repository server URL
dockerconfigjson.usernamestring""Username for the private repository
fullnameOverridestring""Overrides the full-name given to the deployment resources (default: .Release.Name)
global.cloudstring""Cloud specific bindings (options: aws, gcp, azure)
global.labelsobject{}
hooks.connectionTimeoutint10Connection timeout in seconds for PostgreSQL connections
hooks.defaultDBNamestring"postgres"Default database name and admin credentials for hooks to use
hooks.deployDBboolfalse
hooks.deployDBUserboolfalse
hooks.deployDBUserGrantsboolfalse
hooks.deployDestroyHooksboolfalse
hooks.deploySetupHooksboolfalseWhether to run the post-deploy setup hooks to create database and user
hooks.destroyDBboolfalse
hooks.destroyDBUserboolfalseWhether to run the pre-delete destroy hooks to drop database and user
hooks.imageobject{"pullPolicy":"Always","repository":"postgres","tag":"15-alpine"}PostgreSQL client image configuration for hooks
hooks.secrets.admin_passwordstring""
hooks.secrets.admin_usernamestring""
service.annotationsobject{}Map of annotations to add to the service.
service.automountServiceAccountTokenboolfalseWhether to mount the service account API token into the Iglu Server pod; set to true only if it needs to call the Kubernetes API
service.aws.targetGroupARNstring""EC2 TargetGroup ARN to bind the service onto
service.config.database.dbnamestring""Postgres database name
service.config.database.hoststring""Postgres database host
service.config.database.portint5432Postgres database port
service.config.database.secrets.passwordstring""
service.config.database.secrets.usernamestring""
service.config.database.typestring"dummy"Can be either 'dummy' (in-memory) or 'postgres'
service.config.envobject{"ACCEPT_LIMITED_USE_LICENSE":"no"}Map of additional environment variables to use within the deployment
service.config.hoconBase64string""Optional Base64 encoded config HOCON (note: will not override above settings)
service.config.javaOptsstring""Optional JAVA_OPTS inputs for the deployed service
service.config.patchesAllowedboolfalseWhether to allow schema patching
service.config.repoServer.hsts.enablebooltrue
service.config.repoServer.idleTimeoutstring"65 seconds"
service.config.repoServer.maxConnectionsint16384
service.config.secrets.superApiKeystring""Lowercase uuidv4 to use as admin apikey of the service (default: auto-generated)
service.containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":false,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}Container security context configuration These defaults follow kubesec.io best practices for hardened deployments. runAsUser is pinned to 65534 (nobody) because the upstream snowplow/iglu-server distroless image declares USER nobody — a non-numeric value that the kubelet cannot verify against runAsNonRoot. Pinning the numeric UID lets runAsNonRoot pass without changing the runtime user. readOnlyRootFilesystem defaults to false so existing deployments are not broken on upgrade; set it to true per-deployment once writable paths (e.g. /tmp) are mounted as emptyDirs.
service.extraVolumeMountslist[]Additional volume mounts to attach to the container. Pair with extraVolumes above.
service.extraVolumeslist[]Additional volumes to attach to the pod spec. Useful with readOnlyRootFilesystem: true — declare writable scratch space (e.g. emptyDir on /tmp) without disabling the hardened default.
service.gcp.deployProxyboolfalseWhether to use CloudSQL Proxy (note: requires GCP service account to be attached)
service.gcp.proxy.image.isRepositoryPublicbooltrueWhether the repository is public
service.gcp.proxy.image.repositorystring"gcr.io/cloudsql-docker/gce-proxy"
service.gcp.proxy.image.tagstring"1.31.2"
service.gcp.proxy.instanceNamestring""Name of the CloudSQL instance
service.gcp.proxy.ipAddressTypesstring"PUBLIC"IP address types to use (options: PUBLIC, PRIVATE, PSC; default: PUBLIC)
service.gcp.proxy.portint38000Port to bind proxy onto
service.gcp.proxy.projectstring""Project where CloudSQL instance is deployed
service.gcp.proxy.regionstring""Region where CloudSQL instance is deployed
service.gcp.proxy.resources.limits.cpustring"100m"
service.gcp.proxy.resources.limits.memorystring"256Mi"
service.gcp.proxy.resources.requests.cpustring"50m"
service.gcp.proxy.resources.requests.memorystring"128Mi"
service.image.isRepositoryPublicbooltrueWhether the repository is public
service.image.pullPolicystring"IfNotPresent"The image pullPolicy to use
service.image.repositorystring"snowplow/iglu-server"
service.image.tagstring"0.12.0-distroless"
service.ingressobject{}A map of ingress rules to deploy
service.ingressIPAllowlistlist[]List of IP addresses to restrict ingress traffic to
service.livenessProbe.failureThresholdint3
service.livenessProbe.initialDelaySecondsint30
service.livenessProbe.periodSecondsint5
service.livenessProbe.timeoutSecondsint5
service.maxReplicasint4
service.minReplicasint1
service.podDisruptionBudget.enabledboolfalseWhether to deploy a PodDisruptionBudget
service.podDisruptionBudget.minAvailableint1Minimum number (or percentage) of pods that must remain available. Mutually exclusive with maxUnavailable.
service.portint8080Port to bind and expose the service on
service.readinessProbe.failureThresholdint3
service.readinessProbe.initialDelaySecondsint5
service.readinessProbe.periodSecondsint5
service.readinessProbe.successThresholdint2
service.readinessProbe.timeoutSecondsint5
service.resources.limits.cpustring"746m"
service.resources.limits.memorystring"900Mi"
service.resources.requests.cpustring"400m"
service.resources.requests.memorystring"512Mi"
service.targetCPUUtilizationPercentageint75
service.terminationGracePeriodSecondsint630
service.tolerationslist[]Allow the scheduler to schedule pods with matching taints more details here: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
service.topologySpreadConstraintsobject{}topologySpreadConstraints control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. more details here: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy snowplow-iglu-server with OpenTenant

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