Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

Commit

Permalink
PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Harwayne committed May 8, 2020
1 parent 1d13380 commit 3693559
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/apis/pubsub/internal/deprecated_condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ import (
)

const deprecationMessage = "This Kind is deprecated and the CRD has been made 'internal'. This " +
"means, end-users should not create objects of this CRD directly. If you need a non-internal " +
"means, end users should not create objects of this CRD directly. If you need a non-internal " +
"variant, then please let us know by commenting on " +
"https://github.com/google/knative-gcp/issues/905. Moreover, the object must be deleted " +
"before upgrading to 0.16 to avoid orphaning the Google Cloud Platform resources that were " +
"created on-behalf of this object, such as Pub/Sub Topics and Subscriptions."
"created on behalf of this object, such as Pub/Sub Topics and Subscriptions."

// deprecatedCondition is the condition to add to types that will be removed in 0.16.
// See https://github.com/google/knative-gcp/issues/905 for more context.
var deprecatedCondition = apis.Condition{
Type: "Deprecated",
Reason: "willBeRemoved",
Reason: "WillBeRemoved",
Status: corev1.ConditionTrue,
Severity: apis.ConditionSeverityWarning,
Message: deprecationMessage,
Expand Down

0 comments on commit 3693559

Please sign in to comment.