|
11 | 11 | - { kind: Service, version: v1 } |
12 | 12 | specDescriptors: |
13 | 13 | - path: ccpimage |
14 | | - value: "crunchy-postgres-ha" |
15 | 14 | displayName: PostgreSQL Image |
16 | 15 | description: The Crunchy PostgreSQL image to use. Possible values are "crunchy-postgres-ha" and "crunchy-postgres-gis-ha" |
17 | 16 | x-descriptors: |
18 | 17 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
19 | 18 | - path: ccpimagetag |
20 | | - value: "${CCP_IMAGE_TAG}" |
21 | 19 | displayName: PostgreSQL Image Tag |
22 | 20 | description: The tag of the PostgreSQL image to use. Example is "${CCP_IMAGE_TAG}" |
23 | 21 | x-descriptors: |
24 | 22 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
25 | 23 | - path: clustername |
26 | | - value: "hippo" |
27 | 24 | displayName: PostgreSQL Cluster name |
28 | 25 | description: The name that is assigned to this specific PostgreSQL cluster |
29 | 26 | x-descriptors: |
30 | 27 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
31 | 28 | - path: database |
32 | | - value: "hippo" |
33 | 29 | displayName: Initial PostgreSQL database name |
34 | 30 | description: The name of the initial database to be created inside of the PostgreSQL cluster, e.g. "hippo" |
35 | 31 | x-descriptors: |
36 | 32 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
37 | 33 | - path: exporterport |
38 | | - value: 9187 |
39 | 34 | displayName: PostgreSQL Monitor Port |
40 | 35 | description: The port to use for the PostgreSQL metrics exporter used for cluster monitoring, e.g. "9187" |
41 | 36 | x-descriptors: |
42 | 37 | - 'urn:alm:descriptor:com.tectonic.ui:number' |
43 | 38 | - path: name |
44 | | - value: "hippo" |
45 | 39 | displayName: PostgreSQL CRD name |
46 | 40 | description: The name of the CRD entry. Should match the PostgreSQL Cluster name |
47 | 41 | x-descriptors: |
48 | 42 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
49 | 43 | - path: pgbadgerport |
50 | | - value: 10000 |
51 | 44 | displayName: pgBadger Port |
52 | 45 | description: The port to use for the pgBadger PostgreSQL query analysis service, e.g. "10000" |
53 | 46 | x-descriptors: |
54 | 47 | - 'urn:alm:descriptor:com.tectonic.ui:number' |
55 | 48 | - path: port |
56 | | - value: 5432 |
57 | 49 | displayName: PostgreSQL Port |
58 | 50 | description: The port to use for the PostgreSQL cluster, e.g. "5432" |
59 | 51 | x-descriptors: |
60 | 52 | - 'urn:alm:descriptor:com.tectonic.ui:number' |
61 | 53 |
|
62 | 54 | - path: rootsecretname |
63 | | - value: "hippo-postgres-secret" |
64 | 55 | displayName: PostgreSQL superuser credentials |
65 | 56 | description: The name of the Secret that contains the PostgreSQL superuser credentials |
66 | 57 | x-descriptors: |
67 | | - - 'urn:alm:descriptor:com.tectonic.ui:text' |
| 58 | + - 'urn:alm:descriptor:io.kubernetes:Secret' |
68 | 59 | - path: primarysecretname |
69 | | - value: "hippo-primaryuser-secret" |
70 | 60 | displayName: PostgreSQL support service credentials |
71 | 61 | description: The name of the Secret that contains the credentials used for managing cluster instance authentication, e.g. connections for replicas |
72 | 62 | x-descriptors: |
73 | | - - 'urn:alm:descriptor:com.tectonic.ui:text' |
| 63 | + - 'urn:alm:descriptor:io.kubernetes:Secret' |
74 | 64 | - path: usersecretname |
75 | | - value: "hippo-testuser-secret" |
76 | 65 | displayName: PostgreSQL user credentials |
77 | 66 | description: The name of the Secret that contains the PostgreSQL user credentials for logging into the PostgreSQL cluster |
78 | 67 | x-descriptors: |
79 | | - - 'urn:alm:descriptor:com.tectonic.ui:text' |
| 68 | + - 'urn:alm:descriptor:io.kubernetes:Secret' |
80 | 69 |
|
81 | 70 | # `operator-sdk scorecard` expects this field to have a descriptor. |
82 | 71 | - path: PrimaryStorage |
|
85 | 74 | x-descriptors: |
86 | 75 | - 'urn:alm:descriptor:com.tectonic.ui:fieldGroup:PrimaryStorage' |
87 | 76 | - path: PrimaryStorage.name |
88 | | - value: "hippo" |
89 | 77 | displayName: PostgreSQL Primary Storage Name |
90 | 78 | description: Contains the name of the PostgreSQL cluster to associate with this storage. Should match the Cluster name |
91 | 79 | x-descriptors: |
|
98 | 86 | - 'urn:alm:descriptor:com.tectonic.ui:fieldGroup:PrimaryStorage' |
99 | 87 | - 'urn:alm:descriptor:io.kubernetes:StorageClass' |
100 | 88 | - path: PrimaryStorage.accessmode |
101 | | - value: "ReadWriteOnce" |
102 | 89 | displayName: PostgreSQL Primary StorageClass Access Mode |
103 | 90 | description: The access mode for the storage class, e.g. "ReadWriteOnce" |
104 | 91 | x-descriptors: |
105 | 92 | - 'urn:alm:descriptor:com.tectonic.ui:fieldGroup:PrimaryStorage' |
106 | 93 | - 'urn:alm:descriptor:com.tectonic.ui:select:ReadWriteOnce' |
107 | 94 | - 'urn:alm:descriptor:com.tectonic.ui:select:ReadWriteMany' |
108 | 95 | - path: PrimaryStorage.size |
109 | | - value: "1G" |
110 | 96 | displayName: PostgreSQL Primary Data PVC Size |
111 | 97 | description: The size of the PVC that will store the data for the primary PostgreSQL instance, e.g. "1G" |
112 | 98 | x-descriptors: |
113 | 99 | - 'urn:alm:descriptor:com.tectonic.ui:fieldGroup:PrimaryStorage' |
114 | 100 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
115 | 101 |
|
116 | 102 | - path: status |
117 | | - value: "" |
118 | 103 | displayName: Deprecated |
119 | 104 | description: Deprecated |
120 | 105 | x-descriptors: |
121 | 106 | - 'urn:alm:descriptor:com.tectonic.ui:text' |
122 | 107 | - 'urn:alm:descriptor:com.tectonic.ui:advanced' |
123 | 108 | - path: userlabels |
124 | | - value: "{}" |
125 | 109 | displayName: User defined labels |
126 | 110 | description: A set of labels that help the PostgreSQL Operator manage a PostgreSQL cluster |
127 | 111 | x-descriptors: |
|
0 commit comments