codetogether-intel
CodeTogether Intel provides advanced project insights for developers
About this chart
README.md Helm Chart for CodeTogether Intel
Summary
This chart creates a CodeTogether Intel server deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
This chart has been created with Helm v3 and tested with:
- Helm v3.5+
- Cassandra v3.11+
Configuration
The following table lists configurable parameters of the CodeTogether Intel chart and their default values:
| Parameter | Description | Default |
|---|---|---|
nameOverride | Overrides the name of the chart | "" |
fullnameOverride | Overrides the full name of the chart | "" |
image.repository | Docker image repository for CodeTogether Intel | hub.edge.codetogether.com/releases/codetogether-intel |
image.pullPolicy | Container image pull policy | Always |
image.tag | Tag for the CodeTogether Intel image | latest |
image.digest | (Optional) Set to override the image tag, e.g. sha256:1234567890 | |
imageCredentials.enabled | Enables authentication for private Docker registry | true |
imageCredentials.registry | Docker registry URL | hub.edge.codetogether.com |
imageCredentials.username | Docker registry username | my-customer-username |
imageCredentials.password | Docker registry password | my-customer-password |
imageCredentials.email | Docker registry email | unused |
codetogether.url | Full URL for the CodeTogether Intel server | https://<server-fqdn> |
hqpropertiessecret.enabled | (Optional) If true, the value in hqpropertiessecret.ref will be used in place of the hqproperties values | false |
hqpropertiessecret.ref | (Optional) Name of a Kubernetes secret containing the hqproperties secret. If provided, will override the other values in the hqproperties section | kubernetes-secret-name |
hqproperties.hq.sso.client.id | Client ID for Single Sign-On (SSO) | CLIENTID.apps.googleusercontent.com |
hqproperties.hq.sso.client.secret | Client Secret for Single Sign-On (SSO) | CLIENTSECRET |
hqproperties.hq.sso.client.issuer.url | Issuer URL for Single Sign-On (SSO) | https://accounts.google.com |
hqproperties.name.attr | Name attribute for SSO | name |
hqproperties.hq.db.type | Database type for CodeTogether Intel | CASSANDRA |
hqproperties.hq.secret | Secret key for CodeTogether Intel | SECRET1 |
hqproperties.hq.encryption.secret | Encryption secret key for CodeTogether Intel | SECRET2 |
hqproperties.hq.base.url | Base URL for CodeTogether Intel | https://<server-fqdn> |
hqproperties.hq.cassandra.db.name | Cassandra database name | intel |
hqproperties.hq.cassandra.db.port | Cassandra database port | 9042 |
hqproperties.hq.cassandra.db.host | Cassandra database host | codetogether-cassandra.default.svc.cluster.local |
hqproperties.hq.sso.redirect.uri | Redirect URI for SSO | https://<server-fqdn>/api/v1/auth/sso/success/intel |
hqproperties.hq.cassandra.db.password | Password for Cassandra database | cassandra |
hqproperties.hq.cassandra.db.username | Username for Cassandra database | cassandra |
hqproperties.hq.collab.url | URL of the collaboration server integrated with Intel | https://your-collab-server |
hqproperties.hq.collab.secret | Secret key for secure communication with the collaboration server | SECRET |
java.customJavaOptions | Additional Java options to be passed to the application | "" |
java.customCacerts.enabled | Enables mounting a custom Java trust store (cacerts) | false |
java.customCacerts.cacertsSecretName | Name of the Kubernetes secret containing the cacerts file | custom-java-cacerts |
java.customCacerts.trustStorePasswordKey | (Optional) Key inside the Kubernetes secret containing the trust store password | trustStorePassword |
ai.mode | AI integration mode: bundled (deploy AI container) or external (use external AI service) | "bundled" |
ai.provider | AI provider (openai or custom) | "openai" |
ai.model | AI model to use (gpt-4-turbo, gpt-3.5-turbo, etc.) | "gpt-4-turbo" |
ai.resources.cpu | CPU allocation for AI container | "2" |
ai.resources.memory | Memory allocation for AI container | "4Gi" |
ai.resources.gpu | GPU support (future feature) | false |
ai.external.url | URL for external AI service (if mode: external) | "" |
ai.external.apiKeySecret.name | Name of the Kubernetes secret containing the external AI API key | "ai-secrets" |
ai.external.apiKeySecret.key | Key name in the Kubernetes secret containing the API key | "external-ai-key" |
ingress.enabled | Enables ingress controller resource | true |
ingress.annotations | Annotations for ingress | {} |
ingress.tls.secretName | TLS secret name for ingress | codetogether-intel-tls |
service.type | Kubernetes service type | ClusterIP |
service.port | Port for CodeTogether Intel service | 1080 |
serviceAccount.create | Specifies whether a service account should be created | true |
serviceAccount.name | Name of the service account | codetogether-intel |
replicaCount | Number of replicas for CodeTogether Intel deployment | 1 |
readinessProbe.initialDelaySeconds | Initial delay before readiness probe is initiated | 60 |
readinessProbe.periodSeconds | Period between readiness probes | 60 |
readinessProbe.timeoutSeconds | Timeout for readiness probes | 15 |
livenessProbe.initialDelaySeconds | Initial delay before liveness probe is initiated | 60 |
livenessProbe.periodSeconds | Period between liveness probes | 60 |
livenessProbe.timeoutSeconds | Timeout for liveness probes | 15 |
Creating your Kubernetes Namespace for CodeTogether Intel
It is a best practice to create a dedicated namespace for CodeTogether Intel objects. To create a namespace:
$ kubectl create namespace codetogether-intel
$ kubectl config set-context --current --namespace=codetogether-intel
TLS
To secure CodeTogether, you can add a secret that contains your TLS (Transport Layer Security) private key and certificate:
$ kubectl create secret tls codetogether-intel-tls --key <your-private-key-filename> --cert <your-certificate-filename>
Custom Java Trust Store
If your environment requires a custom CA certificate bundle, you can configure a custom Java trust store by creating a secret.
If trust store is not protected by the password, use the following command to create the secret:
$ kubectl create secret generic custom-java-cacerts --from-file=cacerts=/path/to/custom/cacerts --namespace=codetogether-intel
If password is required to access the trust store, store it in the same secret:
$ kubectl create secret generic custom-java-cacerts --from-file=cacerts=/path/to/custom/cacerts --from-literal=trustStorePassword='your-secure-password' --namespace=codetogether-intel
Using Secret for Cassandra Password
If you prefer not to store the Cassandra password in values.yaml, you can store it securely in a Kubernetes secret.
kubectl create secret generic cassandra-password-secret --from-literal=cassandraPassword='your-secure-cassandra-password' --namespace=codetogether-intel
AI Integration and API Key Security
This chart supports an AI container for generating summaries. Users can choose between deploying an AI model inside the cluster (bundled mode) or connecting to an external AI service (external mode).
Configuring AI Integration
Modify the values.yaml fil
Deploy codetogether-intel with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has codetogether-intel 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 chartcodetogether-intel is pinned at v1.3.5 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