prism

by djcass44

Helm chartv0.3.1App 4fdcff7d3870c28e5f024b6947cb552d4b956ee2Verified publisher

Microservice for caching project dependencies

About this chart

Prism

Prism is an application designed for caching project dependencies.

TL;DR

$ helm repo add av1o https://av1o.gitlab.io/charts
$ helm install prism av1o/prism

Introduction

This chart bootstraps a deployment of Prism on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.12+
  • Helm 3

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release av1o/prism

The command deploys Prism on the Kubernetes cluster in the default configuration.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

Parameters

The following table lists the configurable parameters of the Prism chart, and their default values. See values.yaml for extended configuration and options.

ParameterDescriptionDefault
replicaCountNumber of pods to run1
image.registryDocker image registryregistry.gitlab.com
image.repositoryDocker image nameav1o/go-prism
image.pullPolicyDocker image pull policyIfNotPresent
image.tagDocker image tag${CHART_VERSION}
imagePullSecretsSpecify Image pull secrets[]
podAnnotationsMap of annotations to add to the podsSee values.yaml
podSecurityContextMap of security context to add to the podSee values.yaml
securityContextMap of security context to add to the containerSee values.yaml
service.typeService typeClusterIP
configPrism custom configSee values.yaml
backend.s3.enabledEnables the S3 storage backendfalse
backend.s3.endpointOverride the S3 endpointhttps://s3.amazonaws.com
backend.s3.regionSet the S3 regionus-west-1
backend.s3.bucketSet the S3 bucket name``
backend.s3.pathStyleWhether to use S3 domain or path style. Path style is useful in non-AWS S3 deployments (e.g. Minio).false

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Deploy prism with OpenTenant

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