Managed Grafana

1 resource kind. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

GrafanaWorkspace # GA

GrafanaWorkspace is the Schema for managing Amazon Managed Grafana workspaces.

kubectl get grafanaworkspaces · example on GitHub

Example

# GrafanaWorkspace — Managed Grafana
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/grafana.html#grafanaworkspace
apiVersion: aws.konfig.io/v1alpha1
kind: GrafanaWorkspace
metadata:
  name: example-grafanaworkspace
  namespace: default
spec:
  accountAccessType: CURRENT_ACCOUNT
  authenticationProviders:
  - example
  dataSources:
  - example
  grafanaVersion: '1.0'
  permissionType: SERVICE_MANAGED
  providerRef:
    name: example-grafanaworkspace
    region: us-east-1
  tags:
    environment: dev
    team: platform
  workspaceName: example-grafanaworkspace
  workspaceRoleRef:
    name: example-workspacerole

Spec

FieldTypeRequiredDescription
accountAccessTypeenumyesAccountAccessType specifies whether the workspace accesses AWS resources in this account only or across an organization. Allowed: CURRENT_ACCOUNT, ORGANIZATION
authenticationProvidersarray<string>yesAuthenticationProviders lists the user authentication methods.
dataSourcesarray<string>—DataSources lists AWS data sources the workspace can access, e.g.
grafanaVersionstring—GrafanaVersion is the Grafana version for the workspace (e.g.
permissionTypeenumyesPermissionType is SERVICE_MANAGED or CUSTOMER_MANAGED. Allowed: SERVICE_MANAGED, CUSTOMER_MANAGED
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply at creation time.
workspaceNamestringyesWorkspaceName is the name of the workspace.
workspaceRoleRefobject—WorkspaceRoleRef references the IAM role that the workspace uses to access AWS data sources and notification channels, either a managed IAMRole CR (name) or a direct role ARN (arn).
workspaceRoleRef.arnstring—ARN is a direct AWS IAM role ARN.
workspaceRoleRef.namestring—Name of an IAMRole CR in the same namespace.
workspaceRoleRef.namespacestring—Namespace of the IAMRole CR.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
endpointstring—Endpoint is the URL of the Grafana console for the workspace.
grafanaVersionstring—GrafanaVersion is the Grafana version running in the workspace.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
statusstring—Status is the current AWS status of the workspace (CREATING, ACTIVE, ...).
workspaceIdstring—WorkspaceID is the unique ID of the workspace (g-...).