Skip to content

Commit 5e6ec66

Browse files
committed
fix links in docs
1 parent c541acc commit 5e6ec66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/stackable-operator/src/validation.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub fn is_domain(value: &str) -> Result {
217217
}
218218

219219
/// Tests for a string that conforms to the kubernetes-specific definition of a label in DNS (RFC 1123)
220-
/// used in Namespace names, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names
220+
/// used in Namespace names, see: [Kubernetes Docs](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names)
221221
/// Maximum label length supported by k8s is 63 characters (minimum required).
222222
pub fn is_lowercase_rfc_1123_label(value: &str) -> Result {
223223
validate_all([
@@ -232,7 +232,7 @@ pub fn is_lowercase_rfc_1123_label(value: &str) -> Result {
232232
}
233233

234234
/// Tests for a string that conforms to the kubernetes-specific definition of a subdomain in DNS (RFC 1123)
235-
/// used in ConfigMap names, see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names
235+
/// used in ConfigMap names, see [Kubernetes Docs](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names)
236236
pub fn is_lowercase_rfc_1123_subdomain(value: &str) -> Result {
237237
validate_all([
238238
validate_str_length(value, RFC_1123_SUBDOMAIN_MAX_LENGTH),
@@ -246,7 +246,7 @@ pub fn is_lowercase_rfc_1123_subdomain(value: &str) -> Result {
246246
}
247247

248248
/// Tests for a string that conforms to the kubernetes-specific definition of a label in DNS (RFC 1035)
249-
/// used in Service names, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names
249+
/// used in Service names, see: [Kubernetes Docs](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names)
250250
pub fn is_lowercase_rfc_1035_label(value: &str) -> Result {
251251
validate_all([
252252
validate_str_length(value, RFC_1035_LABEL_MAX_LENGTH),

0 commit comments

Comments
 (0)