-
Notifications
You must be signed in to change notification settings - Fork 18
/
aiven.io_grafanas.yaml
922 lines (922 loc) · 42.5 KB
/
aiven.io_grafanas.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: grafanas.aiven.io
spec:
group: aiven.io
names:
kind: Grafana
listKind: GrafanaList
plural: grafanas
singular: grafana
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.project
name: Project
type: string
- jsonPath: .spec.cloudName
name: Region
type: string
- jsonPath: .spec.plan
name: Plan
type: string
- jsonPath: .status.state
name: State
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description:
'Grafana is the Schema for the grafanas API. Info "Exposes secret
keys": `GRAFANA_HOST`, `GRAFANA_PORT`, `GRAFANA_USER`, `GRAFANA_PASSWORD`,
`GRAFANA_URI`, `GRAFANA_HOSTS`'
properties:
apiVersion:
description:
"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"
type: string
kind:
description:
"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"
type: string
metadata:
type: object
spec:
description: GrafanaSpec defines the desired state of Grafana
properties:
authSecretRef:
description: Authentication reference to Aiven token in a secret
properties:
key:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- key
- name
type: object
cloudName:
description: Cloud the service runs in.
maxLength: 256
type: string
connInfoSecretTarget:
description: Secret configuration.
properties:
annotations:
additionalProperties:
type: string
description: Annotations added to the secret
type: object
x-kubernetes-preserve-unknown-fields: true
labels:
additionalProperties:
type: string
description: Labels added to the secret
type: object
x-kubernetes-preserve-unknown-fields: true
name:
description:
Name of the secret resource to be created. By default,
it is equal to the resource name
type: string
prefix:
description:
Prefix for the secret's keys. Added "as is" without
any transformations. By default, is equal to the kind name in
uppercase + underscore, e.g. `KAFKA_`, `REDIS_`, etc.
type: string
required:
- name
type: object
connInfoSecretTargetDisabled:
description:
When true, the secret containing connection information
will not be created, defaults to false. This field cannot be changed
after resource creation.
type: boolean
x-kubernetes-validations:
- message: connInfoSecretTargetDisabled is immutable.
rule: self == oldSelf
disk_space:
description:
The disk space of the service, possible values depend
on the service type, the cloud provider and the project. Reducing
will result in the service re-balancing.
format: ^[1-9][0-9]*(GiB|G)*
type: string
maintenanceWindowDow:
description:
Day of week when maintenance operations should be performed.
One monday, tuesday, wednesday, etc.
enum:
- monday
- tuesday
- wednesday
- thursday
- friday
- saturday
- sunday
type: string
maintenanceWindowTime:
description:
Time of day when maintenance operations should be performed.
UTC time in HH:mm:ss format.
maxLength: 8
type: string
plan:
description: Subscription plan.
maxLength: 128
type: string
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
projectVPCRef:
description:
ProjectVPCRef reference to ProjectVPC resource to use
its ID as ProjectVPCID automatically
properties:
name:
minLength: 1
type: string
namespace:
minLength: 1
type: string
required:
- name
type: object
projectVpcId:
description: Identifier of the VPC the service should be in, if any.
maxLength: 36
type: string
serviceIntegrations:
description:
Service integrations to specify when creating a service.
Not applied after initial service creation
items:
description:
Service integrations to specify when creating a service.
Not applied after initial service creation
properties:
integrationType:
enum:
- read_replica
type: string
sourceServiceName:
maxLength: 64
minLength: 1
type: string
required:
- integrationType
- sourceServiceName
type: object
maxItems: 1
type: array
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
tags:
additionalProperties:
type: string
description:
Tags are key-value pairs that allow you to categorize
services.
type: object
technicalEmails:
description:
Defines the email addresses that will receive alerts
about upcoming maintenance updates or warnings about service instability.
items:
properties:
email:
description: Email address.
format: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
type: string
required:
- email
type: object
maxItems: 10
type: array
terminationProtection:
description:
Prevent service from being deleted. It is recommended
to have this enabled for all services.
type: boolean
userConfig:
description: Cassandra specific user configuration options
properties:
additional_backup_regions:
description: Additional Cloud Regions for Backup Replication
items:
type: string
maxItems: 1
type: array
alerting_enabled:
description:
Enable or disable Grafana legacy alerting functionality.
This should not be enabled with unified_alerting_enabled.
type: boolean
alerting_error_or_timeout:
description:
Default error or timeout setting for new alerting
rules
enum:
- alerting
- keep_state
type: string
alerting_max_annotations_to_keep:
description:
Max number of alert annotations that Grafana stores.
0 (default) keeps all alert annotations.
maximum: 1000000
minimum: 0
type: integer
alerting_nodata_or_nullvalues:
description:
Default value for 'no data or null values' for new
alerting rules
enum:
- alerting
- no_data
- keep_state
- ok
type: string
allow_embedding:
description:
Allow embedding Grafana dashboards with iframe/frame/object/embed
tags. Disabled by default to limit impact of clickjacking
type: boolean
auth_azuread:
description: Azure AD OAuth integration
properties:
allow_sign_up:
description: Automatically sign-up users on successful sign-in
type: boolean
allowed_domains:
description: Allowed domains
items:
type: string
maxItems: 50
type: array
allowed_groups:
description: Require users to belong to one of given groups
items:
type: string
maxItems: 50
type: array
auth_url:
description: Authorization URL
maxLength: 2048
type: string
client_id:
description: Client ID from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
client_secret:
description: Client secret from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
token_url:
description: Token URL
maxLength: 2048
type: string
required:
- auth_url
- client_id
- client_secret
- token_url
type: object
auth_basic_enabled:
description:
Enable or disable basic authentication form, used
by Grafana built-in login
type: boolean
auth_generic_oauth:
description: Generic OAuth integration
properties:
allow_sign_up:
description: Automatically sign-up users on successful sign-in
type: boolean
allowed_domains:
description: Allowed domains
items:
type: string
maxItems: 50
type: array
allowed_organizations:
description:
Require user to be member of one of the listed
organizations
items:
type: string
maxItems: 50
type: array
api_url:
description: API URL
maxLength: 2048
type: string
auth_url:
description: Authorization URL
maxLength: 2048
type: string
auto_login:
description:
Allow users to bypass the login screen and automatically
log in
type: boolean
client_id:
description: Client ID from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
client_secret:
description: Client secret from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
name:
description: Name of the OAuth integration
maxLength: 128
pattern: ^[a-zA-Z0-9_\- ]+$
type: string
scopes:
description: OAuth scopes
items:
type: string
maxItems: 50
type: array
token_url:
description: Token URL
maxLength: 2048
type: string
required:
- api_url
- auth_url
- client_id
- client_secret
- token_url
type: object
auth_github:
description: Github Auth integration
properties:
allow_sign_up:
description: Automatically sign-up users on successful sign-in
type: boolean
allowed_organizations:
description: Require users to belong to one of given organizations
items:
type: string
maxItems: 50
type: array
auto_login:
description:
Allow users to bypass the login screen and automatically
log in
type: boolean
client_id:
description: Client ID from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
client_secret:
description: Client secret from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
skip_org_role_sync:
description: Stop automatically syncing user roles
type: boolean
team_ids:
description:
Require users to belong to one of given team
IDs
items:
type: integer
maxItems: 50
type: array
required:
- client_id
- client_secret
type: object
auth_gitlab:
description: GitLab Auth integration
properties:
allow_sign_up:
description: Automatically sign-up users on successful sign-in
type: boolean
allowed_groups:
description: Require users to belong to one of given groups
items:
type: string
maxItems: 50
type: array
api_url:
description:
API URL. This only needs to be set when using
self hosted GitLab
maxLength: 2048
type: string
auth_url:
description:
Authorization URL. This only needs to be set
when using self hosted GitLab
maxLength: 2048
type: string
client_id:
description: Client ID from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
client_secret:
description: Client secret from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
token_url:
description:
Token URL. This only needs to be set when using
self hosted GitLab
maxLength: 2048
type: string
required:
- allowed_groups
- client_id
- client_secret
type: object
auth_google:
description: Google Auth integration
properties:
allow_sign_up:
description: Automatically sign-up users on successful sign-in
type: boolean
allowed_domains:
description: Domains allowed to sign-in to this Grafana
items:
type: string
maxItems: 64
type: array
client_id:
description: Client ID from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
client_secret:
description: Client secret from provider
maxLength: 1024
pattern: ^[\040-\176]+$
type: string
required:
- allowed_domains
- client_id
- client_secret
type: object
cookie_samesite:
description:
"Cookie SameSite attribute: 'strict' prevents sending
cookie for cross-site requests, effectively disabling direct
linking from other sites to Grafana. 'lax' is the default
value."
enum:
- lax
- strict
- none
type: string
custom_domain:
description:
Serve the web frontend using a custom CNAME pointing
to the Aiven DNS name
maxLength: 255
type: string
dashboard_previews_enabled:
description:
This feature is new in Grafana 9 and is quite resource
intensive. It may cause low-end plans to work more slowly while
the dashboard previews are rendering.
type: boolean
dashboards_min_refresh_interval:
description:
Signed sequence of decimal numbers, followed by a
unit suffix (ms, s, m, h, d), e.g. 30s, 1h
maxLength: 16
pattern: ^[0-9]+(ms|s|m|h|d)$
type: string
dashboards_versions_to_keep:
description: Dashboard versions to keep per dashboard
maximum: 100
minimum: 1
type: integer
dataproxy_send_user_header:
description: Send 'X-Grafana-User' header to data source
type: boolean
dataproxy_timeout:
description: Timeout for data proxy requests in seconds
maximum: 90
minimum: 15
type: integer
date_formats:
description: Grafana date format specifications
properties:
default_timezone:
description:
Default time zone for user preferences. Value
'browser' uses browser local time zone.
maxLength: 64
pattern: (?i)^([a-zA-Z_]+/){1,2}[a-zA-Z_-]+$|^(Etc/)?(UTC|GMT)([+-](\d){1,2})?$|^(Factory)$|^(browser)$
type: string
full_date:
description:
Moment.js style format string for cases where
full date is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_day:
description:
Moment.js style format string used when a time
requiring day accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_hour:
description:
Moment.js style format string used when a time
requiring hour accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_minute:
description:
Moment.js style format string used when a time
requiring minute accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_month:
description:
Moment.js style format string used when a time
requiring month accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_second:
description:
Moment.js style format string used when a time
requiring second accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
interval_year:
description:
Moment.js style format string used when a time
requiring year accuracy is shown
maxLength: 128
pattern:
"^(([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|LTS|LT|LL?L?L?|l{1,4}|[-+/T,;.:
]?)*)$"
type: string
type: object
disable_gravatar:
description:
Set to true to disable gravatar. Defaults to false
(gravatar is enabled)
type: boolean
editors_can_admin:
description:
Editors can manage folders, teams and dashboards
created by them
type: boolean
external_image_storage:
description: External image store settings
properties:
access_key:
description:
S3 access key. Requires permissions to the S3
bucket for the s3:PutObject and s3:PutObjectAcl actions
maxLength: 4096
pattern: ^[A-Z0-9]+$
type: string
bucket_url:
description: Bucket URL for S3
maxLength: 2048
type: string
provider:
description: Provider type
enum:
- s3
type: string
secret_key:
description: S3 secret key
maxLength: 4096
pattern: ^[A-Za-z0-9/+=]+$
type: string
required:
- access_key
- bucket_url
- provider
- secret_key
type: object
google_analytics_ua_id:
description: Google Analytics ID
maxLength: 64
pattern: ^(G|UA|YT|MO)-[a-zA-Z0-9-]+$
type: string
ip_filter:
description:
Allow incoming connections from CIDR address block,
e.g. '10.20.0.0/16'
items:
description:
CIDR address block, either as a string, or in a
dict with an optional description field
properties:
description:
description: Description for IP filter list entry
maxLength: 1024
type: string
network:
description: CIDR address block
maxLength: 43
type: string
required:
- network
type: object
maxItems: 1024
type: array
metrics_enabled:
description: Enable Grafana /metrics endpoint
type: boolean
oauth_allow_insecure_email_lookup:
description:
Enforce user lookup based on email instead of the
unique ID provided by the IdP
type: boolean
private_access:
description:
Allow access to selected service ports from private
networks
properties:
grafana:
description:
Allow clients to connect to grafana with a DNS
name that always resolves to the service's private IP addresses.
Only available in certain network locations
type: boolean
type: object
privatelink_access:
description:
Allow access to selected service components through
Privatelink
properties:
grafana:
description: Enable grafana
type: boolean
type: object
project_to_fork_from:
description:
Name of another project to fork a service from. This
has effect only when a new service is being created.
maxLength: 63
pattern: ^[a-z][-a-z0-9]{0,63}$|^$
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
public_access:
description:
Allow access to selected service ports from the public
Internet
properties:
grafana:
description:
Allow clients to connect to grafana from the
public internet for service nodes that are in a project
VPC or another type of private network
type: boolean
type: object
recovery_basebackup_name:
description: Name of the basebackup to restore in forked service
maxLength: 128
pattern: ^[a-zA-Z0-9-_:.]+$
type: string
service_log:
description:
Store logs for the service so that they are available
in the HTTP API and console.
type: boolean
service_to_fork_from:
description:
Name of another service to fork from. This has effect
only when a new service is being created.
maxLength: 64
pattern: ^[a-z][-a-z0-9]{0,63}$|^$
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
smtp_server:
description: SMTP server settings
properties:
from_address:
description: Address used for sending emails
maxLength: 319
pattern: ^[A-Za-z0-9_\-\.+\'&]+@(([\da-zA-Z])([_\w-]{,62})\.){,127}(([\da-zA-Z])[_\w-]{,61})?([\da-zA-Z]\.((xn\-\-[a-zA-Z\d]+)|([a-zA-Z\d]{2,})))$
type: string
from_name:
description: Name used in outgoing emails, defaults to Grafana
maxLength: 128
pattern: ^[^\x00-\x1F]+$
type: string
host:
description: Server hostname or IP
maxLength: 255
type: string
password:
description: Password for SMTP authentication
maxLength: 255
pattern: ^[^\x00-\x1F]+$
type: string
port:
description: SMTP server port
maximum: 65535
minimum: 1
type: integer
skip_verify:
description:
Skip verifying server certificate. Defaults to
false
type: boolean
starttls_policy:
description:
Either OpportunisticStartTLS, MandatoryStartTLS
or NoStartTLS. Default is OpportunisticStartTLS.
enum:
- OpportunisticStartTLS
- MandatoryStartTLS
- NoStartTLS
type: string
username:
description: Username for SMTP authentication
maxLength: 255
pattern: ^[^\x00-\x1F]+$
type: string
required:
- from_address
- host
- port
type: object
static_ips:
description: Use static public IP addresses
type: boolean
unified_alerting_enabled:
description:
Enable or disable Grafana unified alerting functionality.
By default this is enabled and any legacy alerts will be migrated
on upgrade to Grafana 9+. To stay on legacy alerting, set unified_alerting_enabled
to false and alerting_enabled to true. See https://grafana.com/docs/grafana/latest/alerting/set-up/migrating-alerts/
for more details.
type: boolean
user_auto_assign_org:
description:
Auto-assign new users on signup to main organization.
Defaults to false
type: boolean
user_auto_assign_org_role:
description: Set role for new signups. Defaults to Viewer
enum:
- Viewer
- Admin
- Editor
type: string
viewers_can_edit:
description:
Users with view-only permission can edit but not
save dashboards
type: boolean
type: object
required:
- plan
- project
type: object
x-kubernetes-validations:
- message:
connInfoSecretTargetDisabled can only be set during resource
creation.
rule: has(oldSelf.connInfoSecretTargetDisabled) == has(self.connInfoSecretTargetDisabled)
status:
description: ServiceStatus defines the observed state of service
properties:
conditions:
description:
Conditions represent the latest available observations
of a service state
items:
description:
"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
\n type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are: \"Available\",
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
// +listType=map // +listMapKey=type Conditions []metav1.Condition
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
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.
--- Many .condition.type values are consistent across resources
like Available, but because arbitrary conditions can be useful
(see .node.status.conditions), the ability to deconflict is
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
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
state:
description: Service state
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}