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
| Name | Url | |
|---|---|---|
| KvalitetsIT | [email protected] | https://github.com/KvalitetsIT/helm-repo |
Source Code
- https://github.com/KvalitetsIT/helm-tenant-chart
- https://github.com/KvalitetsIT/helm-tenant-chart/tree/main/charts/project
Requirements
| Repository | Name | Version |
|---|---|---|
| https://raw.githubusercontent.com/KvalitetsIT/helm-repo/master/ | templates | 2.2.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| tenantName | string | "" | Injected by the tenant chart. Name of the tenant. |
| projectName | string | "" | Injected by the tenant chart. Name of the project. |
| tenantAppProjectName | string | "" | Injected by the tenant chart. Name of the tenant AppProject. |
| argoNamespace | string | argocd | Injected by the tenant chart. Namespace where ArgoCD is installed. |
| global | object | See values.yaml | Injected 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.tenantName | string | "" | Name of the tenant. |
| global.tenantNamespace | string | "" | Tenant namespace (where the tenant's project Applications live). |
| global.projectName | string | "" | Name of the project. |
| global.projectNamespace | string | "" | Project namespace (where this project's workloads live). |
| namespace.name | string | "" | 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.labels | object | {} | Optional. Additional labels for the project Namespace. |
| namespace.annotations | object | {} | Optional. Additional annotations for the project Namespace. |
| appProject | object | See values.yaml | Configuration 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.sourceRepos | list | [] | 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.clusterResourceWhitelist | list | [] | Optional. Cluster-scoped resource kinds allowed in the AppProject. Empty by default — only add entries when projects need to manage cluster-scoped resources. |
| appProject.namespaceResourceWhitelist | list | [{"group":"*","kind":"*"}] | Optional. Kubernetes resource kinds allowed in the project namespace. Wildcard allows all — tighten per project as needed. |
| appProject.namespaceResourceBlacklist | list | See values.yaml | Optional. Kubernetes resource kinds explicitly denied in the project namespace. Prevents tenants from managing resources that are owned by the tenant chart. |
| appProject.roles | object | See values.yaml | Optional. 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.viewer | object | {"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.groups | list | ["{tenant}-viewer"] | Optional. AD/OIDC groups granted the viewer role. |
| appProject.roles.viewer.policies | list | ["applications, get, {project}/{tenantNamespace}/*, allow","logs, get, {project}/*, allow"] | Optional. ArgoCD RBAC policy strings for the viewer role. |
| appProject.roles.developer | object | {"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.groups | list | ["{tenant}-developer"] | Optional. AD/OIDC groups granted the developer role. |
| appProject.roles.developer.policies | list | ["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. |
| roleBindings | object | {} | 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. |
| extraRoles | object | {} | 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. |
| application | object | See values.yaml | Configuration 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.repoURL | string | "" | Required. Git repository URL for the app-of-apps. Injected by the tenant chart. |
| application.source.path | string | "" | Required. Path to the app-of-apps directory. Injected by the tenant chart. |
| application.source.targetRevision | string | "" | Required. Git branch, tag, or commit SHA. Injected by the tenant chart. |
| application.source.helm.valueFiles | list | See values.yaml | Optional. Helm value files passed to the app-of-apps Application. |
| application.syncPolicy | object | {"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.enabled | bool | true | Optional. Enable or disable the ResourceQuota resource. |
| resourceQuota.spec | object | {} | 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.enabled | bool | false | Optional. Enable or disable the LimitRange resource. |
| limitRange.spec | object | {"limits":[{"default":{"cpu":"50m","memory":"64Mi"},"defaultRequest":{"cpu":"25m","memory":"32Mi"},"type":"Container"}]} | Optional. LimitRange limits spec. See Kubernetes LimitRange. |
| waypoint | object | See values.yaml | Optional. 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.enabled | bool | true | Optional. Enable or disable all Istio Waypoint resources. |
| waypoint.resources | object | See values.yaml | Optional. 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-options | object | See values.yaml | ConfigMap passed to the Gateway parametersRef. Controls topology spread, HPA, and PDB for waypoint pods. |
| waypoint.resources.waypoint | object | See values.yaml | Istio Waypoint Gateway resource. |
| waypoint.networkPolicies | object | See values.yaml | Optional. Map of NetworkPolicy resources to render when waypoint.enabled is true. Each key becomes the NetworkPolicy name. Rendered via templates.networkPolicy. |
| waypoint.networkPolicies.waypoint | object | See values.yaml | NetworkPolicy for waypoint pods. Allows HBONE ingress, Prometheus scraping, and egress to istiod, and same-namespace pods. |
| waypoint.networkPolicies.ingressgateway-acme-solver | object | See values.yaml | NetworkPolicy allowing ingressgateway to reach cert-manager ACME HTTP-01 solver pods. |
| defaultNetworkPolicies | object | See values.yaml | Optional. 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.enabled | bool | true | Optional. Enable or disable all default network policies. |
| defaultNetworkPolicies.networkPolicies | object | See values.yaml | Optional. 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-deny | object | See values.yaml | Default deny-all policy. Blocks all ingress and egress by default. |
| defaultNetworkPolicies.networkPolicies.allow-within-namespace | object | See values.yaml | Allow pod-to-pod communication within the same namespace. |
| defaultNetworkPolicies.networkPolicies.allow-kube-dns | object | See values.yaml | Fallback DNS egress policy used when cilium.io/v2 is not available. Ignored when Cilium is present — ciliumNetworkPolicies.allow-kube-dns is used instead. |
| defaultNetworkPolicies.ciliumNetworkPolicies | object | See values.yaml | Optional. 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-dns | object | See values.yaml | DNS egress policy to kube-dns. Rendered as a CiliumNetworkPolicy when Cilium is available, falls back to networkPolicies.allow-kube-dns otherwise. |
| auditlog | object | See values.yaml | Optional. 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.enabled | bool | false | Enable or disable the audit log ConfigMap. |
| auditlog.tenantName | string | "" | Optional. Name of the tenant, injected by the tenant chart. Used in the Vector pipeline for metadata enrichment and validation. |
| auditlog.config.httpPort | int | 9001 | Port 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartproject is pinned at v4.2.0 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