You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "SecretKeySelector selects a key of a Secret."
1471
+
properties:
1472
+
key:
1473
+
description: "The key of the secret to select from. Must be a valid secret key."
1474
+
type: "string"
1475
+
name:
1476
+
default: ""
1477
+
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
1478
+
type: "string"
1479
+
optional:
1480
+
description: "Specify whether the Secret or its key must be defined"
1481
+
type: "boolean"
1482
+
required:
1483
+
- "key"
1484
+
type: "object"
1485
+
x-kubernetes-map-type: "atomic"
1486
+
type: "object"
1487
+
description: "CephConfigFromSecret works exactly like CephConfig but takes config value from Secret Key reference."
1488
+
nullable: true
1489
+
type: "object"
1490
+
type: object
1491
+
"#;
1492
+
1493
+
let schema:JSONSchemaProps = serde_yaml::from_str(schema_str).unwrap();
1494
+
1495
+
let structs = analyze(schema,"CephClusterSpec",Cfg::default()).unwrap().0;
0 commit comments