-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove v1alpha1 subscription #517
feat: remove v1alpha1 subscription #517
Conversation
/hold |
a705919
to
355c390
Compare
@@ -284,14 +283,3 @@ func (em *EventingManager) SubscriptionExists(ctx context.Context) (bool, error) | |||
} | |||
return false, nil | |||
} | |||
|
|||
func convertECBackendType(backendType v1alpha1.BackendType) (eventingv1alpha1.BackendType, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed because it is not used.
ce9c8f7
to
39c98d3
Compare
/test pull-eventing-manager-build |
/retest |
39c98d3
to
1268213
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that the table is automatically generated and the suggestions should be applied to the source documents.
docs/user/02-configuration.md
Outdated
| **backend** | object | Backend defines the active backend used by Eventing. | | ||
| **backend.​config** | object | Config defines configuration for eventing backend. | | ||
| **backend.​config.​domain** | string | Domain defines the cluster public domain used to configure the EventMesh Subscriptions | ||
and their corresponding ApiRules. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird line break
docs/user/02-configuration.md
Outdated
| ---- | ----------- | ---- | | ||
| **annotations** | map\[string\]string | Annotations allows to add annotations to resources. | | ||
| **backend** | object | Backend defines the active backend used by Eventing. | | ||
| **backend.​config** | object | Config defines configuration for eventing backend. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **backend.​config** | object | Config defines configuration for eventing backend. | | |
| **backend.​config** | object | Config defines configuration for the Eventing backend. | |
docs/user/02-configuration.md
Outdated
| **backend.​config** | object | Config defines configuration for eventing backend. | | ||
| **backend.​config.​domain** | string | Domain defines the cluster public domain used to configure the EventMesh Subscriptions | ||
and their corresponding ApiRules. | | ||
| **backend.​config.​eventMeshSecret** | string | EventMeshSecret defines the namespaced name of K8s Secret containing EventMesh credentials. The format of name is "namespace/name". | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **backend.​config.​eventMeshSecret** | string | EventMeshSecret defines the namespaced name of K8s Secret containing EventMesh credentials. The format of name is "namespace/name". | | |
| **backend.​config.​eventMeshSecret** | string | EventMeshSecret defines the namespaced name of the Kubernetes Secret containing EventMesh credentials. The format of name is "namespace/name". | |
docs/user/02-configuration.md
Outdated
| **backend.​config.​eventTypePrefix** | string | | | ||
| **backend.​config.​natsMaxMsgsPerTopic** | integer | NATSMaxMsgsPerTopic limits how many messages in the NATS stream to retain per subject. | | ||
| **backend.​config.​natsStreamMaxSize** | \{integer or string\} | NATSStreamMaxSize defines the maximum storage size for stream data. | | ||
| **backend.​config.​natsStreamReplicas** | integer | NATSStreamReplicas defines the number of replicas for stream. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **backend.​config.​natsStreamReplicas** | integer | NATSStreamReplicas defines the number of replicas for stream. | | |
| **backend.​config.​natsStreamReplicas** | integer | NATSStreamReplicas defines the number of replicas for each stream. | |
just guessing
docs/user/02-configuration.md
Outdated
| **publisher.​replicas.​min** | integer | Min defines minimum number of replicas. | | ||
| **publisher.​resources** | object | Resources defines resources for eventing-publisher-proxy. | | ||
| **publisher.​resources.​claims** | \[\]object | Claims lists the names of resources, defined in spec.resourceClaims, | ||
that are used by this container. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird line break
docs/user/02-configuration.md
Outdated
| **conditions.​message** (required) | string | message is a human readable message indicating details about the transition. | ||
This may be an empty string. | | ||
| **conditions.​observedGeneration** | integer | observedGeneration represents the .metadata.generation that the condition was set based upon. | ||
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date | |
For example, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
docs/user/02-configuration.md
Outdated
and whether the values are considered a guaranteed API. | ||
The value should be a CamelCase string. | ||
This field may not be empty. | | ||
| **conditions.​status** (required) | string | status of the condition, one of True, False, Unknown. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **conditions.​status** (required) | string | status of the condition, one of True, False, Unknown. | | |
| **conditions.​status** (required) | string | status of the condition, value must be either True, False, or Unknown. | |
docs/user/02-configuration.md
Outdated
| **conditions.​status** (required) | string | status of the condition, one of True, False, Unknown. | | ||
| **conditions.​type** (required) | string | type of condition in CamelCase or in foo.example.com/CamelCase. | ||
--- | ||
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be | |
Many .condition.type values, like Available, are consistent across resources, but because arbitrary conditions can be |
I think this is what you mean?
docs/user/02-configuration.md
Outdated
| **specHash** (required) | integer | | | ||
| **state** (required) | string | Can have one of the following values: Ready, Error, Processing, Warning. Ready state is set | ||
when all the resources are deployed successfully and backend is connected. | ||
It gets Warning state in case backend is not specified, NATS module is not installed, or EventMesh secret is missing in the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gets Warning state in case backend is not specified, NATS module is not installed, or EventMesh secret is missing in the cluster. | |
It gets Warning state if no backend is specified, NATS module is not installed, or EventMesh secret is missing in the cluster. |
docs/user/02-configuration.md
Outdated
| **state** (required) | string | Can have one of the following values: Ready, Error, Processing, Warning. Ready state is set | ||
when all the resources are deployed successfully and backend is connected. | ||
It gets Warning state in case backend is not specified, NATS module is not installed, or EventMesh secret is missing in the cluster. | ||
Error state is set when there is an error. Processing state is set if recources are being created or changed. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mean "backend not specified, NATs module not installed, Secret missing" are not errors?
The explanation for "Warning" is very specific, and the explanation for "Error" is extremely vague. Can we improve that?
@NHingerl the doc changes are auto generated. I will revert those changes for now, and will do it in a separate PR. |
2882210
to
73040a7
Compare
/hold cancel |
Description
Remove v1alpha1 subscription.
Related issue(s)