|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.16.3 |
| 6 | + creationTimestamp: null |
| 7 | + name: datadogdashboards.datadoghq.com |
| 8 | +spec: |
| 9 | + group: datadoghq.com |
| 10 | + names: |
| 11 | + kind: DatadogDashboard |
| 12 | + listKind: DatadogDashboardList |
| 13 | + plural: datadogdashboards |
| 14 | + shortNames: |
| 15 | + - ddd |
| 16 | + singular: datadogdashboard |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .status.id |
| 21 | + name: id |
| 22 | + type: string |
| 23 | + - jsonPath: .status.syncStatus |
| 24 | + name: sync status |
| 25 | + type: string |
| 26 | + - jsonPath: .metadata.creationTimestamp |
| 27 | + name: age |
| 28 | + type: date |
| 29 | + name: v1alpha1 |
| 30 | + schema: |
| 31 | + openAPIV3Schema: |
| 32 | + description: DatadogDashboard is the Schema for the datadogdashboards API |
| 33 | + properties: |
| 34 | + apiVersion: |
| 35 | + description: |- |
| 36 | + APIVersion defines the versioned schema of this representation of an object. |
| 37 | + Servers should convert recognized schemas to the latest internal value, and |
| 38 | + may reject unrecognized values. |
| 39 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 40 | + type: string |
| 41 | + kind: |
| 42 | + description: |- |
| 43 | + Kind is a string value representing the REST resource this object represents. |
| 44 | + Servers may infer this from the endpoint the client submits requests to. |
| 45 | + Cannot be updated. |
| 46 | + In CamelCase. |
| 47 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 48 | + type: string |
| 49 | + metadata: |
| 50 | + type: object |
| 51 | + spec: |
| 52 | + description: DatadogDashboardSpec defines the desired state of DatadogDashboard |
| 53 | + properties: |
| 54 | + description: |
| 55 | + description: Description is the description of the dashboard. |
| 56 | + type: string |
| 57 | + layoutType: |
| 58 | + description: LayoutType is the layout type of the dashboard. |
| 59 | + enum: |
| 60 | + - ordered |
| 61 | + - free |
| 62 | + type: string |
| 63 | + notifyList: |
| 64 | + description: NotifyList is the list of handles of users to notify |
| 65 | + when changes are made to this dashboard. |
| 66 | + items: |
| 67 | + type: string |
| 68 | + type: array |
| 69 | + x-kubernetes-list-type: set |
| 70 | + reflowType: |
| 71 | + description: |- |
| 72 | + Reflowtype is the reflow type for a 'new dashboard layout' dashboard. Set this only when layout type is 'ordered'. |
| 73 | + If set to 'fixed', the dashboard expects all widgets to have a layout, and if it's set to 'auto', |
| 74 | + widgets should not have layouts. |
| 75 | + type: string |
| 76 | + tags: |
| 77 | + description: Tags is a list of team names representing ownership of |
| 78 | + a dashboard. |
| 79 | + items: |
| 80 | + type: string |
| 81 | + type: array |
| 82 | + x-kubernetes-list-type: set |
| 83 | + templateVariablePresets: |
| 84 | + description: TemplateVariablePresets is an array of template variables |
| 85 | + saved views. |
| 86 | + items: |
| 87 | + description: DashboardTemplateVariablePreset Template variables |
| 88 | + saved views. |
| 89 | + properties: |
| 90 | + name: |
| 91 | + description: The name of the variable. |
| 92 | + type: string |
| 93 | + templateVariables: |
| 94 | + description: List of variables. |
| 95 | + items: |
| 96 | + description: DashboardTemplateVariablePresetValue Template |
| 97 | + variables saved views. |
| 98 | + properties: |
| 99 | + name: |
| 100 | + description: The name of the variable. |
| 101 | + type: string |
| 102 | + values: |
| 103 | + description: One or many template variable values within |
| 104 | + the saved view, which will be unioned together using |
| 105 | + `OR` if more than one is specified. Cannot be used in |
| 106 | + conjunction with `value`. |
| 107 | + items: |
| 108 | + type: string |
| 109 | + type: array |
| 110 | + x-kubernetes-list-type: set |
| 111 | + required: |
| 112 | + - name |
| 113 | + type: object |
| 114 | + type: array |
| 115 | + x-kubernetes-list-map-keys: |
| 116 | + - name |
| 117 | + x-kubernetes-list-type: map |
| 118 | + required: |
| 119 | + - name |
| 120 | + type: object |
| 121 | + type: array |
| 122 | + x-kubernetes-list-map-keys: |
| 123 | + - name |
| 124 | + x-kubernetes-list-type: map |
| 125 | + templateVariables: |
| 126 | + description: TemplateVariables is a list of template variables for |
| 127 | + this dashboard. |
| 128 | + items: |
| 129 | + description: DashboardTemplateVariable Template variable. |
| 130 | + properties: |
| 131 | + availableValues: |
| 132 | + description: The list of values that the template variable drop-down |
| 133 | + is limited to. |
| 134 | + items: |
| 135 | + type: string |
| 136 | + type: array |
| 137 | + defaults: |
| 138 | + description: One or many default values for template variables |
| 139 | + on load. If more than one default is specified, they will |
| 140 | + be unioned together with `OR`. Cannot be used in conjunction |
| 141 | + with `default`. |
| 142 | + items: |
| 143 | + type: string |
| 144 | + type: array |
| 145 | + x-kubernetes-list-type: set |
| 146 | + name: |
| 147 | + description: The name of the variable. |
| 148 | + type: string |
| 149 | + prefix: |
| 150 | + description: The tag prefix associated with the variable. Only |
| 151 | + tags with this prefix appear in the variable drop-down. |
| 152 | + type: string |
| 153 | + required: |
| 154 | + - name |
| 155 | + type: object |
| 156 | + type: array |
| 157 | + x-kubernetes-list-map-keys: |
| 158 | + - name |
| 159 | + x-kubernetes-list-type: map |
| 160 | + title: |
| 161 | + description: Title is the title of the dashboard. |
| 162 | + minLength: 1 |
| 163 | + type: string |
| 164 | + widgets: |
| 165 | + description: Widgets is a JSON string representation of a list of |
| 166 | + Datadog API Widgets |
| 167 | + type: string |
| 168 | + required: |
| 169 | + - layoutType |
| 170 | + - title |
| 171 | + type: object |
| 172 | + status: |
| 173 | + description: DatadogDashboardStatus defines the observed state of DatadogDashboard |
| 174 | + properties: |
| 175 | + conditions: |
| 176 | + description: Conditions represents the latest available observations |
| 177 | + of the state of a DatadogDashboard. |
| 178 | + items: |
| 179 | + description: Condition contains details for one aspect of the current |
| 180 | + state of this API Resource. |
| 181 | + properties: |
| 182 | + lastTransitionTime: |
| 183 | + description: |- |
| 184 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 185 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 186 | + format: date-time |
| 187 | + type: string |
| 188 | + message: |
| 189 | + description: |- |
| 190 | + message is a human readable message indicating details about the transition. |
| 191 | + This may be an empty string. |
| 192 | + maxLength: 32768 |
| 193 | + type: string |
| 194 | + observedGeneration: |
| 195 | + description: |- |
| 196 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 197 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 198 | + with respect to the current state of the instance. |
| 199 | + format: int64 |
| 200 | + minimum: 0 |
| 201 | + type: integer |
| 202 | + reason: |
| 203 | + description: |- |
| 204 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 205 | + Producers of specific condition types may define expected values and meanings for this field, |
| 206 | + and whether the values are considered a guaranteed API. |
| 207 | + The value should be a CamelCase string. |
| 208 | + This field may not be empty. |
| 209 | + maxLength: 1024 |
| 210 | + minLength: 1 |
| 211 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 212 | + type: string |
| 213 | + status: |
| 214 | + description: status of the condition, one of True, False, Unknown. |
| 215 | + enum: |
| 216 | + - "True" |
| 217 | + - "False" |
| 218 | + - Unknown |
| 219 | + type: string |
| 220 | + type: |
| 221 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 222 | + maxLength: 316 |
| 223 | + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ |
| 224 | + type: string |
| 225 | + required: |
| 226 | + - lastTransitionTime |
| 227 | + - message |
| 228 | + - reason |
| 229 | + - status |
| 230 | + - type |
| 231 | + type: object |
| 232 | + type: array |
| 233 | + x-kubernetes-list-map-keys: |
| 234 | + - type |
| 235 | + x-kubernetes-list-type: map |
| 236 | + created: |
| 237 | + description: Created is the time the dashboard was created. |
| 238 | + format: date-time |
| 239 | + type: string |
| 240 | + creator: |
| 241 | + description: Creator is the identity of the dashboard creator. |
| 242 | + type: string |
| 243 | + currentHash: |
| 244 | + description: |- |
| 245 | + CurrentHash tracks the hash of the current DatadogDashboardSpec to know |
| 246 | + if the Spec has changed and needs an update. |
| 247 | + type: string |
| 248 | + id: |
| 249 | + description: ID is the dashboard ID generated in Datadog. |
| 250 | + type: string |
| 251 | + lastForceSyncTime: |
| 252 | + description: LastForceSyncTime is the last time the API dashboard |
| 253 | + was last force synced with the DatadogDashboard resource |
| 254 | + format: date-time |
| 255 | + type: string |
| 256 | + syncStatus: |
| 257 | + description: SyncStatus shows the health of syncing the dashboard |
| 258 | + state to Datadog. |
| 259 | + type: string |
| 260 | + type: object |
| 261 | + type: object |
| 262 | + served: true |
| 263 | + storage: true |
| 264 | + subresources: |
| 265 | + status: {} |
| 266 | +status: |
| 267 | + acceptedNames: |
| 268 | + kind: "" |
| 269 | + plural: "" |
| 270 | + conditions: null |
| 271 | + storedVersions: null |
0 commit comments