stash-enterprise
Enterprise features for Stash by AppsCode
About this chart
Stash Enterprise
Stash Enterprise by AppsCode - Enterprise features for Stash by AppsCode
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/stash-enterprise --version=v0.42.0
$ helm upgrade -i stash-enterprise appscode/stash-enterprise -n stash --create-namespace --version=v0.42.0
Introduction
This chart deploys a Stash Enterprise operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.14+
Installing the Chart
To install/upgrade the chart with the release name stash-enterprise:
$ helm upgrade -i stash-enterprise appscode/stash-enterprise -n stash --create-namespace --version=v0.42.0
The command deploys a Stash Enterprise operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the stash-enterprise:
$ helm uninstall stash-enterprise -n stash
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the stash-enterprise chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| replicaCount | Number of stash operator replicas to create (only 1 is supported) | 1 |
| license | License for the product. Get a license by following the steps from here. Example: helm install appscode/stash-enterprise \ --set-file license=/path/to/license/file or helm install appscode/stash-enterprise \ --set license=<license file content> | "" |
| licenseSecretName | Name of Secret with the license as key.txt key | "" |
| licenseApiService | Name of the ApiService to use by the addon to identify the respective service and certificate for license verification request | v1beta1.admission.stash.appscode.com |
| registryFQDN | Docker registry fqdn used to pull Stash related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| taskQueue.enabled | false | |
| taskQueue.maxConcurrentSessions | 10 | |
| operator.registry | Docker registry used to pull operator image | stashed |
| operator.repository | Name of operator container image | stash-enterprise |
| operator.tag | Operator container image tag | "" |
| operator.resources | Compute Resources required by the operator container | {"requests":{"cpu":"100m"}} |
| operator.securityContext | Security options the operator container should run with | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}} |
| crdInstaller.registry | Docker registry of the CRD installer image. By default, it will use the same registry as the operator. | "" |
| crdInstaller.repository | Name of CRD crd installer image. Default stash-crd-installer | stash-crd-installer |
| crdInstaller.tag | Tag of the CRD installer image. By default, it will use the same tag as the operator. | "" |
| crdInstaller.enabled | Use crd-installer job to install the Stash CRDs. Default is true. | true |
| crdInstaller.securityContext | Security options the Prometheus pushgateway container should run with | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfil |
Deploy stash-enterprise with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has stash-enterprise 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartstash-enterprise is pinned at v0.42.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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