|
| 1 | +{ |
| 2 | + "description": "ClusterAuth is used to retrieve Kubeconfig of given EKS cluster.", |
| 3 | + "properties": { |
| 4 | + "apiVersion": { |
| 5 | + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", |
| 6 | + "type": "string" |
| 7 | + }, |
| 8 | + "kind": { |
| 9 | + "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 10 | + "type": "string" |
| 11 | + }, |
| 12 | + "metadata": { |
| 13 | + "type": "object" |
| 14 | + }, |
| 15 | + "spec": { |
| 16 | + "description": "ClusterAuthSpec defines the desired state of ClusterAuth", |
| 17 | + "properties": { |
| 18 | + "forProvider": { |
| 19 | + "properties": { |
| 20 | + "clusterName": { |
| 21 | + "description": "ClusterName is the name of the cluster you'd like to fetch Kubeconfig of.\nEither ClusterName, ClusterNameRef or ClusterNameSelector has to be given.", |
| 22 | + "type": "string" |
| 23 | + }, |
| 24 | + "clusterNameRef": { |
| 25 | + "description": "Reference to a Cluster to populate clusterName.\nEither ClusterName, ClusterNameRef or ClusterNameSelector has to be given.", |
| 26 | + "properties": { |
| 27 | + "name": { |
| 28 | + "description": "Name of the referenced object.", |
| 29 | + "type": "string" |
| 30 | + }, |
| 31 | + "namespace": { |
| 32 | + "description": "Namespace of the referenced object", |
| 33 | + "type": "string" |
| 34 | + }, |
| 35 | + "policy": { |
| 36 | + "description": "Policies for referencing.", |
| 37 | + "properties": { |
| 38 | + "resolution": { |
| 39 | + "default": "Required", |
| 40 | + "description": "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved.", |
| 41 | + "enum": [ |
| 42 | + "Required", |
| 43 | + "Optional" |
| 44 | + ], |
| 45 | + "type": "string" |
| 46 | + }, |
| 47 | + "resolve": { |
| 48 | + "description": "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile.", |
| 49 | + "enum": [ |
| 50 | + "Always", |
| 51 | + "IfNotPresent" |
| 52 | + ], |
| 53 | + "type": "string" |
| 54 | + } |
| 55 | + }, |
| 56 | + "type": "object", |
| 57 | + "additionalProperties": false |
| 58 | + } |
| 59 | + }, |
| 60 | + "required": [ |
| 61 | + "name" |
| 62 | + ], |
| 63 | + "type": "object", |
| 64 | + "additionalProperties": false |
| 65 | + }, |
| 66 | + "clusterNameSelector": { |
| 67 | + "description": "Selector for a Cluster to populate clusterName.\nEither ClusterName, ClusterNameRef or ClusterNameSelector has to be given.", |
| 68 | + "properties": { |
| 69 | + "matchControllerRef": { |
| 70 | + "description": "MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected.", |
| 71 | + "type": "boolean" |
| 72 | + }, |
| 73 | + "matchLabels": { |
| 74 | + "additionalProperties": { |
| 75 | + "type": "string" |
| 76 | + }, |
| 77 | + "description": "MatchLabels ensures an object with matching labels is selected.", |
| 78 | + "type": "object" |
| 79 | + }, |
| 80 | + "namespace": { |
| 81 | + "description": "Namespace for the selector", |
| 82 | + "type": "string" |
| 83 | + }, |
| 84 | + "policy": { |
| 85 | + "description": "Policies for selection.", |
| 86 | + "properties": { |
| 87 | + "resolution": { |
| 88 | + "default": "Required", |
| 89 | + "description": "Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved.", |
| 90 | + "enum": [ |
| 91 | + "Required", |
| 92 | + "Optional" |
| 93 | + ], |
| 94 | + "type": "string" |
| 95 | + }, |
| 96 | + "resolve": { |
| 97 | + "description": "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile.", |
| 98 | + "enum": [ |
| 99 | + "Always", |
| 100 | + "IfNotPresent" |
| 101 | + ], |
| 102 | + "type": "string" |
| 103 | + } |
| 104 | + }, |
| 105 | + "type": "object", |
| 106 | + "additionalProperties": false |
| 107 | + } |
| 108 | + }, |
| 109 | + "type": "object", |
| 110 | + "additionalProperties": false |
| 111 | + }, |
| 112 | + "refreshPeriod": { |
| 113 | + "default": "10m0s", |
| 114 | + "description": "RefreshPeriod is how frequently you'd like the token in the published\nKubeconfig to be refreshed. The maximum is 10m0s.\nThe default is 10m0s.", |
| 115 | + "type": "string" |
| 116 | + }, |
| 117 | + "region": { |
| 118 | + "description": "Region is the region you'd like your resource to be created in.", |
| 119 | + "type": "string" |
| 120 | + } |
| 121 | + }, |
| 122 | + "required": [ |
| 123 | + "region" |
| 124 | + ], |
| 125 | + "type": "object", |
| 126 | + "additionalProperties": false |
| 127 | + }, |
| 128 | + "managementPolicies": { |
| 129 | + "default": [ |
| 130 | + "*" |
| 131 | + ], |
| 132 | + "description": "THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md", |
| 133 | + "items": { |
| 134 | + "description": "A ManagementAction represents an action that the Crossplane controllers\ncan take on an external resource.", |
| 135 | + "enum": [ |
| 136 | + "Observe", |
| 137 | + "Create", |
| 138 | + "Update", |
| 139 | + "Delete", |
| 140 | + "LateInitialize", |
| 141 | + "*" |
| 142 | + ], |
| 143 | + "type": "string" |
| 144 | + }, |
| 145 | + "type": "array" |
| 146 | + }, |
| 147 | + "providerConfigRef": { |
| 148 | + "default": { |
| 149 | + "kind": "ClusterProviderConfig", |
| 150 | + "name": "default" |
| 151 | + }, |
| 152 | + "description": "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.", |
| 153 | + "properties": { |
| 154 | + "kind": { |
| 155 | + "description": "Kind of the referenced object.", |
| 156 | + "type": "string" |
| 157 | + }, |
| 158 | + "name": { |
| 159 | + "description": "Name of the referenced object.", |
| 160 | + "type": "string" |
| 161 | + } |
| 162 | + }, |
| 163 | + "required": [ |
| 164 | + "kind", |
| 165 | + "name" |
| 166 | + ], |
| 167 | + "type": "object", |
| 168 | + "additionalProperties": false |
| 169 | + }, |
| 170 | + "writeConnectionSecretToRef": { |
| 171 | + "description": "WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.", |
| 172 | + "properties": { |
| 173 | + "name": { |
| 174 | + "description": "Name of the secret.", |
| 175 | + "type": "string" |
| 176 | + } |
| 177 | + }, |
| 178 | + "required": [ |
| 179 | + "name" |
| 180 | + ], |
| 181 | + "type": "object", |
| 182 | + "additionalProperties": false |
| 183 | + } |
| 184 | + }, |
| 185 | + "required": [ |
| 186 | + "forProvider" |
| 187 | + ], |
| 188 | + "type": "object", |
| 189 | + "additionalProperties": false |
| 190 | + }, |
| 191 | + "status": { |
| 192 | + "description": "ClusterAuthStatus defines the observed state of ClusterAuth.", |
| 193 | + "properties": { |
| 194 | + "atProvider": { |
| 195 | + "properties": { |
| 196 | + "lastRefreshTime": { |
| 197 | + "description": "LastRefreshTime is the time when the token was refreshed.", |
| 198 | + "format": "date-time", |
| 199 | + "type": "string" |
| 200 | + } |
| 201 | + }, |
| 202 | + "type": "object", |
| 203 | + "additionalProperties": false |
| 204 | + }, |
| 205 | + "conditions": { |
| 206 | + "description": "Conditions of the resource.", |
| 207 | + "items": { |
| 208 | + "description": "A Condition that may apply to a resource.", |
| 209 | + "properties": { |
| 210 | + "lastTransitionTime": { |
| 211 | + "description": "LastTransitionTime is the last time this condition transitioned from one\nstatus to another.", |
| 212 | + "format": "date-time", |
| 213 | + "type": "string" |
| 214 | + }, |
| 215 | + "message": { |
| 216 | + "description": "A Message containing details about this condition's last transition from\none status to another, if any.", |
| 217 | + "type": "string" |
| 218 | + }, |
| 219 | + "observedGeneration": { |
| 220 | + "description": "ObservedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.", |
| 221 | + "format": "int64", |
| 222 | + "type": "integer" |
| 223 | + }, |
| 224 | + "reason": { |
| 225 | + "description": "A Reason for this condition's last transition from one status to another.", |
| 226 | + "type": "string" |
| 227 | + }, |
| 228 | + "status": { |
| 229 | + "description": "Status of this condition; is it currently True, False, or Unknown?", |
| 230 | + "type": "string" |
| 231 | + }, |
| 232 | + "type": { |
| 233 | + "description": "Type of this condition. At most one of each condition type may apply to\na resource at any point in time.", |
| 234 | + "type": "string" |
| 235 | + } |
| 236 | + }, |
| 237 | + "required": [ |
| 238 | + "lastTransitionTime", |
| 239 | + "reason", |
| 240 | + "status", |
| 241 | + "type" |
| 242 | + ], |
| 243 | + "type": "object", |
| 244 | + "additionalProperties": false |
| 245 | + }, |
| 246 | + "type": "array", |
| 247 | + "x-kubernetes-list-map-keys": [ |
| 248 | + "type" |
| 249 | + ], |
| 250 | + "x-kubernetes-list-type": "map" |
| 251 | + }, |
| 252 | + "observedGeneration": { |
| 253 | + "description": "ObservedGeneration is the latest metadata.generation\nwhich resulted in either a ready state, or stalled due to error\nit can not recover from without human intervention.", |
| 254 | + "format": "int64", |
| 255 | + "type": "integer" |
| 256 | + } |
| 257 | + }, |
| 258 | + "type": "object", |
| 259 | + "additionalProperties": false |
| 260 | + } |
| 261 | + }, |
| 262 | + "required": [ |
| 263 | + "spec" |
| 264 | + ], |
| 265 | + "type": "object" |
| 266 | +} |
0 commit comments