sorry-cypress

by Helm

Helm chartv1.20.0App 2.5.11

A Helm chart for Sorry Cypress

About this chart

Sorry Cypress (Helm Chart)

Get Repo Info

$ helm repo add sorry-cypress https://sorry-cypress.github.io/charts
$ helm repo update

See helm repo for command documentation.

Install Chart

# Helm 3
$ helm install [RELEASE_NAME] sorry-cypress/sorry-cypress [flags]

See helm install for command documentation.

Uninstall Chart

# Helm 3
$ helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrade Chart

Upgrade the chart deployment using:

# Helm 3
$ helm upgrade [RELEASE_NAME] sorry-cypress/sorry-cypress [flags]

See helm upgrade for command documentation.

Configuration

The following table lists the configurable parameters of the sorry-cypress chart and their default values.

Helm Chart

https://sorry-cypress.dev/api#configuration

ParameterDescriptionDefault
.fullnameOverrideAllows you to override the name of the chart.``
imagePullSecretsAn array of imagePullSecrets used to download images from a private registry.[]

API service

https://sorry-cypress.dev/api#configuration

ParameterDescriptionDefault
api.image.repositoryImage repositoryagoldis/sorry-cypress-api
api.image.tagImage tag``
api.image.pullPolicyImage pull policyAlways
api.enabledWhether to deploy the API servicetrue
api.resourcesResources to initialize the container{}
api.securityContextPrivilege and access control for the container{}
api.podAnnotationsSet annotations for pods{}
api.priorityClassNameName of the existing priority class to be used by api pod(s)""
api.podLabelsSet additional labels for pods{}
api.affinitySet affinity for pods{}
api.nodeSelectorSet node selector for pods{}
api.tolerationsSet tolerations for pods[]
api.service.portKubernetes service port4000
api.readinessProbe.enabledEnables a readiness probe for the podfalse
api.readinessProbe.periodSecondsHow often (in seconds) to perform the probe.5
api.readinessProbe.timeoutSecondsNumber of seconds after which the probe times out.3
api.readinessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.2
api.readinessProbe.failureThresholdWhen a probe fails, Kubernetes will try failureThreshold times before giving up.5
api.ingress.ingressClassNameThe IngressClass that should be used to implement this Ingressnginx
api.ingress.labelsIngress labels{}
api.ingress.annotationsIngress annotations{}
api.ingress.hosts[0].hostHostname to the service installationapi.chart-example.local
api.ingress.hosts[0].pathRoot path to the service installation/
api.ingress.tlsIngress secrets for TLS certificates[]
api.initContainersAllows you to define init container(s) for the api pod[]
api.enableApolloPlaygroundAllows you to enable or disable Apollo Playground landing pagefalse
api.pageItemsLimitAllows you to set the API PAGE_ITEMS_LIMIT variable10
api.extraEnvAdditional environment variables for the API container[]

Dashboard service

https://sorry-cypress.dev/dashboard#configuration

ParameterDescriptionDefault
dashboard.image.repositoryImage repositoryagoldis/sorry-cypress-dashboard
dashboard.image.tagImage tag``
dashboard.image.pullPolicyImage pull policyAlways
dashboard.enabledWhether to deploy the Dashboard servicetrue
dashboard.resourcesResources to initialize the container{}
dashboard.securityContextPrivilege and access control for the container{}
dashboard.environmentVariables.ciUrlSet the CI_URL optional environment variable to add a link to your CI tool""
dashboard.environmentVariables.graphQlClientCredentialsSet the GRAPHQL_CLIENT_CREDENTIALS environment variable to configure the API service client credentials.""
dashboard.environmentVariables.graphQlSchemaUrlSet the GRAPHQL_SCHEMA_URL environment variable to configure the URL of API service.""
dashboard.podAnnotationsSet annotations for pods{}
dashboard.priorityClassNameName of the existing priority class to be used by dashboard pod(s)""
dashboard.podLabelsSet additional labels for pods{}
dashboard.affinitySet affinity for pods{}
dashboard.nodeSelectorSet node selector for pods{}
dashboard.tolerationsSet tolerations for pods[]
dashboard.service.portKubernetes service port4000
dashboard.ingress.enabledFlag to define if the dashboard service ingress is enabledtrue
dashboard.ingress.ingressClassNameThe IngressClass that should be used to implement this Ingressnginx
dashboard.ingress.labelsIngress labels{}
dashboard.ingress.annotationsIngress annotations{}
dashboard.ingress.hosts[0].hostHostname to the service installationdashboard.chart-example.local
dashboard.ingress.hosts[0].pathRoot path to the service installation/
dashboard.ingress.tlsIngress secrets for TLS certificates[]
dashboard.initContainersAllows you to define init container(s) for the dashboard pod[]
dashboard.extraEnvAdditional environment variables for the Dashboard container[]

Director service

https://sorry-cypress.dev/director/configuration

ParameterDescriptionDefault
director.serviceAccount.nameService account to be assumed by the director~
director.serviceAccount.createSet to c

Deploy sorry-cypress with OpenTenant

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