Skip to content

Commit ab2f63b

Browse files
committed
Revert "Remove phase from database v1beta1 CRD (#30)"
This reverts commit 5635be8.
1 parent 2a518df commit ab2f63b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

charts/db-operator/templates/crds/kinda.rocks_databases.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@ spec:
365365
subresources:
366366
status: {}
367367
- additionalPrinterColumns:
368+
- description: current db phase
369+
jsonPath: .status.phase
370+
name: Phase
371+
type: string
368372
- description: current db status
369373
jsonPath: .status.status
370374
name: Status
@@ -496,6 +500,12 @@ spec:
496500
type: string
497501
monitorUserSecret:
498502
type: string
503+
phase:
504+
description:
505+
'Important: Run "make generate" to regenerate code after
506+
modifying this file Add custom validation using kubebuilder tags:
507+
https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
508+
type: string
499509
proxyStatus:
500510
description:
501511
DatabaseProxyStatus defines whether proxy for database
@@ -520,6 +530,7 @@ spec:
520530
required:
521531
- database
522532
- engine
533+
- phase
523534
- status
524535
- user
525536
type: object

0 commit comments

Comments
 (0)