app-full

by synkube

Helm chartv1.0.0App 1.0.0Apache-2.0Verified publisher

Complete application chart bundling workloads, namespace resources, and cluster resources

About this chart

app-full

Complete application chart bundling workloads, namespace resources, and cluster resources.

Overview

app-full combines three charts into one:

ComponentPurposeDefault
app-starterWorkloads (Deployment, Service, Ingress)Always enabled
app-extensionsNamespace resources (Secrets, Roles, PVCs)Disabled
platform-extensionsCluster resources (ClusterRoles, Webhooks)Disabled

Install

# From OCI registry
helm install my-app oci://ghcr.io/synkube/charts/app-full -f values.yaml

# From Helm repository
helm repo add synkube https://synkube.github.io/charts
helm install my-app synkube/app-full -f values.yaml

Quick Examples

Simple Application (app-starter only)

app-starter:
  image:
    repository: myorg/myapp
    tag: v1.0.0
  container:
    ports:
      - name: http
        containerPort: 8080
  service:
    ports:
      - port: 80
        targetPort: 8080
        name: http
  ingress:
    enabled: true
    className: traefik
    hosts:
      - host: myapp.example.com
        paths: ["/"]

Application with Secrets & RBAC (+ app-extensions)

app-starter:
  image:
    repository: myorg/api-server
    tag: v2.1.0
  container:
    ports:
      - name: http
        containerPort: 8080
    env:
      - name: DATABASE_URL
        valueFrom:
          secretKeyRef:
            name: api-secrets
            key: database-url
      - name: REDIS_URL
        valueFrom:
          secretKeyRef:
            name: api-secrets
            key: redis-url
  serviceAccount:
    create: true
    name: api-server

app-extensions:
  enabled: true

  # Sync secrets from external provider (Vault, AWS SM, Infisical, etc.)
  externalSecrets:
    api-secrets:
      refreshInterval: 1h
      secretStoreRef:
        name: infisical       # Your ClusterSecretStore
        kind: ClusterSecretStore
      target:
        name: api-secrets
        creationPolicy: Owner
      data:
        - secretKey: database-url
          remoteRef:
            key: /prod/api/database-url
        - secretKey: redis-url
          remoteRef:
            key: /prod/api/redis-url
        - secretKey: api-key
          remoteRef:
            key: /prod/api/api-key

  # Namespace-scoped RBAC for the app
  roles:
    api-server:
      rules:
        - apiGroups: [""]
          resources: [secrets, configmaps]
          verbs: [get, list, watch]
        - apiGroups: [""]
          resources: [pods]
          verbs: [get, list]

  roleBindings:
    api-server:
      subjects:
        - kind: ServiceAccount
          name: api-server
      roleRef:
        kind: Role
        name: api-server
        apiGroup: rbac.authorization.k8s.io

Platform Service with ClusterRole (+ platform-extensions)

app-starter:
  image:
    repository: ghcr.io/gethomepage/homepage
    tag: v1.2.0
  serviceAccount:
    create: true
    name: homepage

platform-extensions:
  enabled: true
  clusterRoles:
    homepage:
      rules:
        - apiGroups: [""]
          resources: [namespaces, pods, services]
          verbs: [get, list]
        - apiGroups: [networking.k8s.io]
          resources: [ingresses]
          verbs: [get, list]
  clusterRoleBindings:
    homepage:
      subjects:
        - kind: ServiceAccount
          name: homepage
          namespace: '{{ .Release.Namespace }}'
      roleRef:
        kind: ClusterRole
        name: homepage

Component Documentation

Deploy app-full with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has app-full 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 chartapp-full is pinned at v1.0.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