feat: add API types for component config overrides and annotations (EP-1898)#125
feat: add API types for component config overrides and annotations (EP-1898)#125swghosh wants to merge 1 commit intoopenshift:ai-staging-release-1.0from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: swghosh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f4d1360 to
72c4124
Compare
72c4124 to
2eae7d2
Compare
…-1898) Extend the ExternalSecretsConfig API with annotations and componentConfig fields in ControllerConfig to support per-component deployment overrides. New types added: - ComponentConfig: per-component configuration with deploymentConfigs and overrideEnv - DeploymentConfig: deployment-level overrides (revisionHistoryLimit) - KVPair/Annotation: reusable key-value pair types for custom annotations New ComponentName enum values: Webhook, CertController (extending existing ExternalSecretsCoreController and BitwardenSDKServer). Includes CEL validation rules for: - Reserved annotation prefix rejection (kubernetes.io/, openshift.io/, etc.) - Reserved environment variable prefix rejection (HOSTNAME, KUBERNETES_, EXTERNAL_SECRETS_) - Component name uniqueness enforcement - RevisionHistoryLimit minimum value of 1 Also includes comprehensive integration test suite covering all new fields, validation rules, and update scenarios. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2eae7d2 to
9562d04
Compare
Summary
ExternalSecretsConfigAPI withannotationsandcomponentConfigsfields inControllerConfigComponentConfig,DeploymentConfig,KVPair,AnnotationComponentNameenum withWebhookandCertControllervaluesEnhancement Proposal
openshift/enhancements#1898
Changes
api/v1alpha1/external_secrets_config_types.goapi/v1alpha1/zz_generated.deepcopy.goconfig/crd/bases/operator.openshift.io_externalsecretsconfigs.yamlapi/v1alpha1/tests/.../externalsecretsconfig.testsuite.yamlTest plan
make generatepassesmake manifestspasses🤖 Generated with Claude Code