Skip to content

Commit

Permalink
feat: add Valkey resource (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
rriski authored Jan 15, 2025
1 parent ff85356 commit 7e1de21
Show file tree
Hide file tree
Showing 29 changed files with 2,636 additions and 1 deletion.
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

0 comments on commit 7e1de21

Please sign in to comment.