Skip to content

Commit

Permalink
fix: rename fields
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Jan 7, 2025
1 parent 60a0512 commit f0f08f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions api/executor/v1/webhook_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ type WebhookTemplateRef struct {
// webhook configuration value
type WebhookConfigValue struct {
// public value to use in webhook template
Public *string `json:"public,omitempty"`
Value *string `json:"value,omitempty"`
// private value stored in secret to use in webhook template
Private *SecretRef `json:"private,omitempty"`
Secret *SecretRef `json:"secret,omitempty"`
}

// Testkube internal reference for secret storage in Kubernetes secrets
Expand Down
8 changes: 4 additions & 4 deletions api/executor/v1/zz_generated.deepcopy.go

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

4 changes: 2 additions & 2 deletions config/crd/bases/executor.testkube.io_webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
additionalProperties:
description: webhook configuration value
properties:
private:
secret:
description: private value stored in secret to use in webhook
template
properties:
Expand All @@ -60,7 +60,7 @@ spec:
- key
- name
type: object
public:
value:
description: public value to use in webhook template
type: string
type: object
Expand Down

0 comments on commit f0f08f7

Please sign in to comment.