From a27c756ac147c95c8d512707985b688c3d51ae8c Mon Sep 17 00:00:00 2001 From: geekygulshan Date: Fri, 13 Dec 2024 09:53:32 +0000 Subject: [PATCH 1/2] [CI] Publish Truefoundry chart version --- charts/truefoundry/Chart.yaml | 2 +- charts/truefoundry/README.md | 164 ++++++++---------- .../build-workflow-workflow-template.yaml | 6 + charts/truefoundry/values.yaml | 20 ++- 4 files changed, 94 insertions(+), 98 deletions(-) diff --git a/charts/truefoundry/Chart.yaml b/charts/truefoundry/Chart.yaml index 90445d86..d2569028 100644 --- a/charts/truefoundry/Chart.yaml +++ b/charts/truefoundry/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: truefoundry -version: 0.17.3 +version: 0.18.1 description: "TrueFoundry Control Plane Components" maintainers: - name: truefoundry diff --git a/charts/truefoundry/README.md b/charts/truefoundry/README.md index 16c5e9e2..a646e69b 100644 --- a/charts/truefoundry/README.md +++ b/charts/truefoundry/README.md @@ -11,7 +11,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `global.truefoundryImagePullConfigJSON` | JSON config for image pull secret | `""` | | `global.tenantName` | Name of the tenant | `""` | | `global.controlPlaneURL` | URL of the control plane | `http://truefoundry-truefoundry-frontend-app.truefoundry.svc.cluster.local:5000` | -| `global.controlPlaneChartVersion` | Version of control-plane chart | `0.17.3` | +| `global.controlPlaneChartVersion` | Version of control-plane chart | `0.6.2` | | `global.existingTruefoundryCredsSecret` | Name of the existing truefoundry creds secret | `""` | | `global.database.host` | Control plane database hostname when dev mode is not enabled | `""` | | `global.database.name` | Control plane database name when dev mode is not enabled | `""` | @@ -19,28 +19,23 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `global.database.password` | Control plane database password when dev mode is not enabled | `""` | | `global.tfyApiKey` | API key for truefoundry | `""` | | `global.affinity` | Affinity for all services | `{}` | -| `global.llmGatewayInfra.enabled` | Bool to enable LLM Gateway Infra | `false` | -| `global.llmGatewayInfra.releaseName` | Release name for LLM Gateway Infra | `tfy-llm-gateway-infra` | -| `global.llmGatewayInfra.natsAdminPassword` | Password for nats admin | `""` | -| `global.llmGatewayInfra.clickhousePassword` | Password for clickhouse user | `""` | | `devMode.enabled` | Bool to enable dev mode | `false` | ### Truefoundry bootstrap values -| Name | Description | Value | -| ----------------------------------------------------- | ------------------------------------------------------- | ---------------------------------------- | -| `truefoundryBootstrap.enabled` | Bool to enable truefoundry bootstrap | `true` | -| `truefoundryBootstrap.image.repository` | Truefoundry bootstrap image repository | `tfy.jfrog.io/tfy-mirror/library/ubuntu` | -| `truefoundryBootstrap.image.tag` | Truefoundry bootstrap image tag | `latest` | -| `truefoundryBootstrap.natsConfigmapName` | Truefoundry nats configmap name | `nats-accounts` | -| `truefoundryBootstrap.extraEnvVars` | Extra environment variables for the bootstrap container | `[]` | -| `truefoundryBootstrap.extraVolumeMounts` | Extra volume mounts for the bootstrap container | `[]` | -| `truefoundryBootstrap.extraVolumes` | Extra volumes for the bootstrap container | `[]` | -| `truefoundryBootstrap.affinity` | Affinity for the bootstrap container | `{}` | -| `truefoundryBootstrap.nodeSelector` | Node selector for the bootstrap container | `{}` | -| `truefoundryBootstrap.tolerations` | Tolerations specific to the bootstrap container | `{}` | -| `truefoundryBootstrap.imagePullSecrets` | Image pull secrets for the bootstrap container | `[]` | -| `truefoundryBootstrap.createdBuildkitServiceTlsCerts` | Bool to install TLS certificates | `true` | +| Name | Description | Value | +| ---------------------------------------- | ------------------------------------------------------- | ---------------------------------------- | +| `truefoundryBootstrap.enabled` | Bool to enable truefoundry bootstrap | `true` | +| `truefoundryBootstrap.image.repository` | Truefoundry bootstrap image repository | `tfy.jfrog.io/tfy-mirror/library/ubuntu` | +| `truefoundryBootstrap.image.tag` | Truefoundry bootstrap image tag | `latest` | +| `truefoundryBootstrap.natsConfigmapName` | Truefoundry nats configmap name | `nats-accounts` | +| `truefoundryBootstrap.extraEnvVars` | Extra environment variables for the bootstrap container | `[]` | +| `truefoundryBootstrap.extraVolumeMounts` | Extra volume mounts for the bootstrap container | `[]` | +| `truefoundryBootstrap.extraVolumes` | Extra volumes for the bootstrap container | `[]` | +| `truefoundryBootstrap.affinity` | Affinity for the bootstrap container | `{}` | +| `truefoundryBootstrap.nodeSelector` | Node selector for the bootstrap container | `{}` | +| `truefoundryBootstrap.tolerations` | Tolerations specific to the bootstrap container | `{}` | +| `truefoundryBootstrap.imagePullSecrets` | Image pull secrets for the bootstrap container | `[]` | ### Truefoundry Frontend App values @@ -51,7 +46,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `truefoundryFrontendApp.replicaCount` | Number of replicas for the frontend app | `1` | | `truefoundryFrontendApp.global` | Global values for the frontend app | `{}` | | `truefoundryFrontendApp.image.repository` | Image repository for the frontend app | `tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app` | -| `truefoundryFrontendApp.image.tag` | Image tag for the frontend app | `v0.16.1` | +| `truefoundryFrontendApp.image.tag` | Image tag for the frontend app | `v0.5.1` | | `truefoundryFrontendApp.envSecretName` | Secret name for the frontend app environment variables | `truefoundry-frontend-app-env-secret` | | `truefoundryFrontendApp.imagePullPolicy` | Image pull policy for the frontend app | `IfNotPresent` | | `truefoundryFrontendApp.nameOverride` | Override name for the frontend app | `""` | @@ -85,7 +80,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `truefoundryFrontendApp.servicefoundryServerHost` | Servicefoundry server host for the frontend app | `{{ .Release.Name }}-servicefoundry-server.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.tfyWorkflowAdminHost` | tfy workflow admin host for the frontend app | `{{ .Release.Name }}-tfy-workflow-admin-server.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.llmGateway.external` | Make LLMGateway external | `false` | -| `truefoundryFrontendApp.llmGateway.backendHost` | Backend Host for the LLM gateway | `tfy-llm-gateway.{{ .Release.Namespace }}.svc.cluster.local` | +| `truefoundryFrontendApp.llmGateway.backendHost` | Backend Host for the LLM gateway | `{{ .Release.Name }}-llm-gateway.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.llmGateway.backendPort` | Backend Port for the LLM gateway | `8787` | | `truefoundryFrontendApp.proxyServerHost` | Proxy server host for the frontend app | `{{ .Release.Name }}-tfy-controller.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.serviceAccount.annotations` | Annotations for the frontend app service account | `{}` | @@ -100,7 +95,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `mlfoundryServer.enabled` | Bool to enable the mlfoundry server | `true` | | `mlfoundryServer.tolerations` | Tolerations specific to the mlfoundry server | `{}` | | `mlfoundryServer.image.repository` | Image repository for the mlfoundry server | `tfy.jfrog.io/tfy-private-images/mlfoundry-server` | -| `mlfoundryServer.image.tag` | Image tag for the mlfoundry server | `v0.14.1` | +| `mlfoundryServer.image.tag` | Image tag for the mlfoundry server | `v0.4.0` | | `mlfoundryServer.replicaCount` | Number of replicas for the mlfoundry server | `1` | | `mlfoundryServer.environmentName` | Environment name for the mlfoundry server | `default` | | `mlfoundryServer.envSecretName` | Secret name for the mlfoundry server environment variables | `mlfoundry-server-env-secret` | @@ -137,7 +132,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `servicefoundryServer.replicaCount` | Number of replicas for the servicefoundry server | `1` | | `servicefoundryServer.global` | Global values for the servicefoundry server | `{}` | | `servicefoundryServer.image.repository` | Image repository for the servicefoundry server | `tfy.jfrog.io/tfy-private-images/servicefoundry-server` | -| `servicefoundryServer.image.tag` | Image tag for the servicefoundry server | `v0.17.1` | +| `servicefoundryServer.image.tag` | Image tag for the servicefoundry server | `v0.6.1` | | `servicefoundryServer.environmentName` | Environment name for the servicefoundry server | `default` | | `servicefoundryServer.envSecretName` | Secret name for the servicefoundry server environment variables | `servicefoundry-server-env-secret` | | `servicefoundryServer.imagePullPolicy` | Image pull policy for the servicefoundry server | `IfNotPresent` | @@ -165,9 +160,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `servicefoundryServer.imagePullSecrets` | Image pull credentials for servicefoundry server | `[]` | | `servicefoundryServer.rbac.enabled` | Enable RBAC for the servicefoundry server | `true` | | `servicefoundryServer.configs.cicdTemplates` | CICD Template for servicefoundry server | `{{ .Release.Name }}-cicd-templates-cm` | -| `servicefoundryServer.configs.workbenchImages` | Workbench Images for workbench deployments | `{{ .Release.Name }}-workbench-images-cm` | -| `servicefoundryServer.configs.imageMutationPolicy` | Image Mutations policy for workloads | `{{ .Release.Name }}-image-mutation-policy-cm` | -| `servicefoundryServer.configs.k8sManifestValidationPolicy` | K8s Manifest Validation policy for workloads | `{{ .Release.Name }}-k8s-manifest-validation-policy-cm` | +| `servicefoundryServer.configs.workbenchImages` | Workbench Images for servicefoundry server | `{{ .Release.Name }}-workbench-images-cm` | ### tfyK8sController Truefoundry tfy k8s controller values @@ -178,7 +171,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `tfyK8sController.replicaCount` | Number of replicas for the tfyK8sController | `1` | | `tfyK8sController.global` | Global values for the tfyK8sController | `{}` | | `tfyK8sController.image.repository` | Image repository for the tfyK8sController | `tfy.jfrog.io/tfy-private-images/tfy-k8s-controller` | -| `tfyK8sController.image.tag` | Image tag for the tfyK8sController | `v0.14.1` | +| `tfyK8sController.image.tag` | Image tag for the tfyK8sController | `v0.3.0` | | `tfyK8sController.environmentName` | Environment name for tfyK8sController | `default` | | `tfyK8sController.envSecretName` | Secret name for the tfyK8sController environment variables | `tfy-k8s-controller-env-secret` | | `tfyK8sController.imagePullPolicy` | Image pull policy for the tfyK8sController | `IfNotPresent` | @@ -213,7 +206,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `sfyManifestService.tolerations` | Tolerations specific to the sfy manifest service | `{}` | | `sfyManifestService.global` | Global values for the sfy manifest service | `{}` | | `sfyManifestService.image.repository` | Image repository for the sfy manifest service | `tfy.jfrog.io/tfy-private-images/sfy-manifest-service` | -| `sfyManifestService.image.tag` | Image tag for the sfy manifest service | `v0.14.1` | +| `sfyManifestService.image.tag` | Image tag for the sfy manifest service | `v0.3.0` | | `sfyManifestService.replicaCount` | Number of replicas for the sfy manifest service | `1` | | `sfyManifestService.environmentName` | Environment name for the sfy manifest service | `default` | | `sfyManifestService.envSecretName` | Secret name for the sfy manifest service environment variables | `sfy-manifest-service-env-secret` | @@ -248,7 +241,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `nats.enabled` | Bool to enable the NATS server | `true` | | `nats.topologySpreadConstraints` | Topology spread constraints for NATS server | `{}` | | `nats.nats.image.repository` | NATS server image repository | `tfy.jfrog.io/tfy-mirror/nats` | -| `nats.nats.image.tag` | NATS server image tag | `2.10.22-alpine3.20` | +| `nats.nats.image.tag` | NATS server image tag | `2.10.21-alpine3.20` | | `nats.nats.advertise` | Bool to enable NATS server advertise | `false` | | `nats.nats.imagePullSecrets` | Image pull credentials for NATS server | `[]` | | `nats.nats.jetstream.enabled` | Bool to enable Jetstream for NATS server | `true` | @@ -281,7 +274,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `nats.cluster.replicas` | Number of replicas for NATS cluster | `3` | | `nats.cluster.noAdvertise` | Bool to enable NATS cluster | `true` | | `nats.websocket.enabled` | Bool to enable NATS websocket | `true` | -| `nats.websocket.port` | Port for NATS websocket | `8080` | +| `nats.websocket.port` | Port for NATS websocket | `443` | | `nats.websocket.noTLS` | Bool to enable NATS websocket without TLS | `true` | | `nats.websocket.sameOrigin` | Bool to enable NATS websocket same origin | `false` | | `nats.websocket.allowedOrigins` | Allowed origins for NATS websocket | `[]` | @@ -290,66 +283,61 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s ### tfyBuild Truefoundry tfy build settings -| Name | Description | Value | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tfyBuild.enabled` | Bool to enable the tfyBuild server | `true` | -| `tfyBuild.global` | Global values for the tfyBuild server | `{}` | -| `tfyBuild.nameOverride` | Override name for the tfyBuild server | `""` | -| `tfyBuild.fullnameOverride` | Full name override for the tfyBuild server | `""` | -| `tfyBuild.serviceAccount.annotations` | Annotations for the tfyBuild server service account | `{}` | -| `tfyBuild.preemptibleDeployment.enabled` | Bool to enable preemptible deployment for the tfyBuild server | `false` | -| `tfyBuild.preemptibleDeployment.imagePullSecrets` | Image pull secrets for the preemptible deployment | `[]` | -| `tfyBuild.preemptibleDeployment.affinity` | Affinity settings for the preemptible deployment | `{}` | -| `tfyBuild.preemptibleDeployment.nodeSelector` | Node selector for the preemptible deployment | `{}` | -| `tfyBuild.preemptibleDeployment.tolerations` | Tolerations for the preemptible deployment | `[]` | -| `tfyBuild.preemptibleDeployment.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | -| `tfyBuild.preemptibleDeployment.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | -| `tfyBuild.preemptibleDeployment.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.repository` | Repository for the sfyBuilder | `tfy.jfrog.io/tfy-images/sfy-builder` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.tag` | Tag for the sfyBuilder | `v0.8.6` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.imagePullSecrets` | Image pull secrets for the sfyBuilder | `[]` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.baseImagePullSecret` | baseImagePullSecret for the docker config | `truefoundry-image-pull-secret` | +| Name | Description | Value | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `tfyBuild.enabled` | Bool to enable the tfyBuild server | `true` | +| `tfyBuild.global` | Global values for the tfyBuild server | `{}` | +| `tfyBuild.nameOverride` | Override name for the tfyBuild server | `""` | +| `tfyBuild.fullnameOverride` | Full name override for the tfyBuild server | `""` | +| `tfyBuild.serviceAccount.annotations` | Annotations for the tfyBuild server service account | `{}` | +| `tfyBuild.preemptibleDeployment.enabled` | Bool to enable preemptible deployment for the tfyBuild server | `false` | +| `tfyBuild.preemptibleDeployment.image.repository` | Repository for the preemptible deployment | `tfy.jfrog.io/tfy-mirror/alpine` | +| `tfyBuild.preemptibleDeployment.image.tag` | Tag for the preemptible deployment | `3.20` | +| `tfyBuild.preemptibleDeployment.imagePullSecrets` | Image pull secrets for the preemptible deployment | `[]` | +| `tfyBuild.preemptibleDeployment.affinity` | Affinity settings for the preemptible deployment | `{}` | +| `tfyBuild.preemptibleDeployment.nodeSelector` | Node selector for the preemptible deployment | `{}` | +| `tfyBuild.preemptibleDeployment.tolerations` | Tolerations for the preemptible deployment | `[]` | +| `tfyBuild.preemptibleDeployment.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | +| `tfyBuild.preemptibleDeployment.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | +| `tfyBuild.preemptibleDeployment.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.repository` | Repository for the sfyBuilder | `tfy.jfrog.io/tfy-images/sfy-builder` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.tag` | Tag for the sfyBuilder | `v0.8.7` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.imagePullSecrets` | Image pull secrets for the sfyBuilder | `[]` | | `tfyBuild.truefoundryWorkflows.sfyBuilder.script` | script for the sfyBuilder to be executed | `download-code.sh registry-login.sh wait-for-builder.sh build-and-push.sh - -# This script will be executed only when all the above scripts are successfully executed. If any of the above scripts fail, this script will not be executed, and the build will be marked as failed. -update-build.sh '{"status":"SUCCEEDED"}' -` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.cpu` | CPU limit for the sfyBuilder | `1` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.ephemeral-storage` | Ephemeral storage limit for the sfyBuilder | `20Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.memory` | Memory limit for the sfyBuilder | `2Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.cpu` | CPU request for the sfyBuilder | `200m` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.ephemeral-storage` | Ephemeral storage request for the sfyBuilder | `10Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.memory` | Memory request for the sfyBuilder | `500Mi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets` | Build secrets for the sfyBuilder | `[]` | -| `tfyBuild.truefoundryWorkflows.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.affinity` | Affinity settings for the tfyBuild server | `{}` | -| `tfyBuild.truefoundryWorkflows.nodeSelector` | Node selector for the tfyBuild server | `{}` | -| `tfyBuild.truefoundryWorkflows.logMarkers.error` | Error log marker for the tfyBuild server | `\033[31m[Error]\033[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.done` | Done log marker for the tfyBuild server | `\033[32m[Done]\033[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.start` | Start log marker for the tfyBuild server | `\033[36m[Start]\033[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.clientPrefix` | Client prefix for the tfyBuild server | `["TFY-CLIENT"]` | -| `tfyBuild.truefoundryWorkflows.logMarkers.supportSlack` | Slack support URL for the tfyBuild server | `https://join.slack.com/t/truefoundry/shared_invite/zt-11ht512jq-nDJq~HJMqc6wBw90JVlo7g` | -| `tfyBuild.truefoundryWorkflows.logMarkers.serviceFoundryUiUrl` | Service foundry UI URL | `https://app.truefoundry.com/workspace` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.enabled` | Bool to enable SOCI index build and push | `false` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.repository` | Repository for the SOCI index build and push | `tfy.jfrog.io/tfy-images/sfy-builder` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.tag` | Tag for the SOCI index build and push | `v0.8.6` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imagePullSecrets` | Image pull secrets for the sociIndexBuildAndPush | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imageSizeThresholdBytes` | Image size threshold for the SOCI index build and push | `419430400` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraEnvs` | Extra environment variables for the SOCI index build and push | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumeMounts` | Extra volume mounts for the SOCI index build and push | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumes` | | `[]` | -| `tfy-buildkitd-service.enabled` | Bool to enable the tfy-buildkitd service | `true` | -| `tfy-buildkitd-service.service.port` | port number for the tfy-buildkitd service | `1234` | -| `tfy-buildkitd-service.replicaCount` | Number of replicas Value kept for future use, kept 1 | `1` | -| `tfy-buildkitd-service.tls.enabled` | Enable TLS for the tfy-buildkitd service | `true` | -| `tfy-buildkitd-service.tls.buildkitClientCertsSecretName` | Name of the secret containing the TLS certificate | `tfy-buildkit-client-certs` | -| `postgresql.auth.existingSecret` | Name of the existing secret for PostgreSQL authentication | `truefoundry-postgresql-auth-secret` | -| `postgresql.auth.database` | Name of the database for PostgreSQL | `truefoundry` | +` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.baseImagePullSecret` | Base image pull secret for the sfyBuilder | `""` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.cpu` | CPU limit for the sfyBuilder | `1` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.ephemeral-storage` | Ephemeral storage limit for the sfyBuilder | `20Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.memory` | Memory limit for the sfyBuilder | `2Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.cpu` | CPU request for the sfyBuilder | `200m` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.ephemeral-storage` | Ephemeral storage request for the sfyBuilder | `10Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.memory` | Memory request for the sfyBuilder | `500Mi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets` | Build secrets for the sfyBuilder | `[]` | +| `tfyBuild.truefoundryWorkflows.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.affinity` | Affinity settings for the tfyBuild server | `{}` | +| `tfyBuild.truefoundryWorkflows.nodeSelector` | Node selector for the tfyBuild server | `{}` | +| `tfyBuild.truefoundryWorkflows.logMarkers.error` | Error log marker for the tfyBuild server | `\u001b[31m[Error]\u001b[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.done` | Done log marker for the tfyBuild server | `\u001b[32m[Done]\u001b[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.start` | Start log marker for the tfyBuild server | `\u001b[36m[Start]\u001b[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.clientPrefix` | Client prefix for the tfyBuild server | `["TFY-CLIENT"]` | +| `tfyBuild.truefoundryWorkflows.logMarkers.supportSlack` | Slack support URL for the tfyBuild server | `https://join.slack.com/t/truefoundry/shared_invite/zt-11ht512jq-nDJq~HJMqc6wBw90JVlo7g` | +| `tfyBuild.truefoundryWorkflows.logMarkers.serviceFoundryUiUrl` | Service foundry UI URL | `https://app.truefoundry.com/workspace` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.enabled` | Bool to enable SOCI index build and push | `false` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.repository` | Repository for the SOCI index build and push | `tfy.jfrog.io/tfy-images/soci-index-builder` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.tag` | Tag for the SOCI index build and push | `0.2.0` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imagePullSecrets` | Image pull secrets for the sociIndexBuildAndPush | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imageSizeThresholdBytes` | Image size threshold for the SOCI index build and push | `419430400` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraEnvs` | Extra environment variables for the SOCI index build and push | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumeMounts` | Extra volume mounts for the SOCI index build and push | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumes` | | `[]` | +| `tfy-buildkitd-service.enabled` | Bool to enable the tfy-buildkitd service | `false` | +| `postgresql.auth.existingSecret` | Name of the existing secret for PostgreSQL authentication | `truefoundry-postgresql-auth-secret` | +| `postgresql.auth.database` | Name of the database for PostgreSQL | `truefoundry` | ### tfyController Truefoundry tfy controller settings @@ -358,7 +346,7 @@ update-build.sh '{"status":"SUCCEEDED"}' | `tfyController.enabled` | Bool to enable the tfyController | `true` | | `tfyController.global` | Global values for the tfyController | `{}` | | `tfyController.image.repository` | Image repository for the tfyController | `tfy.jfrog.io/tfy-private-images/tfy-controller` | -| `tfyController.image.tag` | Image tag for the tfyController | `v0.9.0` | +| `tfyController.image.tag` | Image tag for the tfyController | `v0.2.0` | | `tfyController.environmentName` | Environment name for the tfyController | `default` | | `tfyController.envSecretName` | Secret name for the tfyController environment variables | `sfy-manifest-service-env-secret` | | `tfyController.imagePullPolicy` | Image pull policy for the tfyController | `IfNotPresent` | @@ -384,7 +372,7 @@ update-build.sh '{"status":"SUCCEEDED"}' | `tfyWorkflowAdmin.enabled` | Bool to enable the tfyWorkflowAdmin | `false` | | `tfyWorkflowAdmin.global` | Global values for the tfyWorkflowAdmin | `{}` | | `tfyWorkflowAdmin.image.repository` | Image repository for the tfyWorkflowAdmin | `tfy.jfrog.io/tfy-private-images/tfy-workflow-admin` | -| `tfyWorkflowAdmin.image.tag` | Image tag for the tfyWorkflowAdmin | `v0.7.1` | +| `tfyWorkflowAdmin.image.tag` | Image tag for the tfyWorkflowAdmin | `v0.3.0` | | `tfyWorkflowAdmin.environmentName` | Environment name for the tfyWorkflowAdmin | `default` | | `tfyWorkflowAdmin.envSecretName` | Secret name for the tfyWorkflowAdmin environment variables | `tfy-workflow-admin-env-secret` | | `tfyWorkflowAdmin.imagePullPolicy` | Image pull policy for the tfyWorkflowAdmin | `IfNotPresent` | diff --git a/charts/truefoundry/templates/tfy-build/build-workflow-workflow-template.yaml b/charts/truefoundry/templates/tfy-build/build-workflow-workflow-template.yaml index df36d863..62388a31 100644 --- a/charts/truefoundry/templates/tfy-build/build-workflow-workflow-template.yaml +++ b/charts/truefoundry/templates/tfy-build/build-workflow-workflow-template.yaml @@ -322,6 +322,9 @@ spec: value: '{{ .Values.tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets | toJson }}' - name: SOURCE_CODE_DOWNLOAD_PATH value: /mnt/tfy/source-code + {{- with .Values.tfyBuild.truefoundryWorkflows.sfyBuilder.extraEnvs }} + {{- toYaml . | nindent 10 }} + {{- end }} volumeMounts: - name: scripts mountPath: /scripts @@ -480,6 +483,9 @@ spec: value: '{{ .Values.tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets | toJson }}' - name: SOURCE_CODE_DOWNLOAD_PATH value: /mnt/tfy/source-code + {{- with .Values.tfyBuild.truefoundryWorkflows.sfyBuilder.extraEnvs }} + {{- toYaml . | nindent 10 }} + {{- end }} volumeMounts: - name: scripts mountPath: /scripts diff --git a/charts/truefoundry/values.yaml b/charts/truefoundry/values.yaml index 4d28528e..c54a6913 100644 --- a/charts/truefoundry/values.yaml +++ b/charts/truefoundry/values.yaml @@ -15,7 +15,7 @@ global: ## @param global.controlPlaneURL URL of the control plane controlPlaneURL: "http://truefoundry-truefoundry-frontend-app.truefoundry.svc.cluster.local:5000" ## @param global.controlPlaneChartVersion Version of control-plane chart - controlPlaneChartVersion: 0.17.3 + controlPlaneChartVersion: 0.18.1 # If you have an existing truefoundry-creds secret, provide the name here. # This will ignore `.global.database` and `.global.tfyApiKey` values. ## @param global.existingTruefoundryCredsSecret Name of the existing truefoundry creds secret @@ -113,7 +113,7 @@ truefoundryFrontendApp: ## @param truefoundryFrontendApp.image.repository Image repository for the frontend app repository: "tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app" ## @param truefoundryFrontendApp.image.tag Image tag for the frontend app - tag: "v0.16.1" + tag: "v0.17.0" ## @param truefoundryFrontendApp.envSecretName Secret name for the frontend app environment variables envSecretName: truefoundry-frontend-app-env-secret ## @param truefoundryFrontendApp.imagePullPolicy Image pull policy for the frontend app @@ -291,7 +291,7 @@ mlfoundryServer: ## @param mlfoundryServer.image.repository Image repository for the mlfoundry server repository: "tfy.jfrog.io/tfy-private-images/mlfoundry-server" ## @param mlfoundryServer.image.tag Image tag for the mlfoundry server - tag: "v0.14.1" + tag: "v0.15.0" ## @param mlfoundryServer.replicaCount Number of replicas for the mlfoundry server replicaCount: 1 ## @param mlfoundryServer.environmentName Environment name for the mlfoundry server @@ -391,7 +391,7 @@ servicefoundryServer: ## @param servicefoundryServer.image.repository Image repository for the servicefoundry server repository: "tfy.jfrog.io/tfy-private-images/servicefoundry-server" ## @param servicefoundryServer.image.tag Image tag for the servicefoundry server - tag: "v0.17.1" + tag: "v0.18.0" ## @param servicefoundryServer.environmentName Environment name for the servicefoundry server environmentName: default ## @param servicefoundryServer.envSecretName Secret name for the servicefoundry server environment variables @@ -538,7 +538,7 @@ tfyK8sController: ## @param tfyK8sController.image.repository Image repository for the tfyK8sController repository: "tfy.jfrog.io/tfy-private-images/tfy-k8s-controller" ## @param tfyK8sController.image.tag Image tag for the tfyK8sController - tag: "v0.14.1" + tag: "v0.15.0" ## @param tfyK8sController.environmentName Environment name for tfyK8sController environmentName: default ## @param tfyK8sController.envSecretName Secret name for the tfyK8sController environment variables @@ -633,7 +633,7 @@ sfyManifestService: ## @param sfyManifestService.image.repository Image repository for the sfy manifest service repository: "tfy.jfrog.io/tfy-private-images/sfy-manifest-service" ## @param sfyManifestService.image.tag Image tag for the sfy manifest service - tag: "v0.14.1" + tag: "v0.15.0" ## @param sfyManifestService.replicaCount Number of replicas for the sfy manifest service replicaCount: 1 ## @param sfyManifestService.environmentName Environment name for the sfy manifest service @@ -900,12 +900,14 @@ tfyBuild: truefoundryWorkflows: ## tfyBuild.truefoundryWorkflows.sfyBuilder Settings for the sfyBuilder sfyBuilder: + ## @param tfyBuild.truefoundryWorkflows.sfyBuilder.extraEnvs Extra environment variables for sfyBuilder + extraEnvs: [] ## tfyBuild.truefoundryWorkflows.sfyBuilder.image sfyBuilder Image image: ## @param tfyBuild.truefoundryWorkflows.sfyBuilder.image.repository Repository for the sfyBuilder repository: tfy.jfrog.io/tfy-images/sfy-builder ## @param tfyBuild.truefoundryWorkflows.sfyBuilder.image.tag Tag for the sfyBuilder - tag: v0.8.6 + tag: v0.8.7 ## @param tfyBuild.truefoundryWorkflows.sfyBuilder.imagePullSecrets Image pull secrets for the sfyBuilder ## imagePullSecrets: [] @@ -1007,7 +1009,7 @@ tfyBuild: ## @param tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.repository Repository for the SOCI index build and push repository: tfy.jfrog.io/tfy-images/sfy-builder ## @param tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.tag Tag for the SOCI index build and push - tag: v0.8.6 + tag: v0.8.7 ## @param tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imagePullSecrets Image pull secrets for the sociIndexBuildAndPush ## imagePullSecrets: [] @@ -1084,7 +1086,7 @@ tfyController: ## @param tfyController.image.repository Image repository for the tfyController repository: tfy.jfrog.io/tfy-private-images/tfy-controller ## @param tfyController.image.tag Image tag for the tfyController - tag: v0.9.0 + tag: v0.10.0 ## @param tfyController.environmentName Environment name for the tfyController environmentName: default ## @param tfyController.envSecretName Secret name for the tfyController environment variables From 4e9814b5da2be2ccf864f93235fcc98d748de074 Mon Sep 17 00:00:00 2001 From: innoavator Date: Fri, 13 Dec 2024 09:53:51 +0000 Subject: [PATCH 2/2] Update README.md with readme-generator-for-helm Signed-off-by: innoavator --- charts/truefoundry/README.md | 165 +++++++++++++++++++---------------- 1 file changed, 89 insertions(+), 76 deletions(-) diff --git a/charts/truefoundry/README.md b/charts/truefoundry/README.md index a646e69b..acb1ad13 100644 --- a/charts/truefoundry/README.md +++ b/charts/truefoundry/README.md @@ -11,7 +11,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `global.truefoundryImagePullConfigJSON` | JSON config for image pull secret | `""` | | `global.tenantName` | Name of the tenant | `""` | | `global.controlPlaneURL` | URL of the control plane | `http://truefoundry-truefoundry-frontend-app.truefoundry.svc.cluster.local:5000` | -| `global.controlPlaneChartVersion` | Version of control-plane chart | `0.6.2` | +| `global.controlPlaneChartVersion` | Version of control-plane chart | `0.18.1` | | `global.existingTruefoundryCredsSecret` | Name of the existing truefoundry creds secret | `""` | | `global.database.host` | Control plane database hostname when dev mode is not enabled | `""` | | `global.database.name` | Control plane database name when dev mode is not enabled | `""` | @@ -19,23 +19,28 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `global.database.password` | Control plane database password when dev mode is not enabled | `""` | | `global.tfyApiKey` | API key for truefoundry | `""` | | `global.affinity` | Affinity for all services | `{}` | +| `global.llmGatewayInfra.enabled` | Bool to enable LLM Gateway Infra | `false` | +| `global.llmGatewayInfra.releaseName` | Release name for LLM Gateway Infra | `tfy-llm-gateway-infra` | +| `global.llmGatewayInfra.natsAdminPassword` | Password for nats admin | `""` | +| `global.llmGatewayInfra.clickhousePassword` | Password for clickhouse user | `""` | | `devMode.enabled` | Bool to enable dev mode | `false` | ### Truefoundry bootstrap values -| Name | Description | Value | -| ---------------------------------------- | ------------------------------------------------------- | ---------------------------------------- | -| `truefoundryBootstrap.enabled` | Bool to enable truefoundry bootstrap | `true` | -| `truefoundryBootstrap.image.repository` | Truefoundry bootstrap image repository | `tfy.jfrog.io/tfy-mirror/library/ubuntu` | -| `truefoundryBootstrap.image.tag` | Truefoundry bootstrap image tag | `latest` | -| `truefoundryBootstrap.natsConfigmapName` | Truefoundry nats configmap name | `nats-accounts` | -| `truefoundryBootstrap.extraEnvVars` | Extra environment variables for the bootstrap container | `[]` | -| `truefoundryBootstrap.extraVolumeMounts` | Extra volume mounts for the bootstrap container | `[]` | -| `truefoundryBootstrap.extraVolumes` | Extra volumes for the bootstrap container | `[]` | -| `truefoundryBootstrap.affinity` | Affinity for the bootstrap container | `{}` | -| `truefoundryBootstrap.nodeSelector` | Node selector for the bootstrap container | `{}` | -| `truefoundryBootstrap.tolerations` | Tolerations specific to the bootstrap container | `{}` | -| `truefoundryBootstrap.imagePullSecrets` | Image pull secrets for the bootstrap container | `[]` | +| Name | Description | Value | +| ----------------------------------------------------- | ------------------------------------------------------- | ---------------------------------------- | +| `truefoundryBootstrap.enabled` | Bool to enable truefoundry bootstrap | `true` | +| `truefoundryBootstrap.image.repository` | Truefoundry bootstrap image repository | `tfy.jfrog.io/tfy-mirror/library/ubuntu` | +| `truefoundryBootstrap.image.tag` | Truefoundry bootstrap image tag | `latest` | +| `truefoundryBootstrap.natsConfigmapName` | Truefoundry nats configmap name | `nats-accounts` | +| `truefoundryBootstrap.extraEnvVars` | Extra environment variables for the bootstrap container | `[]` | +| `truefoundryBootstrap.extraVolumeMounts` | Extra volume mounts for the bootstrap container | `[]` | +| `truefoundryBootstrap.extraVolumes` | Extra volumes for the bootstrap container | `[]` | +| `truefoundryBootstrap.affinity` | Affinity for the bootstrap container | `{}` | +| `truefoundryBootstrap.nodeSelector` | Node selector for the bootstrap container | `{}` | +| `truefoundryBootstrap.tolerations` | Tolerations specific to the bootstrap container | `{}` | +| `truefoundryBootstrap.imagePullSecrets` | Image pull secrets for the bootstrap container | `[]` | +| `truefoundryBootstrap.createdBuildkitServiceTlsCerts` | Bool to install TLS certificates | `true` | ### Truefoundry Frontend App values @@ -46,7 +51,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `truefoundryFrontendApp.replicaCount` | Number of replicas for the frontend app | `1` | | `truefoundryFrontendApp.global` | Global values for the frontend app | `{}` | | `truefoundryFrontendApp.image.repository` | Image repository for the frontend app | `tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app` | -| `truefoundryFrontendApp.image.tag` | Image tag for the frontend app | `v0.5.1` | +| `truefoundryFrontendApp.image.tag` | Image tag for the frontend app | `v0.17.0` | | `truefoundryFrontendApp.envSecretName` | Secret name for the frontend app environment variables | `truefoundry-frontend-app-env-secret` | | `truefoundryFrontendApp.imagePullPolicy` | Image pull policy for the frontend app | `IfNotPresent` | | `truefoundryFrontendApp.nameOverride` | Override name for the frontend app | `""` | @@ -80,7 +85,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `truefoundryFrontendApp.servicefoundryServerHost` | Servicefoundry server host for the frontend app | `{{ .Release.Name }}-servicefoundry-server.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.tfyWorkflowAdminHost` | tfy workflow admin host for the frontend app | `{{ .Release.Name }}-tfy-workflow-admin-server.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.llmGateway.external` | Make LLMGateway external | `false` | -| `truefoundryFrontendApp.llmGateway.backendHost` | Backend Host for the LLM gateway | `{{ .Release.Name }}-llm-gateway.{{ .Release.Namespace }}.svc.cluster.local` | +| `truefoundryFrontendApp.llmGateway.backendHost` | Backend Host for the LLM gateway | `tfy-llm-gateway.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.llmGateway.backendPort` | Backend Port for the LLM gateway | `8787` | | `truefoundryFrontendApp.proxyServerHost` | Proxy server host for the frontend app | `{{ .Release.Name }}-tfy-controller.{{ .Release.Namespace }}.svc.cluster.local` | | `truefoundryFrontendApp.serviceAccount.annotations` | Annotations for the frontend app service account | `{}` | @@ -95,7 +100,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `mlfoundryServer.enabled` | Bool to enable the mlfoundry server | `true` | | `mlfoundryServer.tolerations` | Tolerations specific to the mlfoundry server | `{}` | | `mlfoundryServer.image.repository` | Image repository for the mlfoundry server | `tfy.jfrog.io/tfy-private-images/mlfoundry-server` | -| `mlfoundryServer.image.tag` | Image tag for the mlfoundry server | `v0.4.0` | +| `mlfoundryServer.image.tag` | Image tag for the mlfoundry server | `v0.15.0` | | `mlfoundryServer.replicaCount` | Number of replicas for the mlfoundry server | `1` | | `mlfoundryServer.environmentName` | Environment name for the mlfoundry server | `default` | | `mlfoundryServer.envSecretName` | Secret name for the mlfoundry server environment variables | `mlfoundry-server-env-secret` | @@ -132,7 +137,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `servicefoundryServer.replicaCount` | Number of replicas for the servicefoundry server | `1` | | `servicefoundryServer.global` | Global values for the servicefoundry server | `{}` | | `servicefoundryServer.image.repository` | Image repository for the servicefoundry server | `tfy.jfrog.io/tfy-private-images/servicefoundry-server` | -| `servicefoundryServer.image.tag` | Image tag for the servicefoundry server | `v0.6.1` | +| `servicefoundryServer.image.tag` | Image tag for the servicefoundry server | `v0.18.0` | | `servicefoundryServer.environmentName` | Environment name for the servicefoundry server | `default` | | `servicefoundryServer.envSecretName` | Secret name for the servicefoundry server environment variables | `servicefoundry-server-env-secret` | | `servicefoundryServer.imagePullPolicy` | Image pull policy for the servicefoundry server | `IfNotPresent` | @@ -160,7 +165,9 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `servicefoundryServer.imagePullSecrets` | Image pull credentials for servicefoundry server | `[]` | | `servicefoundryServer.rbac.enabled` | Enable RBAC for the servicefoundry server | `true` | | `servicefoundryServer.configs.cicdTemplates` | CICD Template for servicefoundry server | `{{ .Release.Name }}-cicd-templates-cm` | -| `servicefoundryServer.configs.workbenchImages` | Workbench Images for servicefoundry server | `{{ .Release.Name }}-workbench-images-cm` | +| `servicefoundryServer.configs.workbenchImages` | Workbench Images for workbench deployments | `{{ .Release.Name }}-workbench-images-cm` | +| `servicefoundryServer.configs.imageMutationPolicy` | Image Mutations policy for workloads | `{{ .Release.Name }}-image-mutation-policy-cm` | +| `servicefoundryServer.configs.k8sManifestValidationPolicy` | K8s Manifest Validation policy for workloads | `{{ .Release.Name }}-k8s-manifest-validation-policy-cm` | ### tfyK8sController Truefoundry tfy k8s controller values @@ -171,7 +178,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `tfyK8sController.replicaCount` | Number of replicas for the tfyK8sController | `1` | | `tfyK8sController.global` | Global values for the tfyK8sController | `{}` | | `tfyK8sController.image.repository` | Image repository for the tfyK8sController | `tfy.jfrog.io/tfy-private-images/tfy-k8s-controller` | -| `tfyK8sController.image.tag` | Image tag for the tfyK8sController | `v0.3.0` | +| `tfyK8sController.image.tag` | Image tag for the tfyK8sController | `v0.15.0` | | `tfyK8sController.environmentName` | Environment name for tfyK8sController | `default` | | `tfyK8sController.envSecretName` | Secret name for the tfyK8sController environment variables | `tfy-k8s-controller-env-secret` | | `tfyK8sController.imagePullPolicy` | Image pull policy for the tfyK8sController | `IfNotPresent` | @@ -206,7 +213,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `sfyManifestService.tolerations` | Tolerations specific to the sfy manifest service | `{}` | | `sfyManifestService.global` | Global values for the sfy manifest service | `{}` | | `sfyManifestService.image.repository` | Image repository for the sfy manifest service | `tfy.jfrog.io/tfy-private-images/sfy-manifest-service` | -| `sfyManifestService.image.tag` | Image tag for the sfy manifest service | `v0.3.0` | +| `sfyManifestService.image.tag` | Image tag for the sfy manifest service | `v0.15.0` | | `sfyManifestService.replicaCount` | Number of replicas for the sfy manifest service | `1` | | `sfyManifestService.environmentName` | Environment name for the sfy manifest service | `default` | | `sfyManifestService.envSecretName` | Secret name for the sfy manifest service environment variables | `sfy-manifest-service-env-secret` | @@ -241,7 +248,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `nats.enabled` | Bool to enable the NATS server | `true` | | `nats.topologySpreadConstraints` | Topology spread constraints for NATS server | `{}` | | `nats.nats.image.repository` | NATS server image repository | `tfy.jfrog.io/tfy-mirror/nats` | -| `nats.nats.image.tag` | NATS server image tag | `2.10.21-alpine3.20` | +| `nats.nats.image.tag` | NATS server image tag | `2.10.22-alpine3.20` | | `nats.nats.advertise` | Bool to enable NATS server advertise | `false` | | `nats.nats.imagePullSecrets` | Image pull credentials for NATS server | `[]` | | `nats.nats.jetstream.enabled` | Bool to enable Jetstream for NATS server | `true` | @@ -274,7 +281,7 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s | `nats.cluster.replicas` | Number of replicas for NATS cluster | `3` | | `nats.cluster.noAdvertise` | Bool to enable NATS cluster | `true` | | `nats.websocket.enabled` | Bool to enable NATS websocket | `true` | -| `nats.websocket.port` | Port for NATS websocket | `443` | +| `nats.websocket.port` | Port for NATS websocket | `8080` | | `nats.websocket.noTLS` | Bool to enable NATS websocket without TLS | `true` | | `nats.websocket.sameOrigin` | Bool to enable NATS websocket same origin | `false` | | `nats.websocket.allowedOrigins` | Allowed origins for NATS websocket | `[]` | @@ -283,61 +290,67 @@ truefoundry is an applications that gets deployed on the kubernetes cluster to s ### tfyBuild Truefoundry tfy build settings -| Name | Description | Value | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `tfyBuild.enabled` | Bool to enable the tfyBuild server | `true` | -| `tfyBuild.global` | Global values for the tfyBuild server | `{}` | -| `tfyBuild.nameOverride` | Override name for the tfyBuild server | `""` | -| `tfyBuild.fullnameOverride` | Full name override for the tfyBuild server | `""` | -| `tfyBuild.serviceAccount.annotations` | Annotations for the tfyBuild server service account | `{}` | -| `tfyBuild.preemptibleDeployment.enabled` | Bool to enable preemptible deployment for the tfyBuild server | `false` | -| `tfyBuild.preemptibleDeployment.image.repository` | Repository for the preemptible deployment | `tfy.jfrog.io/tfy-mirror/alpine` | -| `tfyBuild.preemptibleDeployment.image.tag` | Tag for the preemptible deployment | `3.20` | -| `tfyBuild.preemptibleDeployment.imagePullSecrets` | Image pull secrets for the preemptible deployment | `[]` | -| `tfyBuild.preemptibleDeployment.affinity` | Affinity settings for the preemptible deployment | `{}` | -| `tfyBuild.preemptibleDeployment.nodeSelector` | Node selector for the preemptible deployment | `{}` | -| `tfyBuild.preemptibleDeployment.tolerations` | Tolerations for the preemptible deployment | `[]` | -| `tfyBuild.preemptibleDeployment.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | -| `tfyBuild.preemptibleDeployment.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | -| `tfyBuild.preemptibleDeployment.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.repository` | Repository for the sfyBuilder | `tfy.jfrog.io/tfy-images/sfy-builder` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.tag` | Tag for the sfyBuilder | `v0.8.7` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.imagePullSecrets` | Image pull secrets for the sfyBuilder | `[]` | +| Name | Description | Value | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `tfyBuild.enabled` | Bool to enable the tfyBuild server | `true` | +| `tfyBuild.global` | Global values for the tfyBuild server | `{}` | +| `tfyBuild.nameOverride` | Override name for the tfyBuild server | `""` | +| `tfyBuild.fullnameOverride` | Full name override for the tfyBuild server | `""` | +| `tfyBuild.serviceAccount.annotations` | Annotations for the tfyBuild server service account | `{}` | +| `tfyBuild.preemptibleDeployment.enabled` | Bool to enable preemptible deployment for the tfyBuild server | `false` | +| `tfyBuild.preemptibleDeployment.imagePullSecrets` | Image pull secrets for the preemptible deployment | `[]` | +| `tfyBuild.preemptibleDeployment.affinity` | Affinity settings for the preemptible deployment | `{}` | +| `tfyBuild.preemptibleDeployment.nodeSelector` | Node selector for the preemptible deployment | `{}` | +| `tfyBuild.preemptibleDeployment.tolerations` | Tolerations for the preemptible deployment | `[]` | +| `tfyBuild.preemptibleDeployment.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | +| `tfyBuild.preemptibleDeployment.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | +| `tfyBuild.preemptibleDeployment.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.extraEnvs` | Extra environment variables for sfyBuilder | `[]` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.repository` | Repository for the sfyBuilder | `tfy.jfrog.io/tfy-images/sfy-builder` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.image.tag` | Tag for the sfyBuilder | `v0.8.7` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.imagePullSecrets` | Image pull secrets for the sfyBuilder | `[]` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.baseImagePullSecret` | baseImagePullSecret for the docker config | `truefoundry-image-pull-secret` | | `tfyBuild.truefoundryWorkflows.sfyBuilder.script` | script for the sfyBuilder to be executed | `download-code.sh registry-login.sh wait-for-builder.sh build-and-push.sh -` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.baseImagePullSecret` | Base image pull secret for the sfyBuilder | `""` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.cpu` | CPU limit for the sfyBuilder | `1` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.ephemeral-storage` | Ephemeral storage limit for the sfyBuilder | `20Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.memory` | Memory limit for the sfyBuilder | `2Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.cpu` | CPU request for the sfyBuilder | `200m` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.ephemeral-storage` | Ephemeral storage request for the sfyBuilder | `10Gi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.memory` | Memory request for the sfyBuilder | `500Mi` | -| `tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets` | Build secrets for the sfyBuilder | `[]` | -| `tfyBuild.truefoundryWorkflows.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | -| `tfyBuild.truefoundryWorkflows.affinity` | Affinity settings for the tfyBuild server | `{}` | -| `tfyBuild.truefoundryWorkflows.nodeSelector` | Node selector for the tfyBuild server | `{}` | -| `tfyBuild.truefoundryWorkflows.logMarkers.error` | Error log marker for the tfyBuild server | `\u001b[31m[Error]\u001b[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.done` | Done log marker for the tfyBuild server | `\u001b[32m[Done]\u001b[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.start` | Start log marker for the tfyBuild server | `\u001b[36m[Start]\u001b[0m` | -| `tfyBuild.truefoundryWorkflows.logMarkers.clientPrefix` | Client prefix for the tfyBuild server | `["TFY-CLIENT"]` | -| `tfyBuild.truefoundryWorkflows.logMarkers.supportSlack` | Slack support URL for the tfyBuild server | `https://join.slack.com/t/truefoundry/shared_invite/zt-11ht512jq-nDJq~HJMqc6wBw90JVlo7g` | -| `tfyBuild.truefoundryWorkflows.logMarkers.serviceFoundryUiUrl` | Service foundry UI URL | `https://app.truefoundry.com/workspace` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.enabled` | Bool to enable SOCI index build and push | `false` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.repository` | Repository for the SOCI index build and push | `tfy.jfrog.io/tfy-images/soci-index-builder` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.tag` | Tag for the SOCI index build and push | `0.2.0` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imagePullSecrets` | Image pull secrets for the sociIndexBuildAndPush | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imageSizeThresholdBytes` | Image size threshold for the SOCI index build and push | `419430400` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraEnvs` | Extra environment variables for the SOCI index build and push | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumeMounts` | Extra volume mounts for the SOCI index build and push | `[]` | -| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumes` | | `[]` | -| `tfy-buildkitd-service.enabled` | Bool to enable the tfy-buildkitd service | `false` | -| `postgresql.auth.existingSecret` | Name of the existing secret for PostgreSQL authentication | `truefoundry-postgresql-auth-secret` | -| `postgresql.auth.database` | Name of the database for PostgreSQL | `truefoundry` | + +# This script will be executed only when all the above scripts are successfully executed. If any of the above scripts fail, this script will not be executed, and the build will be marked as failed. +update-build.sh '{"status":"SUCCEEDED"}' +` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.cpu` | CPU limit for the sfyBuilder | `1` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.ephemeral-storage` | Ephemeral storage limit for the sfyBuilder | `20Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.limits.memory` | Memory limit for the sfyBuilder | `2Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.cpu` | CPU request for the sfyBuilder | `200m` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.ephemeral-storage` | Ephemeral storage request for the sfyBuilder | `10Gi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.resources.requests.memory` | Memory request for the sfyBuilder | `500Mi` | +| `tfyBuild.truefoundryWorkflows.sfyBuilder.buildSecrets` | Build secrets for the sfyBuilder | `[]` | +| `tfyBuild.truefoundryWorkflows.extraEnvs` | Extra environment variables for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.extraVolumeMounts` | Extra volume mounts for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.extraVolumes` | Extra volumes for the tfyBuild server | `[]` | +| `tfyBuild.truefoundryWorkflows.affinity` | Affinity settings for the tfyBuild server | `{}` | +| `tfyBuild.truefoundryWorkflows.nodeSelector` | Node selector for the tfyBuild server | `{}` | +| `tfyBuild.truefoundryWorkflows.logMarkers.error` | Error log marker for the tfyBuild server | `\033[31m[Error]\033[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.done` | Done log marker for the tfyBuild server | `\033[32m[Done]\033[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.start` | Start log marker for the tfyBuild server | `\033[36m[Start]\033[0m` | +| `tfyBuild.truefoundryWorkflows.logMarkers.clientPrefix` | Client prefix for the tfyBuild server | `["TFY-CLIENT"]` | +| `tfyBuild.truefoundryWorkflows.logMarkers.supportSlack` | Slack support URL for the tfyBuild server | `https://join.slack.com/t/truefoundry/shared_invite/zt-11ht512jq-nDJq~HJMqc6wBw90JVlo7g` | +| `tfyBuild.truefoundryWorkflows.logMarkers.serviceFoundryUiUrl` | Service foundry UI URL | `https://app.truefoundry.com/workspace` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.enabled` | Bool to enable SOCI index build and push | `false` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.repository` | Repository for the SOCI index build and push | `tfy.jfrog.io/tfy-images/sfy-builder` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.image.tag` | Tag for the SOCI index build and push | `v0.8.7` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imagePullSecrets` | Image pull secrets for the sociIndexBuildAndPush | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.imageSizeThresholdBytes` | Image size threshold for the SOCI index build and push | `419430400` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraEnvs` | Extra environment variables for the SOCI index build and push | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumeMounts` | Extra volume mounts for the SOCI index build and push | `[]` | +| `tfyBuild.truefoundryWorkflows.sociIndexBuildAndPush.extraVolumes` | | `[]` | +| `tfy-buildkitd-service.enabled` | Bool to enable the tfy-buildkitd service | `true` | +| `tfy-buildkitd-service.service.port` | port number for the tfy-buildkitd service | `1234` | +| `tfy-buildkitd-service.replicaCount` | Number of replicas Value kept for future use, kept 1 | `1` | +| `tfy-buildkitd-service.tls.enabled` | Enable TLS for the tfy-buildkitd service | `true` | +| `tfy-buildkitd-service.tls.buildkitClientCertsSecretName` | Name of the secret containing the TLS certificate | `tfy-buildkit-client-certs` | +| `postgresql.auth.existingSecret` | Name of the existing secret for PostgreSQL authentication | `truefoundry-postgresql-auth-secret` | +| `postgresql.auth.database` | Name of the database for PostgreSQL | `truefoundry` | ### tfyController Truefoundry tfy controller settings @@ -346,7 +359,7 @@ build-and-push.sh | `tfyController.enabled` | Bool to enable the tfyController | `true` | | `tfyController.global` | Global values for the tfyController | `{}` | | `tfyController.image.repository` | Image repository for the tfyController | `tfy.jfrog.io/tfy-private-images/tfy-controller` | -| `tfyController.image.tag` | Image tag for the tfyController | `v0.2.0` | +| `tfyController.image.tag` | Image tag for the tfyController | `v0.10.0` | | `tfyController.environmentName` | Environment name for the tfyController | `default` | | `tfyController.envSecretName` | Secret name for the tfyController environment variables | `sfy-manifest-service-env-secret` | | `tfyController.imagePullPolicy` | Image pull policy for the tfyController | `IfNotPresent` | @@ -372,7 +385,7 @@ build-and-push.sh | `tfyWorkflowAdmin.enabled` | Bool to enable the tfyWorkflowAdmin | `false` | | `tfyWorkflowAdmin.global` | Global values for the tfyWorkflowAdmin | `{}` | | `tfyWorkflowAdmin.image.repository` | Image repository for the tfyWorkflowAdmin | `tfy.jfrog.io/tfy-private-images/tfy-workflow-admin` | -| `tfyWorkflowAdmin.image.tag` | Image tag for the tfyWorkflowAdmin | `v0.3.0` | +| `tfyWorkflowAdmin.image.tag` | Image tag for the tfyWorkflowAdmin | `v0.7.1` | | `tfyWorkflowAdmin.environmentName` | Environment name for the tfyWorkflowAdmin | `default` | | `tfyWorkflowAdmin.envSecretName` | Secret name for the tfyWorkflowAdmin environment variables | `tfy-workflow-admin-env-secret` | | `tfyWorkflowAdmin.imagePullPolicy` | Image pull policy for the tfyWorkflowAdmin | `IfNotPresent` |