tacgui
by SVTECH-NMAA
A Helm chart for Kubernetes
About this chart
Helm chart for Tacgui
Tacgui is a modular developed and distributed under the GNU General Public License.
TL;DR
$ helm install my-release svtechnmaa/svtech_tacacsgui
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release on my-release namespace:
$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release svtechnmaa/svtech_tacacsgui --namespace my-release --create-namespace
These commands deploy Tacgui on the Kubernetes cluster in the default configuration.
Tip: List all releases using
helm list -A
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release --namespace my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.basePath | Global base path for the application | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override tacgui.fullname | "" |
namespaceOverride | String to partially override tacgui.namespace | "" |
fullnameOverride | String to fully override adminer.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
Tacgui Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | Tacgui image registry | ghcr.io |
image.repository | Tacgui image repository | svtechnmaa/svtech_tacacsgui |
image.tag | Tacgui image tag (immutable tags are recommended) | v1.0.1 |
image.pullPolicy | Tacgui image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | ghcr-pull-secret |
image.pullAccount | Specify docker-registry user login name | "" |
image.pullPassword | Specify docker-registry user login token | "" |
image.debug | Specify if debug logs should be enabled | false |
architecture | Tacgui architecture (standalone or replication) | standalone |
configuration | Tacgui Configuration. Auto-generated based on other parameters when not specified | "" |
configurationConfigMap | ConfigMap with the Tacgui configuration files. The value is evaluated as a template. | "" |
existingConfigmap | Name of existing ConfigMap with Tacgui configuration | "" |
extraStartupArgs | Extra default startup args | "" |
initConfigs | to initialize the configuration files | true |
command | Override default container command on Tacgui container(s) (useful when using custom images) | [] |
args | Override default container args on Tacgui container(s) (useful when using custom images) | [] |
lifecycleHooks | for the Tacgui container(s) to automate configuration before or after startup | {} |
hostAliases | Add deployment host aliases | [] |
configuration | Tacgui configuration to be injected as ConfigMap | "" |
Tacgui Deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Desired number of cluster nodes | 1 |
updateStrategy.type | updateStrategy for Tacgui Master StatefulSet | RollingUpdate |
podLabels | Extra labels for Tacgui pods | {} |
podAnnotations | Annotations for Tacgui pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for Tacgui pods assignment | {} |
nodeSelector | Node labels for Tacgui pods assignment | {} |
tolerations | Tolerations for Tacgui pods assignment | [] |
topologySpreadConstraints | Topology Spread Constraints for Tacgui pods assignment | {} |
priorityClassName | Priority class for Tacgui pods assignment | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
podManagementPolicy | podManagementPolicy to manage scaling operation of Tacgui pods | "" |
containerPorts.tacplus | Tacplus Engine container port | 49 |
containerPorts.webui | Tacgui WebUI container port | 4443 |
podSecurityContext.enabled | Enable security context for Tacgui pods | false |
podSecurityContext.fsGroup | Group ID for the mounted volumes' filesystem | 101 |
podSecurityContext.runAsUser | User ID for the mounted volumes' filesystem | 101 |
containerSecurityContext.enabled | Tacgui container securityContext | false |
containerSecurityContext.runAsUser | User ID for the Tacgui container | 101 |
containerSecurityContext.capabilities.add | capabilities for the Tacgui container | ["SYS_PTRACE"] |
containerSecurityContext.runAsNonRoot | Set Controller container's Security Context runAsNonRoot | true |
resources.limits | The resources limits for Tacgui containers | {} |
resources.requests | The requested resources for Tacgui containers | {} |
revisionHistoryLimit | Maximum number of revisions that will be maintained in the Deployment | 3 |
extraVolumes | Optionally specify extra list of additional volumes to the Tacgui pod(s) | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for the Tacgui container(s) | [] |
initContainers | Add additional init containers for the Tacgui pod(s) | [] |
sidecars | Add additional sidecar containers for the Tacgui pod(s) | [] |
persistentVolumeClaim Parameters
| Name | Description | Value |
|---|---|---|
persistentVolumeClaim.enabled | Enable persistentVolumeClaim on Tacgui replicas using a PersistentVolumeClaim | false |
persistentVolumeClaim.existingClaim | Name of an existing PersistentVolumeClaim for Tacgui primary replicas | "" |
persistentVolumeClaim.subPath | Subdirectory of the volume to mount at | "" |
persistentVolumeClaim.mountPath | Path to mount the volume at | "" |
persistentVolumeClaim.storageClassName | Tacgui persistent volume storage Class | "" |
persistentVolumeClaim.volumeMode | Tacgui persistent volume mode | Filesystem |
persistentVolumeClaim.volumeName | Tacgui persistent volume name | "" |
persistentVolumeClaim.annotations | Tacgui persistent volume claim annotations | {} |
persistentVolumeClaim.accessModes | Tacgui persistent volume access Modes | ["ReadWriteMany"] |
persistentVolumeClaim.size | Tacgui persistent volume claim size to request | 2Gi |
persistentVolumeClaim.selector | Selector to match an existing Persistent Volume |
Deploy tacgui with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tacgui 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 charttacgui is pinned at v0.7.3 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