Skip to content

About

Helm charts for deploying agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

helm-charts

This repository contains two Helm charts that correspond to different cluster registration methods:

1. ciroos Chart

Deploys the Sveltos applier and a Secret containing a Kubeconfig for accessing the Ciroos control cluster. This chart is the Helm equivalent of Method 1: Single Cluster Registration (YAML Manifest).

How it works:

  • Values are generated by Ciroos during the registration process
  • Each chart/value pair registers a single cluster
  • Applied directly to the target cluster

labels/annotations/tolerations/nodeSelector can be specified on both the sveltos-applier Deployment and the Job that runs on helm delete. Here is an example:

sveltosApplierManager:
  annotations:
    foo1: bar1
    foo2: bar2
  labels:
    bar1: foo1
    bar2: foo2
  tolerations:
  - key: dedicated
    value: system
    effect: NoSchedule
  nodeSelector:
    dedicated: workload
    disktype: ssd
uninstaller:
  annotations:
    fooA: barA
    fooB: barB
  labels:
    barA: fooA
    barB: fooB
  tolerations:
  - key: dedicated
    value: system
    effect: NoSchedule
  nodeSelector:
    dedicated: workload
    disktype: ssd

2. installer Chart

Deploys a Ciroos Job that connects to the Ciroos control cluster, registers the cluster, and then deploys the Sveltos applier to the local cluster. This chart is the Helm equivalent of Method 2: Bootstrap YAML (Self-Service Registration).

How it works:

  • Values are generated by Ciroos at the project/organization level (not cluster-specific)
  • The token and most values can be reused across multiple clusters
  • User must specify the cluster name in the values for each cluster
  • The Job handles the registration workflow automatically
  • Self-deletes after successful completion (5 minutes)

Key Difference: The ciroos chart requires pre-registration and fully cluster-specific values generated by Ciroos, while the installer chart uses reusable project-level credentials but still requires the user to provide a unique cluster name for each deployment.

labels/annotations/tolerations/nodeSelector can be specified on both the Job that registers cluster with Ciroos control cluster and the Job that runs on helm delete. Here is an example:

uninstaller:
  annotations:
    fooA: barA
    fooB: barB
  labels:
    barA: fooA
    barB: fooB
  tolerations:
  - key: dedicated
    value: system
    effect: NoSchedule
  nodeSelector:
    dedicated: workload
    disktype: ssd
bootstrap:
  bootstrap:
    env:
      apiUrl: https://qa0.ciroos.ai
      clusterName: my-cluster
  annotations:
    foo1: bar1
    foo2: bar2
  labels:
    bar1: foo1
    bar2: foo2
  tolerations:
  - key: dedicated
    value: system
    effect: NoSchedule
  nodeSelector:
    dedicated: workload
    disktype: ssd
token:
  secretName: ciroos-token
  token: ....

ciroos helm chart

Prepare values.yaml. Following fields must be set

clusterNamespace: <cluster namespace>
clusterName: <cluster name>
pullmodeSecret:
  kubeconfig: <base64 encoded kubeconfig for sveltos applier to connect to Ciroos control cluster>
helm repo add ciroos https://ciroos-ai.github.io/helm-charts
helm repo update
helm install ciroos ciroos/ciroos --create-namespace -n projectsveltos  -f /tmp/values.yaml

RBAC Hardening

Restricting what sveltos-applier-manager can read (sveltosApplierManager.readAllResources: false), the restricted_rbac organization policy it depends on, and granting extra cluster-wide RBAC (extraClusterRoleRules) are documented in charts/ciroos/README.md. Beacon's own read permissions are documented in charts/ciroos-agents/README.md.

installer helm chart

Prepare values.yaml. Following fields must be set

bootstrap:
  bootstrap:
    env:
      apiUrl: https://qa0.ciroos.ai
      clusterName: <cluster name>
token:
  secretName: ciroos-token
  token: <base64 encoded API token>

Token Secret Management

The bootstrap Job requires a Secret containing the API token. You have two options:

Option 1: Helm-managed Secret (Simple)

token:
  secretName: ciroos-token
  token: <base64 encoded API token>

The Helm chart will create the Secret during installation.

Option 2: Pre-created Secret (GitOps/Production)

For GitOps workflows, pre-create the Secret externally and leave token.token empty:

token:
  secretName: ciroos-token
  token: ""

When token.token is empty, the Helm chart will not create the Secret and assumes it already exists in the cluster. This approach keeps sensitive credentials out of Git and follows GitOps best practices.

helm repo add ciroos https://ciroos-ai.github.io/helm-charts
helm repo update
helm install ciroos ciroos/installer --create-namespace -n projectsveltos  -f /tmp/values.yaml

About

Helm charts for deploying agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages