From 9fb26e31f38b7278c7e0ee91ba96816878c047cd Mon Sep 17 00:00:00 2001 From: ste Date: Wed, 20 Nov 2024 21:57:11 +0100 Subject: [PATCH] docs: Generate --- ...ntegreatly.org_grafanaalertrulegroups.yaml | 6 +- ....integreatly.org_grafanacontactpoints.yaml | 8 +- ...ana.integreatly.org_grafanadashboards.yaml | 1 + ...na.integreatly.org_grafanadatasources.yaml | 57 +++++ ...rafana.integreatly.org_grafanafolders.yaml | 4 +- ...eatly.org_grafananotificationpolicies.yaml | 6 +- .../grafana.integreatly.org_grafanas.yaml | 57 +++++ ...ntegreatly.org_grafanaalertrulegroups.yaml | 6 +- ....integreatly.org_grafanacontactpoints.yaml | 8 +- ...ana.integreatly.org_grafanadashboards.yaml | 1 + ...na.integreatly.org_grafanadatasources.yaml | 57 +++++ ...rafana.integreatly.org_grafanafolders.yaml | 4 +- ...eatly.org_grafananotificationpolicies.yaml | 6 +- .../grafana.integreatly.org_grafanas.yaml | 57 +++++ deploy/kustomize/base/crds.yaml | 139 ++++++++++-- docs/docs/api.md | 200 ++++++++++++++++-- 16 files changed, 549 insertions(+), 68 deletions(-) diff --git a/config/crd/bases/grafana.integreatly.org_grafanaalertrulegroups.yaml b/config/crd/bases/grafana.integreatly.org_grafanaalertrulegroups.yaml index cce7dc33c..7708a5d64 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanaalertrulegroups.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanaalertrulegroups.yaml @@ -243,10 +243,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaAlertRuleGroupStatus defines the observed state of - GrafanaAlertRuleGroup + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -302,8 +302,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/config/crd/bases/grafana.integreatly.org_grafanacontactpoints.yaml b/config/crd/bases/grafana.integreatly.org_grafanacontactpoints.yaml index 056320b0e..3c20c7123 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanacontactpoints.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanacontactpoints.yaml @@ -211,12 +211,10 @@ spec: rule: ((!has(oldSelf.uid) && !has(self.uid)) || (has(oldSelf.uid) && has(self.uid))) status: - description: GrafanaContactPointStatus defines the observed state of GrafanaContactPoint + description: The most recent observed state of a Grafana resource properties: conditions: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -272,8 +270,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/config/crd/bases/grafana.integreatly.org_grafanadashboards.yaml b/config/crd/bases/grafana.integreatly.org_grafanadashboards.yaml index 0c4113303..d21305b01 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanadashboards.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanadashboards.yaml @@ -416,6 +416,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. diff --git a/config/crd/bases/grafana.integreatly.org_grafanadatasources.yaml b/config/crd/bases/grafana.integreatly.org_grafanadatasources.yaml index 28596b2a5..fd2eb5cba 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanadatasources.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanadatasources.yaml @@ -251,6 +251,63 @@ spec: description: The datasource instanceSelector can't find matching grafana instances type: boolean + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array hash: type: string lastMessage: diff --git a/config/crd/bases/grafana.integreatly.org_grafanafolders.yaml b/config/crd/bases/grafana.integreatly.org_grafanafolders.yaml index 080826c69..d20037fcc 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanafolders.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanafolders.yaml @@ -148,6 +148,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -204,9 +205,6 @@ spec: type: object type: array hash: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file type: string lastResync: description: Last time the folder was resynced diff --git a/config/crd/bases/grafana.integreatly.org_grafananotificationpolicies.yaml b/config/crd/bases/grafana.integreatly.org_grafananotificationpolicies.yaml index 9270f4559..e4383708a 100644 --- a/config/crd/bases/grafana.integreatly.org_grafananotificationpolicies.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafananotificationpolicies.yaml @@ -185,10 +185,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaNotificationPolicyStatus defines the observed state - of GrafanaNotificationPolicy + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -244,8 +244,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/config/crd/bases/grafana.integreatly.org_grafanas.yaml b/config/crd/bases/grafana.integreatly.org_grafanas.yaml index b894e3386..4358e35bd 100644 --- a/config/crd/bases/grafana.integreatly.org_grafanas.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafanas.yaml @@ -9408,6 +9408,63 @@ spec: properties: adminUrl: type: string + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array dashboards: items: type: string diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanaalertrulegroups.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanaalertrulegroups.yaml index cce7dc33c..7708a5d64 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanaalertrulegroups.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanaalertrulegroups.yaml @@ -243,10 +243,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaAlertRuleGroupStatus defines the observed state of - GrafanaAlertRuleGroup + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -302,8 +302,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanacontactpoints.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanacontactpoints.yaml index 056320b0e..3c20c7123 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanacontactpoints.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanacontactpoints.yaml @@ -211,12 +211,10 @@ spec: rule: ((!has(oldSelf.uid) && !has(self.uid)) || (has(oldSelf.uid) && has(self.uid))) status: - description: GrafanaContactPointStatus defines the observed state of GrafanaContactPoint + description: The most recent observed state of a Grafana resource properties: conditions: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -272,8 +270,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadashboards.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadashboards.yaml index 0c4113303..d21305b01 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadashboards.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadashboards.yaml @@ -416,6 +416,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadatasources.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadatasources.yaml index 28596b2a5..fd2eb5cba 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadatasources.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanadatasources.yaml @@ -251,6 +251,63 @@ spec: description: The datasource instanceSelector can't find matching grafana instances type: boolean + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array hash: type: string lastMessage: diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanafolders.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanafolders.yaml index 080826c69..d20037fcc 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanafolders.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanafolders.yaml @@ -148,6 +148,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -204,9 +205,6 @@ spec: type: object type: array hash: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file type: string lastResync: description: Last time the folder was resynced diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicies.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicies.yaml index 9270f4559..e4383708a 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicies.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicies.yaml @@ -185,10 +185,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaNotificationPolicyStatus defines the observed state - of GrafanaNotificationPolicy + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -244,8 +244,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanas.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanas.yaml index b894e3386..4358e35bd 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanas.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafanas.yaml @@ -9408,6 +9408,63 @@ spec: properties: adminUrl: type: string + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array dashboards: items: type: string diff --git a/deploy/kustomize/base/crds.yaml b/deploy/kustomize/base/crds.yaml index f8ad98dc9..a744e735e 100644 --- a/deploy/kustomize/base/crds.yaml +++ b/deploy/kustomize/base/crds.yaml @@ -242,10 +242,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaAlertRuleGroupStatus defines the observed state of - GrafanaAlertRuleGroup + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -301,8 +301,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true @@ -522,12 +520,10 @@ spec: rule: ((!has(oldSelf.uid) && !has(self.uid)) || (has(oldSelf.uid) && has(self.uid))) status: - description: GrafanaContactPointStatus defines the observed state of GrafanaContactPoint + description: The most recent observed state of a Grafana resource properties: conditions: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -583,8 +579,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true @@ -1009,6 +1003,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -1339,6 +1334,63 @@ spec: description: The datasource instanceSelector can't find matching grafana instances type: boolean + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array hash: type: string lastMessage: @@ -1505,6 +1557,7 @@ spec: instances type: boolean conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -1561,9 +1614,6 @@ spec: type: object type: array hash: - description: |- - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster - Important: Run "make" to regenerate code after modifying this file type: string lastResync: description: Last time the folder was resynced @@ -1762,10 +1812,10 @@ spec: rule: ((!has(oldSelf.editable) && !has(self.editable)) || (has(oldSelf.editable) && has(self.editable))) status: - description: GrafanaNotificationPolicyStatus defines the observed state - of GrafanaNotificationPolicy + description: The most recent observed state of a Grafana resource properties: conditions: + description: Results when synchonizing resource with Grafana instances items: description: Condition contains details for one aspect of the current state of this API Resource. @@ -1821,8 +1871,6 @@ spec: - type type: object type: array - required: - - conditions type: object type: object served: true @@ -11239,6 +11287,63 @@ spec: properties: adminUrl: type: string + conditions: + description: Results when synchonizing resource with Grafana instances + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array dashboards: items: type: string diff --git a/docs/docs/api.md b/docs/docs/api.md index a5d283a5f..501a7fb60 100644 --- a/docs/docs/api.md +++ b/docs/docs/api.md @@ -77,7 +77,7 @@ GrafanaAlertRuleGroup is the Schema for the grafanaalertrulegroups API status object - GrafanaAlertRuleGroupStatus defines the observed state of GrafanaAlertRuleGroup
+ The most recent observed state of a Grafana resource
false @@ -523,7 +523,7 @@ relative time range -GrafanaAlertRuleGroupStatus defines the observed state of GrafanaAlertRuleGroup +The most recent observed state of a Grafana resource @@ -538,9 +538,9 @@ GrafanaAlertRuleGroupStatus defines the observed state of GrafanaAlertRuleGroup - +
conditions []object -
+ Results when synchonizing resource with Grafana instances
truefalse
@@ -670,7 +670,7 @@ GrafanaContactPoint is the Schema for the grafanacontactpoints API status object - GrafanaContactPointStatus defines the observed state of GrafanaContactPoint
+ The most recent observed state of a Grafana resource
false @@ -1020,7 +1020,7 @@ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/nam -GrafanaContactPointStatus defines the observed state of GrafanaContactPoint +The most recent observed state of a Grafana resource @@ -1035,10 +1035,9 @@ GrafanaContactPointStatus defines the observed state of GrafanaContactPoint - +
conditions []object - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster -Important: Run "make" to regenerate code after modifying this file
+ Results when synchonizing resource with Grafana instances
truefalse
@@ -2097,7 +2096,7 @@ GrafanaDashboardStatus defines the observed state of GrafanaDashboard conditions []object -
+ Results when synchonizing resource with Grafana instances
false @@ -2783,6 +2782,13 @@ GrafanaDatasourceStatus defines the observed state of GrafanaDatasource The datasource instanceSelector can't find matching grafana instances
false + + conditions + []object + + Results when synchonizing resource with Grafana instances
+ + false hash string @@ -2816,6 +2822,83 @@ GrafanaDatasourceStatus defines the observed state of GrafanaDatasource + +### GrafanaDatasource.status.conditions[index] +[↩ Parent](#grafanadatasourcestatus) + + + +Condition contains details for one aspect of the current state of this API Resource. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionRequired
lastTransitionTimestring + lastTransitionTime is the last time the condition transitioned from one status to another. +This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
+
+ Format: date-time
+
true
messagestring + message is a human readable message indicating details about the transition. +This may be an empty string.
+
true
reasonstring + reason contains a programmatic identifier indicating the reason for the condition's last transition. +Producers of specific condition types may define expected values and meanings for this field, +and whether the values are considered a guaranteed API. +The value should be a CamelCase string. +This field may not be empty.
+
true
statusenum + status of the condition, one of True, False, Unknown.
+
+ Enum: True, False, Unknown
+
true
typestring + type of condition in CamelCase or in foo.example.com/CamelCase.
+
true
observedGenerationinteger + observedGeneration represents the .metadata.generation that the condition was set based upon. +For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date +with respect to the current state of the instance.
+
+ Format: int64
+ Minimum: 0
+
false
+ ## GrafanaFolder [↩ Parent](#grafanaintegreatlyorgv1beta1 ) @@ -3064,15 +3147,14 @@ GrafanaFolderStatus defines the observed state of GrafanaFolder conditions []object -
+ Results when synchonizing resource with Grafana instances
false hash string - INSERT ADDITIONAL STATUS FIELD - define observed state of cluster -Important: Run "make" to regenerate code after modifying this file
+
false @@ -3213,7 +3295,7 @@ GrafanaNotificationPolicy is the Schema for the GrafanaNotificationPolicy API status object - GrafanaNotificationPolicyStatus defines the observed state of GrafanaNotificationPolicy
+ The most recent observed state of a Grafana resource
false @@ -3514,7 +3596,7 @@ Routes for alerts to match against -GrafanaNotificationPolicyStatus defines the observed state of GrafanaNotificationPolicy +The most recent observed state of a Grafana resource @@ -3529,9 +3611,9 @@ GrafanaNotificationPolicyStatus defines the observed state of GrafanaNotificatio - +
conditions []object -
+ Results when synchonizing resource with Grafana instances
truefalse
@@ -22097,6 +22179,13 @@ GrafanaStatus defines the observed state of Grafana
false + + conditions + []object + + Results when synchonizing resource with Grafana instances
+ + false dashboards []string @@ -22148,3 +22237,80 @@ GrafanaStatus defines the observed state of Grafana false + + +### Grafana.status.conditions[index] +[↩ Parent](#grafanastatus) + + + +Condition contains details for one aspect of the current state of this API Resource. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionRequired
lastTransitionTimestring + lastTransitionTime is the last time the condition transitioned from one status to another. +This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
+
+ Format: date-time
+
true
messagestring + message is a human readable message indicating details about the transition. +This may be an empty string.
+
true
reasonstring + reason contains a programmatic identifier indicating the reason for the condition's last transition. +Producers of specific condition types may define expected values and meanings for this field, +and whether the values are considered a guaranteed API. +The value should be a CamelCase string. +This field may not be empty.
+
true
statusenum + status of the condition, one of True, False, Unknown.
+
+ Enum: True, False, Unknown
+
true
typestring + type of condition in CamelCase or in foo.example.com/CamelCase.
+
true
observedGenerationinteger + observedGeneration represents the .metadata.generation that the condition was set based upon. +For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date +with respect to the current state of the instance.
+
+ Format: int64
+ Minimum: 0
+
false