From da96e4f2eb98ebcfbc2301f88d763146e630c94b Mon Sep 17 00:00:00 2001 From: akshat5302 Date: Thu, 30 Jul 2026 13:45:51 +0530 Subject: [PATCH 1/3] chore(plane-enterprise): add IS_SELF_MANAGED and AI usage env vars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - IS_SELF_MANAGED hardcoded to "0" in app-vars and pi-api-vars ConfigMaps - AI_USAGE_AGENT_MAX_TOKENS_BUDGET added to api and pi containers (default: empty) - AI_USAGE_ENFORCEMENT_ENABLED added to pi containers only (default: 1) - Bump chart version 3.0.0 → 3.0.1 Co-Authored-By: Claude Sonnet 4.6 --- charts/plane-enterprise/Chart.yaml | 2 +- charts/plane-enterprise/questions.yml | 8 ++++++++ .../templates/config-secrets/app-env.yaml | 2 ++ .../templates/config-secrets/pi-api-env.yaml | 4 ++++ charts/plane-enterprise/values.yaml | 3 +++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/charts/plane-enterprise/Chart.yaml b/charts/plane-enterprise/Chart.yaml index 32f83301..db7b1e63 100644 --- a/charts/plane-enterprise/Chart.yaml +++ b/charts/plane-enterprise/Chart.yaml @@ -5,7 +5,7 @@ description: Meet Plane. An Enterprise software development tool to manage issue type: application -version: 3.0.0 +version: 3.0.1 appVersion: "3.0.0" home: https://plane.so/ diff --git a/charts/plane-enterprise/questions.yml b/charts/plane-enterprise/questions.yml index 12241b87..d9b2b807 100644 --- a/charts/plane-enterprise/questions.yml +++ b/charts/plane-enterprise/questions.yml @@ -970,6 +970,14 @@ questions: label: "CORS Allowed Origins" type: string default: "" + - variable: env.pi_envs.ai_usage_agent_max_tokens_budget + label: "AI Usage Agent Max Tokens Budget" + type: string + default: "" + - variable: env.pi_envs.ai_usage_enforcement_enabled + label: "AI Usage Enforcement Enabled" + type: boolean + default: true - variable: env.pi_envs.celery.vector_sync_enabled label: "Vector Sync Enabled" type: boolean diff --git a/charts/plane-enterprise/templates/config-secrets/app-env.yaml b/charts/plane-enterprise/templates/config-secrets/app-env.yaml index 269e639a..81a00efd 100644 --- a/charts/plane-enterprise/templates/config-secrets/app-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/app-env.yaml @@ -111,3 +111,5 @@ data: WEBHOOK_ALLOWED_IPS: {{ .Values.env.webhook_allowed_ips | default "" | quote }} WEBHOOK_ALLOWED_HOSTS: {{ .Values.env.webhook_allowed_hosts | default "" | quote }} + IS_SELF_MANAGED: "0" + AI_USAGE_AGENT_MAX_TOKENS_BUDGET: {{ .Values.env.pi_envs.ai_usage_agent_max_tokens_budget | default "" | quote }} diff --git a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml index 6305673e..6c4f7b9a 100644 --- a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml @@ -157,6 +157,10 @@ data: BR_AWS_REGION: {{ .Values.services.pi.ai_providers.embedding_model.aws_region | default "us-east-1" | quote }} {{- end }} + IS_SELF_MANAGED: "0" + AI_USAGE_AGENT_MAX_TOKENS_BUDGET: {{ .Values.env.pi_envs.ai_usage_agent_max_tokens_budget | default "" | quote }} + AI_USAGE_ENFORCEMENT_ENABLED: {{ .Values.env.pi_envs.ai_usage_enforcement_enabled | default true | ternary "1" "0" | quote }} + CELERY_VECTOR_SYNC_ENABLED: {{ .Values.env.pi_envs.celery.vector_sync_enabled | ternary "1" "0" | quote }} CELERY_VECTOR_SYNC_INTERVAL: {{ .Values.env.pi_envs.celery.vector_sync_interval | default 3 | quote }} CELERY_WORKSPACE_PLAN_SYNC_ENABLED: {{ .Values.env.pi_envs.celery.workspace_plan_sync_enabled | ternary "1" "0" | quote }} diff --git a/charts/plane-enterprise/values.yaml b/charts/plane-enterprise/values.yaml index 8394e9af..de92e779 100644 --- a/charts/plane-enterprise/values.yaml +++ b/charts/plane-enterprise/values.yaml @@ -677,6 +677,9 @@ env: internal_secret: 'tyfvfqvBJAgpm9bzvf3r4urJer0Ehfdubk' log_level: 'DEBUG' + ai_usage_agent_max_tokens_budget: '' + ai_usage_enforcement_enabled: true + celery: vector_sync_enabled: false vector_sync_interval: 3 From cbb7d5ab480b823edc08743acbde174eb87e8304 Mon Sep 17 00:00:00 2001 From: akshat5302 Date: Thu, 30 Jul 2026 14:02:43 +0530 Subject: [PATCH 2/3] feat(plane-enterprise): update AI usage enforcement variable handling in pi-api-env.yaml --- .../plane-enterprise/templates/config-secrets/pi-api-env.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml index 6c4f7b9a..39e3ed58 100644 --- a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml @@ -159,7 +159,7 @@ data: IS_SELF_MANAGED: "0" AI_USAGE_AGENT_MAX_TOKENS_BUDGET: {{ .Values.env.pi_envs.ai_usage_agent_max_tokens_budget | default "" | quote }} - AI_USAGE_ENFORCEMENT_ENABLED: {{ .Values.env.pi_envs.ai_usage_enforcement_enabled | default true | ternary "1" "0" | quote }} + AI_USAGE_ENFORCEMENT_ENABLED: {{ .Values.env.pi_envs.ai_usage_enforcement_enabled | ternary "1" "0" | quote }} CELERY_VECTOR_SYNC_ENABLED: {{ .Values.env.pi_envs.celery.vector_sync_enabled | ternary "1" "0" | quote }} CELERY_VECTOR_SYNC_INTERVAL: {{ .Values.env.pi_envs.celery.vector_sync_interval | default 3 | quote }} From 221759332cbfab9ed922d48e36594c0262d01919 Mon Sep 17 00:00:00 2001 From: akshat5302 Date: Thu, 30 Jul 2026 14:21:26 +0530 Subject: [PATCH 3/3] chore(plane-enterprise): remove IS_SELF_MANAGED from ConfigMaps Co-Authored-By: Claude Sonnet 4.6 --- charts/plane-enterprise/templates/config-secrets/app-env.yaml | 1 - charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/charts/plane-enterprise/templates/config-secrets/app-env.yaml b/charts/plane-enterprise/templates/config-secrets/app-env.yaml index 81a00efd..74808275 100644 --- a/charts/plane-enterprise/templates/config-secrets/app-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/app-env.yaml @@ -111,5 +111,4 @@ data: WEBHOOK_ALLOWED_IPS: {{ .Values.env.webhook_allowed_ips | default "" | quote }} WEBHOOK_ALLOWED_HOSTS: {{ .Values.env.webhook_allowed_hosts | default "" | quote }} - IS_SELF_MANAGED: "0" AI_USAGE_AGENT_MAX_TOKENS_BUDGET: {{ .Values.env.pi_envs.ai_usage_agent_max_tokens_budget | default "" | quote }} diff --git a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml index 39e3ed58..862742ee 100644 --- a/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/pi-api-env.yaml @@ -157,7 +157,6 @@ data: BR_AWS_REGION: {{ .Values.services.pi.ai_providers.embedding_model.aws_region | default "us-east-1" | quote }} {{- end }} - IS_SELF_MANAGED: "0" AI_USAGE_AGENT_MAX_TOKENS_BUDGET: {{ .Values.env.pi_envs.ai_usage_agent_max_tokens_budget | default "" | quote }} AI_USAGE_ENFORCEMENT_ENABLED: {{ .Values.env.pi_envs.ai_usage_enforcement_enabled | ternary "1" "0" | quote }}