APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kindstring
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataobject
specobjectrequired
GrafanaManifestSpec defines the desired state of a GrafanaManifest
allowCrossNamespaceImportboolean
Allow the Operator to match this resource with Grafanas outside the current namespace
instanceSelectorobjectrequired
Selects Grafana instances for import
matchExpressions[]object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
keystringrequired
key is the label key that the selector applies to.
operatorstringrequired
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabelsobject
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
patchobject
env[]object
namestringrequired
valueFromobjectrequired
configMapKeyRefobject
Selects a key of a ConfigMap.
keystringrequired
The key to select.
namestring
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optionalboolean
Specify whether the ConfigMap or its key must be defined
grafanaRefobject
ObjectFieldSelector selects an APIVersioned field of an object.
apiVersionstring
Version of the schema the FieldPath is written in terms of, defaults to "v1".
fieldPathstringrequired
Path of the field to select in the specified API version.
secretKeyRefobject
Selects a key of a Secret.
keystringrequired
The key of the secret to select from. Must be a valid secret key.
namestring
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optionalboolean
Specify whether the Secret or its key must be defined
scripts[]stringrequired
resyncPeriodstring
How often the resource is synced, defaults to 10m0s if not set
Suspend pauses synchronizing attempts and tells the operator to ignore changes
templateobjectrequired
apiVersionstringrequired
APIVersion defines the versioned schema of this representation of an object.
kindstringrequired
Kind is a string value representing the REST resource this object represents.
metadataobjectrequired
RequiredObjectMeta contains only a [subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#objectmeta-v1-meta).
It requires `name` to be set
annotationsobject
labelsobject
namestringrequired
namespacestring
specobject
statusobject
GrafanaManifestStatus defines the observed state of GrafanaManifest
conditions[]object
Results when synchronizing resource with Grafana instances
lastTransitionTimestringrequired
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
messagestringrequired
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength: 32768
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
reasonstringrequired
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.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
statusstringrequired
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
typestringrequired
type of condition in CamelCase or in foo.example.com/CamelCase.