project

by KvalitetsIT

Helm chartv4.2.0App 4.2.0Verified publisher

Deploys project infrastructure (Namespace, AppProject, app-of-apps Application, ResourceQuota, LimitRange, NetworkPolicy, Istio Waypoint) for a tenant project

About this chart

project

Deploys project infrastructure (Namespace, AppProject, app-of-apps Application, ResourceQuota, LimitRange, NetworkPolicy, Istio Waypoint) for a tenant project

Homepage: https://github.com/KvalitetsIT

Maintainers

NameEmailUrl
KvalitetsIT[email protected]https://github.com/KvalitetsIT/helm-repo

Source Code

Requirements

RepositoryNameVersion
https://raw.githubusercontent.com/KvalitetsIT/helm-repo/master/templates2.2.0

Values

KeyTypeDefaultDescription
tenantNamestring""Injected by the tenant chart. Name of the tenant.
projectNamestring""Injected by the tenant chart. Name of the project.
tenantAppProjectNamestring""Injected by the tenant chart. Name of the tenant AppProject.
argoNamespacestringargocdInjected by the tenant chart. Namespace where ArgoCD is installed.
globalobjectSee values.yamlInjected by the tenant chart per project. Helm globals shared with the templates subchart, so templates.* resources can reference identity and namespaces via tpl, e.g. {{ .Values.global.tenantNamespace }}. Set manually only for a standalone install.
global.tenantNamestring""Name of the tenant.
global.tenantNamespacestring""Tenant namespace (where the tenant's project Applications live).
global.projectNamestring""Name of the project.
global.projectNamespacestring""Project namespace (where this project's workloads live).
namespace.namestring""Optional. Override the project namespace name. Defaults to -. Use this to decouple the physical namespace from the default naming convention, e.g. set to "acme" instead of "acme-acme".
namespace.labelsobject{}Optional. Additional labels for the project Namespace.
namespace.annotationsobject{}Optional. Additional annotations for the project Namespace.
appProjectobjectSee values.yamlConfiguration for the per-project AppProject (<tenant>-<project>). Supports {tenant}, {tenantNamespace}, and {project} placeholder substitution in descriptions, groups, and policies. Override per project via projects.<name>.appProject in the tenant chart.
appProject.sourceReposlist[]Optional. Additional source repositories allowed in the AppProject. application.source.repoURL and https://raw.githubusercontent.com/KvalitetsIT/helm-repo/master/ are always included automatically. Entries with an oci:// prefix are added twice — once with the prefix and once without — as a workaround for ArgoCD's inconsistent OCI URL matching against sourceRepos. Override or extend per project via projects.<name>.appProject.sourceRepos in the tenant chart.
appProject.clusterResourceWhitelistlist[]Optional. Cluster-scoped resource kinds allowed in the AppProject. Empty by default — only add entries when projects need to manage cluster-scoped resources.
appProject.namespaceResourceWhitelistlist[{"group":"*","kind":"*"}]Optional. Kubernetes resource kinds allowed in the project namespace. Wildcard allows all — tighten per project as needed.
appProject.namespaceResourceBlacklistlistSee values.yamlOptional. Kubernetes resource kinds explicitly denied in the project namespace. Prevents tenants from managing resources that are owned by the tenant chart.
appProject.rolesobjectSee values.yamlOptional. RBAC roles for the AppProject. Supports {tenant}, {tenantNamespace}, and {project} placeholder substitution. {tenant} is the tenant identity (use in descriptions and group names). {tenantNamespace} is the namespace Applications actually live in - use it for the namespace segment of policy strings, since it can differ from {tenant} when tenantNamespace.name is overridden. Override or extend per project via projects.<name>.appProject.roles in the tenant chart.
appProject.roles.viewerobject{"description":"Read-only access to {project} workloads","groups":["{tenant}-viewer"],"policies":["applications, get, {project}/{tenantNamespace}/*, allow","logs, get, {project}/*, allow"]}Optional. Read-only role — grants view and log access to project workloads.
appProject.roles.viewer.groupslist["{tenant}-viewer"]Optional. AD/OIDC groups granted the viewer role.
appProject.roles.viewer.policieslist["applications, get, {project}/{tenantNamespace}/*, allow","logs, get, {project}/*, allow"]Optional. ArgoCD RBAC policy strings for the viewer role.
appProject.roles.developerobject{"description":"Can sync and all actions on {project} workloads","groups":["{tenant}-developer"],"policies":["applications, get, {project}/{tenantNamespace}/*, allow","logs, get, {project}/*, allow","applications, update, {project}/{tenantNamespace}/*, allow","applications, update/*, {project}/{tenantNamespace}/*, allow","applications, delete, {project}/{tenantNamespace}/*, allow","applications, delete/*, {project}/{tenantNamespace}/*, allow","applications, sync, {project}/{tenantNamespace}/*, allow","applications, action/*, {project}/{tenantNamespace}/*, allow"]}Optional. Developer role — grants full sync and action access to project workloads.
appProject.roles.developer.groupslist["{tenant}-developer"]Optional. AD/OIDC groups granted the developer role.
appProject.roles.developer.policieslist["applications, get, {project}/{tenantNamespace}/*, allow","logs, get, {project}/*, allow","applications, update, {project}/{tenantNamespace}/*, allow","applications, update/*, {project}/{tenantNamespace}/*, allow","applications, delete, {project}/{tenantNamespace}/*, allow","applications, delete/*, {project}/{tenantNamespace}/*, allow","applications, sync, {project}/{tenantNamespace}/*, allow","applications, action/*, {project}/{tenantNamespace}/*, allow"]Optional. ArgoCD RBAC policy strings for the developer role.
roleBindingsobject{}Optional. Kubernetes RBAC in the project namespace, so the appProject.roles groups can use kubectl and k9s. Maps a role name from appProject.roles to the ClusterRoles bound to its groups. Creates one RoleBinding per ClusterRole, named after the ClusterRole, with the groups of every role that lists it. The ClusterRoles are owned by the platform and must exist in the cluster. Requires OIDC login to the Kubernetes API. Example: {developer: [tenant-view, tenant-developer], viewer: [tenant-view]}. Set for all projects via projectDefaults.roleBindings in the tenant chart.
extraRolesobject{}Optional. Extra permissions for a single project on top of roleBindings. Maps a role name from appProject.roles to Role rules. Creates a Role <role>-extra in the project namespace and binds it to the groups of that role. Example: {developer: {rules: [{apiGroups: [""], resources: ["pods/portforward"], verbs: ["create"]}]}}. Set per project via projects.<name>.extraRoles in the tenant chart.
applicationobjectSee values.yamlConfiguration for the app-of-apps Application (<project>-apps). source.repoURL, source.path, and source.targetRevision are injected by the tenant chart. Override per project via projects.<name>.application in the tenant chart.
application.source.repoURLstring""Required. Git repository URL for the app-of-apps. Injected by the tenant chart.
application.source.pathstring""Required. Path to the app-of-apps directory. Injected by the tenant chart.
application.source.targetRevisionstring""Required. Git branch, tag, or commit SHA. Injected by the tenant chart.
application.source.helm.valueFileslistSee values.yamlOptional. Helm value files passed to the app-of-apps Application.
application.syncPolicyobject{"automated":{"enabled":false},"syncOptions":["PruneLast=true"]}Optional. Sync policy for the <project>-apps app-of-apps. Auto-sync is off (enabled: false) so manual child-app overrides survive commits; sync the parent manually to roll out child-app changes. enabled is declared so a UI toggle shows as drift (ArgoCD 3.1+).
resourceQuota.enabledbooltrueOptional. Enable or disable the ResourceQuota resource.
resourceQuota.specobject{}Required when enabled. ResourceQuota hard limits. Set via projectDefaults.resourceQuota.spec in the tenant chart. limits.memory and requests.storage are required. limits.cpu is optional: if set, Kubernetes rejects containers without a CPU limit, so they must set one or get it from limitRange. See Kubernetes ResourceQuota.
limitRange.enabledboolfalseOptional. Enable or disable the LimitRange resource.
limitRange.specobject{"limits":[{"default":{"cpu":"50m","memory":"64Mi"},"defaultRequest":{"cpu":"25m","memory":"32Mi"},"type":"Container"}]}Optional. LimitRange limits spec. See Kubernetes LimitRange.
waypointobjectSee values.yamlOptional. Configuration for the Istio Waypoint proxy resources deployed in the project namespace. When enabled, renders all entries in waypoint.resources and waypoint.networkPolicies. Disable per project via projects.<name>.waypoint.enabled: false in the tenant chart.
waypoint.enabledbooltrueOptional. Enable or disable all Istio Waypoint resources.
waypoint.resourcesobjectSee values.yamlOptional. Map of arbitrary Kubernetes resources to render when waypoint.enabled is true. Each key becomes the default metadata.name. Rendered via templates.resource.
waypoint.resources.waypoint-optionsobjectSee values.yamlConfigMap passed to the Gateway parametersRef. Controls topology spread, HPA, and PDB for waypoint pods.
waypoint.resources.waypointobjectSee values.yamlIstio Waypoint Gateway resource.
waypoint.networkPoliciesobjectSee values.yamlOptional. Map of NetworkPolicy resources to render when waypoint.enabled is true. Each key becomes the NetworkPolicy name. Rendered via templates.networkPolicy.
waypoint.networkPolicies.waypointobjectSee values.yamlNetworkPolicy for waypoint pods. Allows HBONE ingress, Prometheus scraping, and egress to istiod, and same-namespace pods.
waypoint.networkPolicies.ingressgateway-acme-solverobjectSee values.yamlNetworkPolicy allowing ingressgateway to reach cert-manager ACME HTTP-01 solver pods.
defaultNetworkPoliciesobjectSee values.yamlOptional. Default network policies deployed in every project namespace. Rendered directly by the project chart via the templates named-template defines. Disable the whole bundle with enabled: false, or opt out of individual entries with enabled: false on the entry.
defaultNetworkPolicies.enabledbooltrueOptional. Enable or disable all default network policies.
defaultNetworkPolicies.networkPoliciesobjectSee values.yamlOptional. Default NetworkPolicy resources. Each key becomes the resource name. Keys that also exist in ciliumNetworkPolicies are treated as fallbacks: rendered only when cilium.io/v2 is not available.
defaultNetworkPolicies.networkPolicies.default-denyobjectSee values.yamlDefault deny-all policy. Blocks all ingress and egress by default.
defaultNetworkPolicies.networkPolicies.allow-within-namespaceobjectSee values.yamlAllow pod-to-pod communication within the same namespace.
defaultNetworkPolicies.networkPolicies.allow-kube-dnsobjectSee values.yamlFallback DNS egress policy used when cilium.io/v2 is not available. Ignored when Cilium is present — ciliumNetworkPolicies.allow-kube-dns is used instead.
defaultNetworkPolicies.ciliumNetworkPoliciesobjectSee values.yamlOptional. Default CiliumNetworkPolicy resources. Each key becomes the resource name. When cilium.io/v2 is not available, the matching networkPolicies entry is rendered instead.
defaultNetworkPolicies.ciliumNetworkPolicies.allow-kube-dnsobjectSee values.yamlDNS egress policy to kube-dns. Rendered as a CiliumNetworkPolicy when Cilium is available, falls back to networkPolicies.allow-kube-dns otherwise.
auditlogobjectSee values.yamlOptional. Audit log sidecar configuration. When enabled, renders a vector-audit-rules ConfigMap containing the complete Vector pipeline config. The kitapp sidecar mounts this ConfigMap by the hardcoded name vector-audit-rules. Set via projectDefaults.auditlog in the tenant chart to apply the same rules to all projects.
auditlog.enabledboolfalseEnable or disable the audit log ConfigMap.
auditlog.tenantNamestring""Optional. Name of the tenant, injected by the tenant chart. Used in the Vector pipeline for metadata enrichment and validation.
auditlog.config.httpPortint9001Port the Vector HTTP source listens on. Must match the kitapp audit.config.httpPo

Deploy project with OpenTenant

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