Skip to content

Conversation

@karthik-appu
Copy link
Contributor

Workflow to deploy and configure a Confluent Platform cluster using the Confluent for Kubernetes operator with the following features:

  • Full TLS network encryption with auto-generated certificates
  • OAuth/OIDC Authentication support
  • Role Based Access Control (RBAC) Authorization
  • Single Sign-On (SSO) with Okta for Confluent Control Center (C3)
  • Resource management with CPU and Memory pod limits and requests
  • Rack placement and oneReplicaPerNode for Kafka Broker pods
  • Client testing with Okta Client ID and Secret

Copilot AI review requested due to automatic review settings August 25, 2025 17:54
@karthik-appu karthik-appu self-assigned this Aug 25, 2025
@karthik-appu karthik-appu requested a review from a team August 25, 2025 17:54
@karthik-appu karthik-appu removed their assignment Aug 25, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a comprehensive Confluent Platform deployment workflow using Confluent for Kubernetes operator with Okta OAuth/OIDC Single Sign-On authentication and TLS encryption. The deployment includes complete configuration for authentication, authorization, and secure networking.

  • Implements OAuth/OIDC authentication integration with Okta for all Confluent Platform components
  • Configures TLS encryption with auto-generated certificates for secure communication
  • Sets up Role-Based Access Control (RBAC) with appropriate permissions for services and users

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
security/oauth/okta/tls/cp-core.yaml Defines KRaftController and Kafka configurations with OAuth authentication and TLS settings
security/oauth/okta/tls/cp-components.yaml Configures Connect, ControlCenter, KafkaRestClass, KafkaRestProxy, KsqlDB, and SchemaRegistry with OAuth/TLS
security/oauth/okta/tls/cfrb-client-ro.yaml Sets up RBAC permissions for client access with ResourceOwner role
security/oauth/okta/tls/cfrb-c3-sa.yaml Defines RBAC permissions for Control Center service accounts across different cluster types
security/oauth/okta/tls/README.md Comprehensive deployment guide with prerequisites, configuration steps, and testing procedures
security/oauth/okta/certs/server-domain.json Certificate configuration for server domains and service endpoints
security/oauth/okta/certs/ca-config.json Certificate Authority configuration for TLS certificate generation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

configOverrides:
jvm:
- '---Xmx2G'
- '---Xms2G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms2G'
- '-Xmx2G'
- '-Xms2G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx8G'
- '---Xms8G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms8G'
- '-Xmx8G'
- '-Xms8G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx6G'
- '---Xms6G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms6G'
- '--Xmx6G'
- '--Xms6G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx8G'
- '---Xms8G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms8G'
- '-Xmx8G'
- '-Xms8G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx4G'
- '---Xms4G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms4G'
- '-Xmx4G'
- '-Xms4G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx6G'
- '---Xms6G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms6G'
- '-Xmx6G'
- '-Xms6G'

Copilot uses AI. Check for mistakes.
configOverrides:
jvm:
- '---Xmx2G'
- '---Xms2G'
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The JVM arguments contain incorrect syntax. The correct format should use double dashes '--' instead of triple dashes '---' for Java options.

Suggested change
- '---Xms2G'
- '-Xmx2G'
- '-Xms2G'

Copilot uses AI. Check for mistakes.
tls:
enabled: true
ksqldb:
- advertisedUrl: https://mage-confluent-sat-ksqldb.sat.cbp.dhs.gov
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

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

The hardcoded URL appears to reference a specific government domain (dhs.gov). This should be parameterized or use a generic placeholder to avoid exposing internal infrastructure details.

Suggested change
- advertisedUrl: https://mage-confluent-sat-ksqldb.sat.cbp.dhs.gov
- advertisedUrl: https://<ksqldb-advertised-url>

Copilot uses AI. Check for mistakes.
@karthik-appu
Copy link
Contributor Author

Waiting for more than a month now, could someone kindly assist with reviewing and approving this request at your earliest convenience?

@karthik-appu karthik-appu removed the request for review from abhijeet2096-confluent October 2, 2025 12:01
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.

2 participants