@@ -17,18 +17,24 @@ spec:
17
17
scope : Namespaced
18
18
versions :
19
19
- additionalPrinterColumns :
20
+ - jsonPath : .spec.tenant
21
+ name : Tenant
22
+ type : string
20
23
- jsonPath : .spec.version
21
24
name : Version
22
25
type : string
23
- - jsonPath : .status.description
24
- name : Status
26
+ - jsonPath : .spec.numberOfInstances
27
+ name : Replicas
25
28
type : string
26
- - jsonPath : .status.lbSocket .ip
27
- name : Load-Balancer- IP
29
+ - jsonPath : .status.socket .ip
30
+ name : IP
28
31
type : string
29
- - jsonPath : .status.lbSocket .port
30
- name : Load-Balancer- Port
32
+ - jsonPath : .status.socket .port
33
+ name : Port
31
34
type : integer
35
+ - jsonPath : .status.description
36
+ name : Status
37
+ type : string
32
38
name : v1
33
39
schema :
34
40
openAPIV3Schema :
@@ -59,48 +65,19 @@ spec:
59
65
type : string
60
66
type : array
61
67
type : object
62
- backup :
63
- description : ' todo: add default Backup parametes of the database backup'
64
- properties :
65
- retention :
66
- description : Retention defines how many days a backup will persist
67
- format : int32
68
- type : integer
69
- s3BucketURL :
70
- description : S3BucketURL defines the URL of the S3 bucket for
71
- backup
72
- type : string
73
- schedule :
74
- description : Schedule defines how often a backup should be made,
75
- in cron format
76
- type : string
77
- secretname :
78
- description : SecretName reference to the secret where the backup
79
- credentials are stored
80
- type : string
81
- type : object
68
+ backupSecretRef :
69
+ description : BackupSecretRef reference to the secret where the backup
70
+ credentials are stored
71
+ type : string
82
72
description :
83
73
description : Description
84
74
type : string
85
75
maintenance :
86
76
description : ' todo: add default Maintenance defines automatic maintenance
87
77
of the database'
88
- properties :
89
- timeWindow :
90
- description : TimeWindow defines when the maintenance should happen
91
- properties :
92
- end :
93
- format : date-time
94
- type : string
95
- start :
96
- format : date-time
97
- type : string
98
- type : object
99
- weekday :
100
- description : Weekday defines when the operator is allowed to do
101
- maintenance
102
- type : integer
103
- type : object
78
+ items :
79
+ type : string
80
+ type : array
104
81
numberOfInstances :
105
82
default : 1
106
83
description : NumberOfInstances number of replicas
@@ -113,16 +90,15 @@ spec:
113
90
projectID :
114
91
description : ProjectID metal project ID
115
92
type : string
116
- secretname :
117
- description : SecretName reference to the secret where the user credentials
118
- are stored
119
- type : string
120
93
size :
121
94
description : Size of the database
122
95
properties :
123
96
cpu :
124
97
description : CPU is in the format as pod.spec.resource.request.cpu
125
98
type : string
99
+ memory :
100
+ description : Memory is in the format as pod.spec.resource.request.memory
101
+ type : string
126
102
sharedBuffer :
127
103
description : SharedBuffer of the database
128
104
type : string
@@ -137,15 +113,14 @@ spec:
137
113
description : Tenant metal tenant
138
114
type : string
139
115
version :
140
- default : " 12"
141
116
description : Version is the version of Postgre-as-a-Service
142
- enum :
143
- - " 12"
144
117
type : string
145
118
type : object
146
119
status :
147
120
description : PostgresStatus defines the observed state of Postgres
148
121
properties :
122
+ childName :
123
+ type : string
149
124
description :
150
125
description : ' INSERT ADDITIONAL STATUS FIELD - define observed state
151
126
of cluster Important: Run "make" to regenerate code after modifying
0 commit comments