Skip to content

Commit

Permalink
Clarify DeploymentAnnotations doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Jan 25, 2024
1 parent a816b54 commit 75aeb9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/operators/v1alpha1/subscription_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ type SubscriptionConfig struct {
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,18,opt,name=affinity"`

// DeploymentAnnotations is an unstructured key value map stored with a resource that may be
// set by external tools to store and retrieve arbitrary metadata.
// DeploymentAnnotations is an unstructured key value map stored with each Deployment in the Operator.
// Typically, annotations may be set by external tools to store and retrieve arbitrary metadata.
// Use this field to pre-define annotations that OLM should add to each of the Subscription's deployments.
// +optional
DeploymentAnnotations map[string]string `json:"deploymentAnnotations,omitempty" protobuf:"bytes,12,rep,name=deploymentAnnotations"`
}
Expand Down

0 comments on commit 75aeb9d

Please sign in to comment.