secrets-store-reader
A Helm chart for secrets-store-reader by AppsCode
About this chart
Secrets Store Reader api server
Secrets Store Reader api server by AppsCode - Secrets Store Reader api server for ByteBuilders
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/secrets-store-reader --version=v2024.9.30
$ helm upgrade -i secrets-store-reader appscode/secrets-store-reader -n kubevault --create-namespace --version=v2024.9.30
Introduction
This chart deploys a Secrets Store Reader api server on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.16+
Installing the Chart
To install/upgrade the chart with the release name secrets-store-reader:
$ helm upgrade -i secrets-store-reader appscode/secrets-store-reader -n kubevault --create-namespace --version=v2024.9.30
The command deploys a Secrets Store Reader api server 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 secrets-store-reader:
$ helm uninstall secrets-store-reader -n kubevault
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 secrets-store-reader chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| replicaCount | Number of UI Server replicas to create (only 1 is supported) | 1 |
| registryFQDN | Docker registry fqdn used to pull docker images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| image.registry | Docker registry used to pull operator image | kubevault |
| image.repository | Name of operator container image | secrets-store-reader |
| image.tag | Operator container image tag | "" |
| image.resources | Compute Resources required by the operator container | {} |
| image.securityContext | Security options the operator container should run with | {} |
| imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/stash \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1 | [] |
| imagePullPolicy | Container image pull policy | Always |
| criticalAddon | If true, installs Stash operator as critical addon | false |
| logLevel | Log level for operator | 3 |
| annotations | Annotations applied to operator deployment | {} |
| podAnnotations | Annotations passed to operator pod(s). | {} |
| nodeSelector | Node labels for pod assignment | {} |
| tolerations | Tolerations for pod assignment | [] |
| affinity | Affinity rules for pod assignment | {} |
| podSecurityContext | Security options the operator pod should run with. | {"fsGroup":65535} |
| serviceAccount.create | Specifies whether a service account should be created | true |
| serviceAccount.annotations | Annotations to add to the service account | {} |
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | |
| apiserver.groupPriorityMinimum | The minimum priority the webhook api group should have at least. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L58-L64 for more information on proper values of this field. | 10000 |
| apiserver.versionPriority | The ordering of the webhook api inside of the group. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L66-L70 for more information on proper values of this field | 15 |
| apiserver.useKubeapiserverFqdnForAks | If true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true) | true |
| apiserver.healthcheck.enabled | If true, enables the readiness and liveliness probes for the operator pod. | false |
| apiserver.servingCerts.generate | If true, generates on install/upgrade the certs that allow the kube-apiserver (and potentially ServiceMonitor) to authenticate operators pods. Otherwise specify certs in apiserver.servingCerts.{caCrt, serverCrt, serverKey}. See also: [example terraform]( |
Deploy secrets-store-reader with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has secrets-store-reader 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 chartsecrets-store-reader is pinned at v2024.9.30 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