|
190 | 190 | }, |
191 | 191 | { |
192 | 192 | "key": "prefix", |
193 | | - "required": true |
| 193 | + "required": true, |
| 194 | + "value_constraint": { |
| 195 | + "type": "regex", |
| 196 | + "description": "Prefix must begin with a lowercase letter and may contain only lowercase letters, digits, and hyphens '-'. It must not end with a hyphen('-'), and cannot contain consecutive hyphens ('--'). It should not exceed 16 characters", |
| 197 | + "value": "^$|^__NULL__$|^[a-z](?!.*--)[a-z0-9-]{0,14}[a-z0-9]$" |
| 198 | + } |
194 | 199 | }, |
195 | 200 | { |
196 | 201 | "key": "cluster_name", |
|
655 | 660 | "key": "kms_encryption_enabled_cluster" |
656 | 661 | }, |
657 | 662 | { |
658 | | - "key": "existing_kms_instance_crn" |
| 663 | + "key": "existing_kms_instance_crn", |
| 664 | + "value_constraint": { |
| 665 | + "type": "regex", |
| 666 | + "description": "The value provided for 'existing_kms_instance_crn' is not valid.", |
| 667 | + "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" |
| 668 | + } |
659 | 669 | }, |
660 | 670 | { |
661 | | - "key": "existing_cluster_kms_key_crn" |
| 671 | + "key": "existing_cluster_kms_key_crn", |
| 672 | + "value_constraint": { |
| 673 | + "type": "regex", |
| 674 | + "description": "The value provided for 'existing_cluster_kms_key_crn' in not valid.", |
| 675 | + "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" |
| 676 | + } |
662 | 677 | }, |
663 | 678 | { |
664 | 679 | "key": "kms_endpoint_type", |
|
684 | 699 | "key": "kms_encryption_enabled_boot_volume" |
685 | 700 | }, |
686 | 701 | { |
687 | | - "key": "existing_boot_volume_kms_key_crn" |
| 702 | + "key": "existing_boot_volume_kms_key_crn", |
| 703 | + "value_constraint": { |
| 704 | + "type": "regex", |
| 705 | + "description": "The value provided for 'existing_boot_volume_kms_key_crn' in not valid.", |
| 706 | + "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" |
| 707 | + } |
688 | 708 | }, |
689 | 709 | { |
690 | 710 | "key": "boot_volume_kms_key_name" |
|
776 | 796 | "hidden": true |
777 | 797 | }, |
778 | 798 | { |
779 | | - "key":"enable_kube_audit" |
| 799 | + "key": "enable_kube_audit" |
780 | 800 | }, |
781 | 801 | { |
782 | 802 | "key": "audit_deployment_name" |
|
0 commit comments