|
55 | 55 | url: |
56 | 56 | description: URL is the url of apiserver endpoint of the managed cluster. |
57 | 57 | type: string |
| 58 | + hubApiServerHostAlias: |
| 59 | + description: HubApiServerHostAlias contains the host alias for hub api server. registration-agent and work-agent will use it to communicate with hub api server. |
| 60 | + type: object |
| 61 | + required: |
| 62 | + - hostname |
| 63 | + - ip |
| 64 | + properties: |
| 65 | + hostname: |
| 66 | + description: Hostname for the above IP address. |
| 67 | + type: string |
| 68 | + pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$ |
| 69 | + ip: |
| 70 | + description: IP address of the host file entry. |
| 71 | + type: string |
| 72 | + pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ |
58 | 73 | namespace: |
59 | | - description: 'Namespace is the namespace to deploy the agent. The namespace must have a prefix of "open-cluster-management-", and if it is not set, the namespace of "open-cluster-management-agent" is used to deploy agent. Note: in Detach mode, this field will be **ignored**, the agent will be deployed to the namespace with the same name as klusterlet.' |
| 74 | + description: Namespace is the namespace to deploy the agent on the managed cluster. The namespace must have a prefix of "open-cluster-management-", and if it is not set, the namespace of "open-cluster-management-agent" is used to deploy agent. In addition, the add-ons are deployed to the namespace of "{Namespace}-addon". In the Hosted mode, this namespace still exists on the managed cluster to contain necessary resources, like service accounts, roles and rolebindings, while the agent is deployed to the namespace with the same name as klusterlet on the management cluster. |
60 | 75 | type: string |
| 76 | + maxLength: 63 |
| 77 | + pattern: ^open-cluster-management-[-a-z0-9]*[a-z0-9]$ |
61 | 78 | nodePlacement: |
62 | 79 | description: NodePlacement enables explicit control over the scheduling of the deployed pods. |
63 | 80 | type: object |
@@ -90,6 +107,28 @@ spec: |
90 | 107 | value: |
91 | 108 | description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
92 | 109 | type: string |
| 110 | + registrationConfiguration: |
| 111 | + description: RegistrationConfiguration contains the configuration of registration |
| 112 | + type: object |
| 113 | + properties: |
| 114 | + featureGates: |
| 115 | + description: "FeatureGates represents the list of feature gates for registration If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, \the can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false." |
| 116 | + type: array |
| 117 | + items: |
| 118 | + type: object |
| 119 | + required: |
| 120 | + - feature |
| 121 | + properties: |
| 122 | + feature: |
| 123 | + description: Feature is the key of feature gate. e.g. featuregate/Foo. |
| 124 | + type: string |
| 125 | + mode: |
| 126 | + description: Mode is either Enable, Disable, "" where "" is Disable by default. In Enable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=true". In Disable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=false". |
| 127 | + type: string |
| 128 | + default: Disable |
| 129 | + enum: |
| 130 | + - Enable |
| 131 | + - Disable |
93 | 132 | registrationImagePullSpec: |
94 | 133 | description: RegistrationImagePullSpec represents the desired image configuration of registration agent. quay.io/open-cluster-management.io/registration:latest will be used if unspecified. |
95 | 134 | type: string |
|
0 commit comments