diff --git a/api/v1/testkube.yaml b/api/v1/testkube.yaml index 04b94bf934..ba4fe7e3eb 100644 --- a/api/v1/testkube.yaml +++ b/api/v1/testkube.yaml @@ -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" diff --git a/pkg/api/v1/testkube/model_webhook_config_value.go b/pkg/api/v1/testkube/model_webhook_config_value.go index ed8312d776..29759168c8 100644 --- a/pkg/api/v1/testkube/model_webhook_config_value.go +++ b/pkg/api/v1/testkube/model_webhook_config_value.go @@ -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"` }