stash-community
Free community features for Stash by AppsCode
About this chart
Stash Community
Stash Community by AppsCode - Free community features for Stash by AppsCode
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/stash-community --version=v0.42.0
$ helm upgrade -i stash-community appscode/stash-community -n stash --create-namespace --version=v0.42.0
Introduction
This chart deploys a Stash community 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-community:
$ helm upgrade -i stash-community appscode/stash-community -n stash --create-namespace --version=v0.42.0
The command deploys a Stash community 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-community:
$ helm uninstall stash-community -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-community 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 \ --set-file license=/path/to/license/file or helm install appscode/stash \ --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 |
| operator.registry | Docker registry used to pull operator image | stashed |
| operator.repository | Name of operator container image | stash |
| 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,"seccompProfile":{"type":"RuntimeDefault"}} |
| crdInstaller.nodeSelector | Node labels for pod assignment | {"kubernetes.io/os":"linux"} |
| crdInstaller.tolerations | Tolerations for pod assignment | [] |
| crdInstaller.affinity | Affinity rules for pod assignment | {} |
Deploy stash-community with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has stash-community 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-community 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