@@ -5,7 +5,7 @@ metadata:
55    controller-gen.kubebuilder.io/version : v0.17.2 
66  name : pgadmins.postgres-operator.crunchydata.com 
77  labels :
8-     app.kubernetes.io/version : 5.8.2  
8+     app.kubernetes.io/version : 5.8.3  
99spec :
1010  group : postgres-operator.crunchydata.com 
1111  names :
@@ -1623,6 +1623,122 @@ spec:
16231623                          x-kubernetes-list-map-keys :
16241624                            - name 
16251625                          x-kubernetes-list-type : map 
1626+                         environmentVariables :
1627+                           description : |- 
1628+                             EnvironmentVariables allows the user to add environment variables to the 
1629+                             collector container. 
1630+                            items :
1631+                             description : EnvVar represents an environment variable present in a Container. 
1632+                             properties :
1633+                               name :
1634+                                 description : Name of the environment variable. Must be a C_IDENTIFIER. 
1635+                                 type : string 
1636+                               value :
1637+                                 description : |- 
1638+                                   Variable references $(VAR_NAME) are expanded 
1639+                                   using the previously defined environment variables in the container and 
1640+                                   any service environment variables. If a variable cannot be resolved, 
1641+                                   the reference in the input string will be unchanged. Double $$ are reduced 
1642+                                   to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. 
1643+                                   "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". 
1644+                                   Escaped references will never be expanded, regardless of whether the variable 
1645+                                   exists or not. 
1646+                                   Defaults to "". 
1647+                                  type : string 
1648+                               valueFrom :
1649+                                 description : Source for the environment variable's value. Cannot be used if value is not empty. 
1650+                                 properties :
1651+                                   configMapKeyRef :
1652+                                     description : Selects a key of a ConfigMap. 
1653+                                     properties :
1654+                                       key :
1655+                                         description : The key to select. 
1656+                                         type : string 
1657+                                       name :
1658+                                         default : " " 
1659+                                         description : |- 
1660+                                           Name of the referent. 
1661+                                           This field is effectively required, but due to backwards compatibility is 
1662+                                           allowed to be empty. Instances of this type with an empty value here are 
1663+                                           almost certainly wrong. 
1664+                                           More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 
1665+                                          type : string 
1666+                                       optional :
1667+                                         description : Specify whether the ConfigMap or its key must be defined 
1668+                                         type : boolean 
1669+                                     required :
1670+                                       - key 
1671+                                     type : object 
1672+                                     x-kubernetes-map-type : atomic 
1673+                                   fieldRef :
1674+                                     description : |- 
1675+                                       Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, 
1676+                                       spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. 
1677+                                      properties :
1678+                                       apiVersion :
1679+                                         description : Version of the schema the FieldPath is written in terms of, defaults to "v1". 
1680+                                         type : string 
1681+                                       fieldPath :
1682+                                         description : Path of the field to select in the specified API version. 
1683+                                         type : string 
1684+                                     required :
1685+                                       - fieldPath 
1686+                                     type : object 
1687+                                     x-kubernetes-map-type : atomic 
1688+                                   resourceFieldRef :
1689+                                     description : |- 
1690+                                       Selects a resource of the container: only resources limits and requests 
1691+                                       (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. 
1692+                                      properties :
1693+                                       containerName :
1694+                                         description : ' Container name: required for volumes, optional for env vars' 
1695+                                         type : string 
1696+                                       divisor :
1697+                                         anyOf :
1698+                                           - type : integer 
1699+                                           - type : string 
1700+                                         description : Specifies the output format of the exposed resources, defaults to "1" 
1701+                                         pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 
1702+                                         x-kubernetes-int-or-string : true 
1703+                                       resource :
1704+                                         description : ' Required: resource to select' 
1705+                                         type : string 
1706+                                     required :
1707+                                       - resource 
1708+                                     type : object 
1709+                                     x-kubernetes-map-type : atomic 
1710+                                   secretKeyRef :
1711+                                     description : Selects a key of a secret in the pod's namespace 
1712+                                     properties :
1713+                                       key :
1714+                                         description : The key of the secret to select from.  Must be a valid secret key. 
1715+                                         type : string 
1716+                                       name :
1717+                                         default : " " 
1718+                                         description : |- 
1719+                                           Name of the referent. 
1720+                                           This field is effectively required, but due to backwards compatibility is 
1721+                                           allowed to be empty. Instances of this type with an empty value here are 
1722+                                           almost certainly wrong. 
1723+                                           More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 
1724+                                          type : string 
1725+                                       optional :
1726+                                         description : Specify whether the Secret or its key must be defined 
1727+                                         type : boolean 
1728+                                     required :
1729+                                       - key 
1730+                                     type : object 
1731+                                     x-kubernetes-map-type : atomic 
1732+                                 type : object 
1733+                             required :
1734+                               - name 
1735+                             type : object 
1736+                             x-kubernetes-validations :
1737+                               - message : Cannot overwrite environment variables set by operator 
1738+                                 rule : self.name != 'K8S_POD_NAMESPACE' && self.name != 'K8S_POD_NAME' && self.name != 'PGPASSWORD' 
1739+                           minItems : 1 
1740+                           type : array 
1741+                           x-kubernetes-list-type : atomic 
16261742                        exporters :
16271743                          description : |- 
16281744                            Exporters allows users to configure OpenTelemetry exporters that exist 
@@ -2019,6 +2135,13 @@ spec:
20192135                                    type : string 
20202136                                    x-kubernetes-validations :
20212137                                      - rule : duration("0") <= self && self <= duration("60m") 
2138+                                   databases :
2139+                                     description : |- 
2140+                                       The databases to target with added custom queries. 
2141+                                       Default behavior is to target `postgres`. 
2142+                                      items :
2143+                                       type : string 
2144+                                     type : array 
20222145                                  name :
20232146                                    description : |- 
20242147                                      The name of this batch of queries, which will be used in naming the OTel 
@@ -2062,6 +2185,18 @@ spec:
20622185                                type : string 
20632186                              type : array 
20642187                          type : object 
2188+                         exporters :
2189+                           description : The names of exporters that should send metrics. 
2190+                           items :
2191+                             type : string 
2192+                           minItems : 1 
2193+                           type : array 
2194+                           x-kubernetes-list-type : set 
2195+                         perDBMetricTargets :
2196+                           description : User defined databases to target for default per-db metrics 
2197+                           items :
2198+                             type : string 
2199+                           type : array 
20652200                      type : object 
20662201                    resources :
20672202                      description : Resources holds the resource requirements for the collector container. 
0 commit comments