Skip to content

Add additionalTemplates for cluster resource sync#304

Merged
mhotan merged 1 commit intomainfrom
mike/additional-cluster-resource-templates
Mar 25, 2026
Merged

Add additionalTemplates for cluster resource sync#304
mhotan merged 1 commit intomainfrom
mike/additional-cluster-resource-templates

Conversation

@mhotan
Copy link
Contributor

@mhotan mhotan commented Mar 24, 2026

Summary

  • Adds clusterresourcesync.additionalTemplates as a safe extension point for customers to add custom per-project Kubernetes resources
  • Customers overriding clusterresourcesync.templates inadvertently replace the default namespace, service account, and resource quota templates — breaking project namespace creation (discovered debugging Apple's deployment)
  • Fully backwards compatible: existing templates overrides continue to work as before

Test plan

  • New test values file dataplane.additional-templates.yaml exercises both defaults + custom templates
  • Verified existing dataplane.fully-selfhosted snapshot is unchanged
  • make test passes in CI

🤖 Generated with Claude Code

Customers overriding clusterresourcesync.templates to add custom
per-project resources inadvertently replace the default namespace,
service account, and resource quota templates — breaking project
namespace creation. This adds an additionalTemplates list that is
rendered alongside the defaults, giving a safe extension point.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aviator-app
Copy link
Contributor

aviator-app bot commented Mar 24, 2026

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged manually (without Aviator). Merging manually can negatively impact the performance of the queue. Consider using Aviator next time.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@mhotan mhotan merged commit 0d43fcf into main Mar 25, 2026
4 checks passed
@mhotan mhotan deleted the mike/additional-cluster-resource-templates branch March 25, 2026 00:02
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