Skip to content

[INFRA-481] - feat(plane-enterprise): add Microsoft Teams integration secrets to silo - #281

Open
akshat5302 wants to merge 1 commit into
masterfrom
add-ms-teams-integration-silo-secrets
Open

[INFRA-481] - feat(plane-enterprise): add Microsoft Teams integration secrets to silo#281
akshat5302 wants to merge 1 commit into
masterfrom
add-ms-teams-integration-silo-secrets

Conversation

@akshat5302

@akshat5302 akshat5302 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Add MS_TEAMS_CLIENT_ID, MS_TEAMS_CLIENT_SECRET, MS_TEAMS_TENANT_ID, MS_TEAMS_APP_ID (default empty) and MS_TEAMS_APP_TYPE (default MultiTenant) under services.silo.connectors.microsoft_teams in values.yaml
  • Render secrets into templates/config-secrets/silo.yaml when the connector is enabled
  • Mirror all fields in questions.yml for Rancher catalog form
  • Bump chart version 3.1.0 → 3.1.1

Test plan

  • helm lint charts/plane-enterprise passes
  • helm template renders MS Teams secrets when microsoft_teams.enabled=true
  • Secrets absent from rendered output when microsoft_teams.enabled=false

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added Microsoft Teams connector configuration for enterprise deployments.
    • Supports enabling the connector and configuring client credentials, tenant ID, application ID, and application type.
    • Securely manages connector credentials during deployment.
  • Chores

    • Updated the enterprise Helm chart version to 3.1.1.

Add MS_TEAMS_CLIENT_ID, MS_TEAMS_CLIENT_SECRET, MS_TEAMS_TENANT_ID,
MS_TEAMS_APP_ID (default empty) and MS_TEAMS_APP_TYPE (default MultiTenant)
to silo secrets, values.yaml, and questions.yml. Bump version 3.1.0 → 3.1.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The enterprise Helm chart adds Microsoft Teams connector configuration, defaults, and conditional silo Secret values. The chart version increases from 3.1.0 to 3.1.1.

Changes

Microsoft Teams connector

Layer / File(s) Summary
Connector configuration inputs
charts/plane-enterprise/questions.yml, charts/plane-enterprise/values.yaml
Adds Microsoft Teams enablement, client credentials, tenant ID, app ID, and MultiTenant app type settings.
Connector secret rendering
charts/plane-enterprise/templates/config-secrets/silo.yaml, charts/plane-enterprise/Chart.yaml
Conditionally renders connector values into the silo Secret and increments the chart version to 3.1.1.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: sriramveeraghanta, pratapalakshmi

Poem

A rabbit hops through Helm so bright,
Teams credentials take their flight.
The silo Secret guards each key,
MultiTenant defaults happily.
The chart bumps up one patch today.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the Microsoft Teams integration secrets added to the Plane Enterprise silo chart.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-ms-teams-integration-silo-secrets

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@makeplane

makeplane Bot commented Aug 7, 2026

Copy link
Copy Markdown

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@charts/plane-enterprise/questions.yml`:
- Line 448: Update the show_subquestion_if field in the question definition to
use the string value "true" rather than the YAML boolean true, preserving the
expected string condition format.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: eedbb41d-9a9e-4286-a3ed-bffdd2dc093d

📥 Commits

Reviewing files that changed from the base of the PR and between a5e4e35 and f33ccfa.

📒 Files selected for processing (4)
  • charts/plane-enterprise/Chart.yaml
  • charts/plane-enterprise/questions.yml
  • charts/plane-enterprise/templates/config-secrets/silo.yaml
  • charts/plane-enterprise/values.yaml

type: boolean
default: false
group: "Silo Connectors"
show_subquestion_if: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

rg -n -C 2 'show_subquestion_if' charts/plane-enterprise/questions.yml
helm lint charts/plane-enterprise

Repository: makeplane/helm-charts

Length of output: 4572


🌐 Web query:

Rancher questions.yml show_subquestion_if field type string true

💡 Result:

In Rancher's questions.yml file, the show_subquestion_if field is a string used to define conditional logic for displaying subquestions [1][2]. When show_subquestion_if is set to "true" (as a string value), it means the associated subquestions will be rendered in the Rancher UI only when the parent question's value evaluates to true [1][3][4]. This is commonly used with boolean input types [3][5]. For example, if you have a boolean setting (e.g., enabled: true), setting show_subquestion_if: "true" on the parent question will cause the defined subquestions to appear when that setting is enabled [3][4]. Key technical details include: - Functionality: The field controls the visibility of the subquestions array based on the parent variable's value [1][2]. - Syntax: It accepts string values, such as "true" or specific option matches (e.g., "serviceType=NodePort") [1][2][4]. - Constraints: While show_subquestion_if is a standard field for question objects, it cannot be nested inside the subquestions array itself (i.e., subquestions cannot contain their own subquestions or show_subquestion_if keys) [1][2][6]. For more complex conditional requirements, the show_if field is used to control the visibility of the current variable itself based on other inputs [1][7].

Citations:


🌐 Web query:

site:gihub.com rancher/questions-yml-examples show_subquestion_if: true boolean Rancher

💡 Result:

In Rancher's questions.yml file, the show_subquestion_if field is used to conditionally display subquestions based on the value of a parent question [1][2][3]. When working with a boolean type question, you can use show_subquestion_if to trigger the visibility of nested subquestions when the boolean is set to true [1][2][3]. Usage Example: If you have a primary boolean question (e.g., enableFeature) and you want to show subquestions only when it is checked (true), your questions.yml configuration would look similar to this: questions: - variable: enableFeature label: "Enable Optional Feature" type: boolean default: false show_subquestion_if: "true" subquestions: - variable: featureOption label: "Feature Option" type: string default: "some-value" In this configuration, the subquestion featureOption will only appear in the Rancher UI when enableFeature is set to true [1][2][3]. Key Notes: - The show_subquestion_if field accepts a string representing the condition, such as "true" for boolean toggles [1][2][3]. - It can also be used for enum types by matching one of the defined options (e.g., show_subquestion_if: "OptionA") [1][2][3]. - Subquestions themselves cannot contain further nested subquestions or additional show_subquestion_if keys [1][2][3].

Citations:


Keep show_subquestion_if as a string.

show_subquestion_if is expected to hold a string condition, such as "true", so use show_subquestion_if: "true" instead of emitting a YAML boolean at this location.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@charts/plane-enterprise/questions.yml` at line 448, Update the
show_subquestion_if field in the question definition to use the string value
"true" rather than the YAML boolean true, preserving the expected string
condition format.

Source: MCP tools

@coderabbitai coderabbitai Bot mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant