Merge pull request #1893 from PROCYDE/helm-workers-apps

k8s: worker and app deployments using helm
This commit is contained in:
Yash Singh
2026-02-09 16:33:36 +05:30
committed by GitHub
26 changed files with 3391 additions and 575 deletions
+1
View File
@@ -1159,6 +1159,7 @@ func fixk8sRoles() {
}
}
// TODO: Check if deployment or service already exist by labels and only create if not already exists
func deployK8sWorker(image string, identifier string, env []string) error {
env = append(env, fmt.Sprintf("IS_KUBERNETES=true"))
env = append(env, fmt.Sprintf("KUBERNETES_NAMESPACE=%s", os.Getenv("KUBERNETES_NAMESPACE")))