tacgui

by SVTECH-NMAA

Helm chartv0.7.3App 1.16.0Verified publisher

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.basePathGlobal base path for the application""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override tacgui.fullname""
namespaceOverrideString to partially override tacgui.namespace""
fullnameOverrideString to fully override adminer.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainDefault Kubernetes cluster domaincluster.local
extraDeployArray of extra objects to deploy with the release[]

Tacgui Image parameters

NameDescriptionValue
image.registryTacgui image registryghcr.io
image.repositoryTacgui image repositorysvtechnmaa/svtech_tacacsgui
image.tagTacgui image tag (immutable tags are recommended)v1.0.1
image.pullPolicyTacgui image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an arrayghcr-pull-secret
image.pullAccountSpecify docker-registry user login name""
image.pullPasswordSpecify docker-registry user login token""
image.debugSpecify if debug logs should be enabledfalse
architectureTacgui architecture (standalone or replication)standalone
configurationTacgui Configuration. Auto-generated based on other parameters when not specified""
configurationConfigMapConfigMap with the Tacgui configuration files. The value is evaluated as a template.""
existingConfigmapName of existing ConfigMap with Tacgui configuration""
extraStartupArgsExtra default startup args""
initConfigsto initialize the configuration filestrue
commandOverride default container command on Tacgui container(s) (useful when using custom images)[]
argsOverride default container args on Tacgui container(s) (useful when using custom images)[]
lifecycleHooksfor the Tacgui container(s) to automate configuration before or after startup{}
hostAliasesAdd deployment host aliases[]
configurationTacgui configuration to be injected as ConfigMap""

Tacgui Deployment parameters

NameDescriptionValue
replicaCountDesired number of cluster nodes1
updateStrategy.typeupdateStrategy for Tacgui Master StatefulSetRollingUpdate
podLabelsExtra labels for Tacgui pods{}
podAnnotationsAnnotations for Tacgui pods{}
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set.""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set.[]
affinityAffinity for Tacgui pods assignment{}
nodeSelectorNode labels for Tacgui pods assignment{}
tolerationsTolerations for Tacgui pods assignment[]
topologySpreadConstraintsTopology Spread Constraints for Tacgui pods assignment{}
priorityClassNamePriority class for Tacgui pods assignment""
schedulerNameName of the k8s scheduler (other than default)""
podManagementPolicypodManagementPolicy to manage scaling operation of Tacgui pods""
containerPorts.tacplusTacplus Engine container port49
containerPorts.webuiTacgui WebUI container port4443
podSecurityContext.enabledEnable security context for Tacgui podsfalse
podSecurityContext.fsGroupGroup ID for the mounted volumes' filesystem101
podSecurityContext.runAsUserUser ID for the mounted volumes' filesystem101
containerSecurityContext.enabledTacgui container securityContextfalse
containerSecurityContext.runAsUserUser ID for the Tacgui container101
containerSecurityContext.capabilities.addcapabilities for the Tacgui container["SYS_PTRACE"]
containerSecurityContext.runAsNonRootSet Controller container's Security Context runAsNonRoottrue
resources.limitsThe resources limits for Tacgui containers{}
resources.requestsThe requested resources for Tacgui containers{}
revisionHistoryLimitMaximum number of revisions that will be maintained in the Deployment3
extraVolumesOptionally specify extra list of additional volumes to the Tacgui pod(s)[]
extraVolumeMountsOptionally specify extra list of additional volumeMounts for the Tacgui container(s)[]
initContainersAdd additional init containers for the Tacgui pod(s)[]
sidecarsAdd additional sidecar containers for the Tacgui pod(s)[]

persistentVolumeClaim Parameters

NameDescriptionValue
persistentVolumeClaim.enabledEnable persistentVolumeClaim on Tacgui replicas using a PersistentVolumeClaimfalse
persistentVolumeClaim.existingClaimName of an existing PersistentVolumeClaim for Tacgui primary replicas""
persistentVolumeClaim.subPathSubdirectory of the volume to mount at""
persistentVolumeClaim.mountPathPath to mount the volume at""
persistentVolumeClaim.storageClassNameTacgui persistent volume storage Class""
persistentVolumeClaim.volumeModeTacgui persistent volume modeFilesystem
persistentVolumeClaim.volumeNameTacgui persistent volume name""
persistentVolumeClaim.annotationsTacgui persistent volume claim annotations{}
persistentVolumeClaim.accessModesTacgui persistent volume access Modes["ReadWriteMany"]
persistentVolumeClaim.sizeTacgui persistent volume claim size to request2Gi
persistentVolumeClaim.selectorSelector 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.

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