-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(helm): move rotationPolicy under privateKey for cert-manager compatibility #3046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile OverviewGreptile SummaryThis PR includes two separate changes: 1. cert-manager Compatibility Fix (Primary)
2. Branding ConfigMap Feature (Secondary)
Key Changes:
Notes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as User/Helm
participant Values as values.yaml
participant CertTemplate as certificate-postgresql.yaml
participant BrandingCM as configmap-branding.yaml
participant Deployment as deployment-app.yaml
participant CertManager as cert-manager
participant K8s as Kubernetes
User->>Values: Configure branding.enabled=true
User->>Values: Set postgresql.tls.rotationPolicy
Note over Values,Deployment: Helm Template Rendering
Values->>BrandingCM: branding.enabled? Create ConfigMap
BrandingCM->>K8s: Create branding ConfigMap resource
Values->>CertTemplate: postgresql.tls.enabled? Create Certificate
Note over CertTemplate: rotationPolicy now under<br/>spec.privateKey.rotationPolicy<br/>(cert-manager v1.16+ compatible)
CertTemplate->>CertManager: Submit Certificate resource
CertManager->>K8s: Generate TLS certificate secret
Values->>Deployment: Configure app deployment
alt branding.enabled
Deployment->>K8s: Mount branding ConfigMap as volume
K8s->>Deployment: Files available at /app/public/branding
end
Note over Deployment,K8s: Application pod starts with<br/>branding assets and TLS config
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 files reviewed, 1 comment
de63a74 to
afeadea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
…atibility (#3046) * fix(helm): move rotationPolicy under privateKey for cert-manager compatibility * docs(helm): add reclaimPolicy Retain guidance for production database storage * fix(helm): prevent empty branding ConfigMap creation
* fix(workflow): update container dimensions on keyboard movement * fix(workflow): avoid duplicate container updates during drag Add !change.dragging check to only handle keyboard movements in onNodesChange, since mouse drags are already handled by onNodeDrag. * fix(workflow): persist keyboard movements to backend Keyboard arrow key movements now call collaborativeBatchUpdatePositions to sync position changes to the backend for persistence and real-time collaboration. * improvement(cmdk): refactor search modal to use cmdk + fix icon SVG IDs (#3044) * improvement(cmdk): refactor search modal to use cmdk + fix icon SVG IDs * chore: remove unrelated workflow.tsx changes * chore: remove comments * chore: add devtools middleware to search modal store * fix: allow search data re-initialization when permissions change * fix: include keywords in search filter + show service name in tool operations * fix: correct filterBlocks type signature * fix: move generic to function parameter position * fix(mcp): correct event handler type for onInput * perf: always render command palette for instant opening * fix: clear search input when modal reopens * fix(helm): move rotationPolicy under privateKey for cert-manager compatibility (#3046) * fix(helm): move rotationPolicy under privateKey for cert-manager compatibility * docs(helm): add reclaimPolicy Retain guidance for production database storage * fix(helm): prevent empty branding ConfigMap creation * fix(workflow): avoid duplicate position updates on drag end Check isInDragOperation before persisting in onNodesChange to prevent duplicate calls. Drag-end events have dragStartPosition still set, while keyboard movements don't, allowing proper distinction.
Summary
rotationPolicyfromspec.rotationPolicytospec.privateKey.rotationPolicyType of Change
Testing
Tested with
helm template- Certificate renders correctlyChecklist