Skip to content

Commit 24a990e

Browse files
committed
Be clear about secretName restrictions
1 parent 1832f4b commit 24a990e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/apis/common/v1/common.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ type ObjectSelector struct {
115115
ServiceName string `json:"serviceName,omitempty"`
116116

117117
// SecretName is the name of an existing Kubernetes secret that contains connection information for associating an
118-
// Elastic resource not managed by the operator. The referenced secret must contain the following:
118+
// Elastic resource not managed by the operator.
119+
// SecretName is only supported for monitoring associations. Refer to https://www.elastic.co/docs/deploy-manage/monitor/stack-monitoring/eck-stack-monitoring#k8s_connect_to_an_external_monitoring_elasticsearch_cluster
120+
// The referenced secret must contain the following:
119121
// - `url`: the URL to reach the Elastic resource
120122
// - `username`: the username of the user to be authenticated to the Elastic resource
121123
// - `password`: the password of the user to be authenticated to the Elastic resource

0 commit comments

Comments
 (0)