Skip to content
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

feat: add Valkey resource #865

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
Settings
- Add `Flink` field `userConfig.custom_code`, type `boolean`: Enable to upload Custom JARs for Flink
applications
- Add kind: `Valkey`

## v0.26.0 - 2024-11-21

Expand Down
13 changes: 13 additions & 0 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,17 @@ resources:
defaulting: true
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: aiven.io
kind: Valkey
path: github.com/aiven/aiven-operator/api/v1alpha1
version: v1alpha1
webhooks:
conversion: true
defaulting: true
validation: true
webhookVersion: v1
version: "3"
3 changes: 3 additions & 0 deletions api/v1alpha1/setup_webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ func SetupWebhooks(mgr ctrl.Manager) error {
if err := (&Grafana{}).SetupWebhookWithManager(mgr); err != nil {
return fmt.Errorf("webhook Grafana: %w", err)
}
if err := (&Valkey{}).SetupWebhookWithManager(mgr); err != nil {
return fmt.Errorf("webhook Valkey: %w", err)
}

//+kubebuilder:scaffold:builder
return nil
Expand Down
185 changes: 185 additions & 0 deletions api/v1alpha1/userconfig/service/valkey/valkey.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading