Skip to content

Commit

Permalink
fix: use boxed value
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Dec 20, 2024
1 parent 596b082 commit 9733296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/v1/testkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10722,7 +10722,7 @@ components:
properties:
public:
description: public value to use in webhook template
type: string
$ref: "#/components/schemas/BoxedString"
private:
description: private value stored in secret to use in webhook template
$ref: "#/components/schemas/SecretRef"
Expand Down
5 changes: 2 additions & 3 deletions pkg/api/v1/testkube/model_webhook_config_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ package testkube

// configuration value
type WebhookConfigValue struct {
// public value to use in webhook template
Public string `json:"public,omitempty"`
Private *SecretRef `json:"private,omitempty"`
Public *BoxedString `json:"public,omitempty"`
Private *SecretRef `json:"private,omitempty"`
}

0 comments on commit 9733296

Please sign in to comment.