namespace-reader

by VEriK Systems

Helm chartv1.0.3App 1.0.0

Chart to init namespace reader account

About this chart

Namespace Readonly Account Helm Chart

This chart bootstraps a Prometheus Namespace Readonly Account deployment on a Kubernetes Namespace using the Helm package manager.

TL;DR

$ helm repo add verik-charts https://charts.veriksystems.com
$ helm install my-release verik-charts/namespace-reader

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.1.0
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install my-release verik-charts/namespace-reader

The command deploys Redmine on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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

Parameters

Global Parameters

NameDescriptionValue
commonLabels.appcommon app labelnamespace-reader
commonLabels.app.kubernetes.io/namecommon Kubernetes app labelundefined
commonLabels.app.kubernetes.io/componentcommon Kubernetes app component labelundefined
serviceAccount.namename of service accountnamespace-reader
role.rules[0].apiGroupsapi groups rules["*"]
role.rules[0].resourcesresources is applied["*"]
role.rules[0].verbsresources verbs is applied["get","list","watch"]
role.rules[1].apiGroupsapi groups rules[""]
role.rules[1].resourcesresources is applied["pods/portforward"]
role.rules[1].verbsresources verbs is applied["create"]

Deploy namespace-reader with OpenTenant

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

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnamespace-reader is pinned at v1.0.3 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