diff --git a/api/event-source.html b/api/event-source.html index dd998371bc0a..3d4999785db5 100644 --- a/api/event-source.html +++ b/api/event-source.html @@ -600,7 +600,7 @@
UserPayload will be sent to sensor as extra data once the event is triggered -Deprecated. Please use Metadata instead.
+Deprecated: will be removed in v1.5. Please use Metadata instead.CredentialsFile is the file that contains credentials to authenticate for GCP -Deprecated, use CredentialSecret instead
+Deprecated: will be removed in v1.5, use CredentialSecret insteadUserPayload will be sent to sensor as extra data once the event is -triggered Deprecated. Please use Metadata instead. +triggered Deprecated: will be removed in v1.5. Please use Metadata +instead.
CredentialsFile is the file that contains credentials to authenticate -for GCP Deprecated, use CredentialSecret instead +for GCP Deprecated: will be removed in v1.5, use CredentialSecret +instead
DeprecatedCertFilePath is path to the cert file within sensor for secure connection between sensor and custom trigger gRPC server. -DEPRECATED: use CertSecret instead
+Deprecated: will be removed in v1.5, use CertSecret insteadDeprecatedSSHKeyPath is path to your ssh key path. Use this if you don’t want to provide username and password. ssh key path must be mounted in sensor pod. -DEPRECATED: use SSHKeySecret instead.
+Deprecated: will be removed in v1.5, use SSHKeySecret instead. @@ -1731,7 +1731,7 @@Circuit is a boolean expression of dependency groups -DEPRECATED: Use Switch in triggers instead.
+Deprecated: will be removed in v1.5, use Switch in triggers instead.Circuit is a boolean expression of dependency groups -DEPRECATED: Use Switch in triggers instead.
+Deprecated: will be removed in v1.5, use Switch in triggers instead.
TriggerSwitch describes condition which must be satisfied in order to execute a trigger. Depending upon condition type, status of dependency groups is used to evaluate the result. -DEPRECATED
+Deprecated: will be removed in v1.5
(Optional)
DeprecatedSwitch is the condition to execute the trigger. -DEPRECATED: USE conditions instead +Deprecated: will be removed in v1.5, use conditions instead |
diff --git a/api/sensor.md b/api/sensor.md
index 3595669f53b4..e1005206fd44 100644
--- a/api/sensor.md
+++ b/api/sensor.md
@@ -424,8 +424,8 @@ gRPC server knows how to interpret.
DeprecatedCertFilePath is path to the cert file within sensor for secure -connection between sensor and custom trigger gRPC server. DEPRECATED: -use CertSecret instead +connection between sensor and custom trigger gRPC server. Deprecated: +will be removed in v1.5, use CertSecret instead |
@@ -995,7 +995,8 @@ Refer
-Circuit is a boolean expression of dependency groups DEPRECATED: Use -Switch in triggers instead. +Circuit is a boolean expression of dependency groups Deprecated: will be +removed in v1.5, use Switch in triggers instead. |
@@ -1885,8 +1886,8 @@ EventBusName references to a EventBus name. By default the value is
-Circuit is a boolean expression of dependency groups DEPRECATED: Use -Switch in triggers instead. +Circuit is a boolean expression of dependency groups Deprecated: will be +removed in v1.5, use Switch in triggers instead. |
@@ -2709,7 +2710,8 @@ TriggerSwitch
(Optional)
-DeprecatedSwitch is the condition to execute the trigger. DEPRECATED: -USE conditions instead +DeprecatedSwitch is the condition to execute the trigger. Deprecated: +will be removed in v1.5, use conditions instead |
diff --git a/pkg/apis/common/common.go b/pkg/apis/common/common.go
index 3b135425f74c..c70d734a2f3a 100644
--- a/pkg/apis/common/common.go
+++ b/pkg/apis/common/common.go
@@ -117,13 +117,13 @@ type TLSConfig struct {
ClientKeySecret *corev1.SecretKeySelector `json:"clientKeySecret,omitempty" protobuf:"bytes,3,opt,name=clientKeySecret"`
// DeprecatedCACertPath refers the file path that contains the CA cert.
- // Deprecated: use CACertSecret instead
+ // Deprecated: will be removed in v1.5, use CACertSecret instead
DeprecatedCACertPath string `json:"caCertPath,omitempty" protobuf:"bytes,4,opt,name=caCertPath"`
// DeprecatedClientCertPath refers the file path that contains client cert.
- // Deprecated: use ClientCertSecret instead
+ // Deprecated: will be removed in v1.5, use ClientCertSecret instead
DeprecatedClientCertPath string `json:"clientCertPath,omitempty" protobuf:"bytes,5,opt,name=clientCertPath"`
// DeprecatedClientKeyPath refers the file path that contains client key.
- // Deprecated: use ClientKeySecret instead
+ // Deprecated: will be removed in v1.5, use ClientKeySecret instead
DeprecatedClientKeyPath string `json:"clientKeyPath,omitempty" protobuf:"bytes,6,opt,name=clientKeyPath"`
}
diff --git a/pkg/apis/common/generated.proto b/pkg/apis/common/generated.proto
index 2a7112f02c38..fcaeed5c6a7f 100644
--- a/pkg/apis/common/generated.proto
+++ b/pkg/apis/common/generated.proto
@@ -159,15 +159,15 @@ message TLSConfig {
optional k8s.io.api.core.v1.SecretKeySelector clientKeySecret = 3;
// DeprecatedCACertPath refers the file path that contains the CA cert.
- // Deprecated: use CACertSecret instead
+ // Deprecated: will be removed in v1.5, use CACertSecret instead
optional string caCertPath = 4;
// DeprecatedClientCertPath refers the file path that contains client cert.
- // Deprecated: use ClientCertSecret instead
+ // Deprecated: will be removed in v1.5, use ClientCertSecret instead
optional string clientCertPath = 5;
// DeprecatedClientKeyPath refers the file path that contains client key.
- // Deprecated: use ClientKeySecret instead
+ // Deprecated: will be removed in v1.5, use ClientKeySecret instead
optional string clientKeyPath = 6;
}
diff --git a/pkg/apis/common/openapi_generated.go b/pkg/apis/common/openapi_generated.go
index bc04dcafec12..ecb5c2f8eedf 100644
--- a/pkg/apis/common/openapi_generated.go
+++ b/pkg/apis/common/openapi_generated.go
@@ -431,21 +431,21 @@ func schema_argo_events_pkg_apis_common_TLSConfig(ref common.ReferenceCallback)
},
"caCertPath": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedCACertPath refers the file path that contains the CA cert. Deprecated: use CACertSecret instead",
+ Description: "DeprecatedCACertPath refers the file path that contains the CA cert. Deprecated: will be removed in v1.5, use CACertSecret instead",
Type: []string{"string"},
Format: "",
},
},
"clientCertPath": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedClientCertPath refers the file path that contains client cert. Deprecated: use ClientCertSecret instead",
+ Description: "DeprecatedClientCertPath refers the file path that contains client cert. Deprecated: will be removed in v1.5, use ClientCertSecret instead",
Type: []string{"string"},
Format: "",
},
},
"clientKeyPath": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedClientKeyPath refers the file path that contains client key. Deprecated: use ClientKeySecret instead",
+ Description: "DeprecatedClientKeyPath refers the file path that contains client key. Deprecated: will be removed in v1.5, use ClientKeySecret instead",
Type: []string{"string"},
Format: "",
},
diff --git a/pkg/apis/eventsource/v1alpha1/generated.proto b/pkg/apis/eventsource/v1alpha1/generated.proto
index 3897f8ba65e7..04de4468ac7d 100644
--- a/pkg/apis/eventsource/v1alpha1/generated.proto
+++ b/pkg/apis/eventsource/v1alpha1/generated.proto
@@ -204,7 +204,7 @@ message CalendarEventSource {
// UserPayload will be sent to sensor as extra data once the event is triggered
// +optional
- // Deprecated. Please use Metadata instead.
+ // Deprecated: will be removed in v1.5. Please use Metadata instead.
optional bytes userPayload = 5;
// Metadata holds the user defined metadata which will passed along the event payload.
@@ -767,7 +767,7 @@ message PubSubEventSource {
optional bool jsonBody = 7;
// CredentialsFile is the file that contains credentials to authenticate for GCP
- // Deprecated, use CredentialSecret instead
+ // Deprecated: will be removed in v1.5, use CredentialSecret instead
optional string credentialsFile = 8;
// Metadata holds the user defined metadata which will passed along the event payload.
diff --git a/pkg/apis/eventsource/v1alpha1/openapi_generated.go b/pkg/apis/eventsource/v1alpha1/openapi_generated.go
index f481681df170..773531746c27 100644
--- a/pkg/apis/eventsource/v1alpha1/openapi_generated.go
+++ b/pkg/apis/eventsource/v1alpha1/openapi_generated.go
@@ -433,7 +433,7 @@ func schema_pkg_apis_eventsource_v1alpha1_CalendarEventSource(ref common.Referen
},
"userPayload": {
SchemaProps: spec.SchemaProps{
- Description: "UserPayload will be sent to sensor as extra data once the event is triggered Deprecated. Please use Metadata instead.",
+ Description: "UserPayload will be sent to sensor as extra data once the event is triggered Deprecated: will be removed in v1.5. Please use Metadata instead.",
Type: []string{"string"},
Format: "byte",
},
@@ -2016,7 +2016,7 @@ func schema_pkg_apis_eventsource_v1alpha1_PubSubEventSource(ref common.Reference
},
"credentialsFile": {
SchemaProps: spec.SchemaProps{
- Description: "CredentialsFile is the file that contains credentials to authenticate for GCP Deprecated, use CredentialSecret instead",
+ Description: "CredentialsFile is the file that contains credentials to authenticate for GCP Deprecated: will be removed in v1.5, use CredentialSecret instead",
Type: []string{"string"},
Format: "",
},
diff --git a/pkg/apis/eventsource/v1alpha1/types.go b/pkg/apis/eventsource/v1alpha1/types.go
index d2ae3da7579a..fdc4743c40af 100644
--- a/pkg/apis/eventsource/v1alpha1/types.go
+++ b/pkg/apis/eventsource/v1alpha1/types.go
@@ -204,7 +204,7 @@ type CalendarEventSource struct {
Timezone string `json:"timezone,omitempty" protobuf:"bytes,4,opt,name=timezone"`
// UserPayload will be sent to sensor as extra data once the event is triggered
// +optional
- // Deprecated. Please use Metadata instead.
+ // Deprecated: will be removed in v1.5. Please use Metadata instead.
UserPayload json.RawMessage `json:"userPayload,omitempty" protobuf:"bytes,5,opt,name=userPayload,casttype=encoding/json.RawMessage"`
// Metadata holds the user defined metadata which will passed along the event payload.
// +optional
@@ -625,7 +625,7 @@ type PubSubEventSource struct {
// +optional
JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,7,opt,name=jsonBody"`
// CredentialsFile is the file that contains credentials to authenticate for GCP
- // Deprecated, use CredentialSecret instead
+ // Deprecated: will be removed in v1.5, use CredentialSecret instead
DeprecatedCredentialsFile string `json:"credentialsFile" protobuf:"bytes,8,opt,name=credentialsFile"`
// Metadata holds the user defined metadata which will passed along the event payload.
// +optional
diff --git a/pkg/apis/sensor/v1alpha1/generated.proto b/pkg/apis/sensor/v1alpha1/generated.proto
index 5ed58ea899a6..14515f23b5fe 100644
--- a/pkg/apis/sensor/v1alpha1/generated.proto
+++ b/pkg/apis/sensor/v1alpha1/generated.proto
@@ -111,7 +111,7 @@ message CustomTrigger {
repeated TriggerParameter payload = 7;
// DeprecatedCertFilePath is path to the cert file within sensor for secure connection between sensor and custom trigger gRPC server.
- // DEPRECATED: use CertSecret instead
+ // Deprecated: will be removed in v1.5, use CertSecret instead
optional string certFilePath = 8;
}
@@ -254,7 +254,7 @@ message GitArtifact {
// DeprecatedSSHKeyPath is path to your ssh key path. Use this if you don't want to provide username and password.
// ssh key path must be mounted in sensor pod.
- // DEPRECATED: use SSHKeySecret instead.
+ // Deprecated: will be removed in v1.5, use SSHKeySecret instead.
// +optional
optional string sshKeyPath = 10;
}
@@ -466,7 +466,7 @@ message SensorSpec {
optional string eventBusName = 6;
// Circuit is a boolean expression of dependency groups
- // DEPRECATED: Use Switch in triggers instead.
+ // Deprecated: will be removed in v1.5, use Switch in triggers instead.
optional string circuit = 7;
}
@@ -694,7 +694,7 @@ message TriggerPolicy {
// TriggerSwitch describes condition which must be satisfied in order to execute a trigger.
// Depending upon condition type, status of dependency groups is used to evaluate the result.
-// DEPRECATED
+// Deprecated: will be removed in v1.5
message TriggerSwitch {
// Any acts as a OR operator between dependencies
repeated string any = 1;
@@ -754,7 +754,7 @@ message TriggerTemplate {
optional LogTrigger log = 13;
// DeprecatedSwitch is the condition to execute the trigger.
- // DEPRECATED: USE conditions instead
+ // Deprecated: will be removed in v1.5, use conditions instead
// +optional
optional TriggerSwitch switch = 12;
}
diff --git a/pkg/apis/sensor/v1alpha1/openapi_generated.go b/pkg/apis/sensor/v1alpha1/openapi_generated.go
index df4b31d57faf..2dd0e7b1ae2b 100644
--- a/pkg/apis/sensor/v1alpha1/openapi_generated.go
+++ b/pkg/apis/sensor/v1alpha1/openapi_generated.go
@@ -326,7 +326,7 @@ func schema_pkg_apis_sensor_v1alpha1_CustomTrigger(ref common.ReferenceCallback)
},
"certFilePath": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedCertFilePath is path to the cert file within sensor for secure connection between sensor and custom trigger gRPC server. DEPRECATED: use CertSecret instead",
+ Description: "DeprecatedCertFilePath is path to the cert file within sensor for secure connection between sensor and custom trigger gRPC server. Deprecated: will be removed in v1.5, use CertSecret instead",
Type: []string{"string"},
Format: "",
},
@@ -686,7 +686,7 @@ func schema_pkg_apis_sensor_v1alpha1_GitArtifact(ref common.ReferenceCallback) c
},
"sshKeyPath": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedSSHKeyPath is path to your ssh key path. Use this if you don't want to provide username and password. ssh key path must be mounted in sensor pod. DEPRECATED: use SSHKeySecret instead.",
+ Description: "DeprecatedSSHKeyPath is path to your ssh key path. Use this if you don't want to provide username and password. ssh key path must be mounted in sensor pod. Deprecated: will be removed in v1.5, use SSHKeySecret instead.",
Type: []string{"string"},
Format: "",
},
@@ -1307,7 +1307,7 @@ func schema_pkg_apis_sensor_v1alpha1_SensorSpec(ref common.ReferenceCallback) co
},
"circuit": {
SchemaProps: spec.SchemaProps{
- Description: "Circuit is a boolean expression of dependency groups DEPRECATED: Use Switch in triggers instead.",
+ Description: "Circuit is a boolean expression of dependency groups Deprecated: will be removed in v1.5, use Switch in triggers instead.",
Type: []string{"string"},
Format: "",
},
@@ -1819,7 +1819,7 @@ func schema_pkg_apis_sensor_v1alpha1_TriggerSwitch(ref common.ReferenceCallback)
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
- Description: "TriggerSwitch describes condition which must be satisfied in order to execute a trigger. Depending upon condition type, status of dependency groups is used to evaluate the result. DEPRECATED",
+ Description: "TriggerSwitch describes condition which must be satisfied in order to execute a trigger. Depending upon condition type, status of dependency groups is used to evaluate the result. Deprecated: will be removed in v1.5",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"any": {
@@ -1939,7 +1939,7 @@ func schema_pkg_apis_sensor_v1alpha1_TriggerTemplate(ref common.ReferenceCallbac
},
"switch": {
SchemaProps: spec.SchemaProps{
- Description: "DeprecatedSwitch is the condition to execute the trigger. DEPRECATED: USE conditions instead",
+ Description: "DeprecatedSwitch is the condition to execute the trigger. Deprecated: will be removed in v1.5, use conditions instead",
Ref: ref("github.com/argoproj/argo-events/pkg/apis/sensor/v1alpha1.TriggerSwitch"),
},
},
diff --git a/pkg/apis/sensor/v1alpha1/types.go b/pkg/apis/sensor/v1alpha1/types.go
index 1594be17ea50..19663c43dcd1 100644
--- a/pkg/apis/sensor/v1alpha1/types.go
+++ b/pkg/apis/sensor/v1alpha1/types.go
@@ -109,7 +109,7 @@ type SensorSpec struct {
// EventBusName references to a EventBus name. By default the value is "default"
EventBusName string `json:"eventBusName,omitempty" protobuf:"bytes,6,opt,name=eventBusName"`
// Circuit is a boolean expression of dependency groups
- // DEPRECATED: Use Switch in triggers instead.
+ // Deprecated: will be removed in v1.5, use Switch in triggers instead.
DeprecatedCircuit string `json:"circuit,omitempty" protobuf:"bytes,7,opt,name=circuit"`
}
@@ -305,14 +305,14 @@ type TriggerTemplate struct {
// +optional
Log *LogTrigger `json:"log,omitempty" protobuf:"bytes,13,opt,name=log"`
// DeprecatedSwitch is the condition to execute the trigger.
- // DEPRECATED: USE conditions instead
+ // Deprecated: will be removed in v1.5, use conditions instead
// +optional
DeprecatedSwitch *TriggerSwitch `json:"switch,omitempty" protobuf:"bytes,12,opt,name=switch"`
}
// TriggerSwitch describes condition which must be satisfied in order to execute a trigger.
// Depending upon condition type, status of dependency groups is used to evaluate the result.
-// DEPRECATED
+// Deprecated: will be removed in v1.5
type TriggerSwitch struct {
// Any acts as a OR operator between dependencies
@@ -497,7 +497,7 @@ type CustomTrigger struct {
Payload []TriggerParameter `json:"payload" protobuf:"bytes,7,rep,name=payload"`
// DeprecatedCertFilePath is path to the cert file within sensor for secure connection between sensor and custom trigger gRPC server.
- // DEPRECATED: use CertSecret instead
+ // Deprecated: will be removed in v1.5, use CertSecret instead
DeprecatedCertFilePath string `json:"certFilePath,omitempty" protobuf:"bytes,8,opt,name=certFilePath"`
}
@@ -763,7 +763,7 @@ type GitArtifact struct {
Remote *GitRemoteConfig `json:"remote,omitempty" protobuf:"bytes,9,opt,name=remote"`
// DeprecatedSSHKeyPath is path to your ssh key path. Use this if you don't want to provide username and password.
// ssh key path must be mounted in sensor pod.
- // DEPRECATED: use SSHKeySecret instead.
+ // Deprecated: will be removed in v1.5, use SSHKeySecret instead.
// +optional
DeprecatedSSHKeyPath string `json:"sshKeyPath,omitempty" protobuf:"bytes,10,opt,name=sshKeyPath"`
}