From 0691b2d35bd3d731ec6c0758a53246be3c47c7ca Mon Sep 17 00:00:00 2001 From: Julio Pasinatto Date: Wed, 13 Nov 2024 07:39:53 -0300 Subject: [PATCH] Update images for PSMDB 1.18.0 charts --- charts/psmdb-db/README.md | 48 ++--- charts/psmdb-db/values.yaml | 12 +- charts/psmdb-operator/README.md | 2 +- charts/psmdb-operator/crds/crd.yaml | 246 ++++++++++++++++++++-- charts/psmdb-operator/templates/role.yaml | 1 + 5 files changed, 262 insertions(+), 47 deletions(-) diff --git a/charts/psmdb-db/README.md b/charts/psmdb-db/README.md index d6978fe4..244af79c 100644 --- a/charts/psmdb-db/README.md +++ b/charts/psmdb-db/README.md @@ -10,7 +10,7 @@ Useful links: ## Pre-requisites - Percona Operator for MongoDB running in your Kubernetes cluster. See installation details [here](https://github.com/percona/percona-helm-charts/blob/main/charts/psmdb-operator) or in the [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/helm.html). -- Kubernetes 1.27+ +- Kubernetes 1.28+ - Helm v3 # Chart Details @@ -55,7 +55,7 @@ The chart can be customized using the following configurable parameters: | `finalizers:percona.com/delete-psmdb-pods-in-order` | Set this if you want to delete PSMDB pods in order (primary last) | `[]` | | `finalizers:percona.com/delete-pitr-chunks` | Set this if you want to delete all pitr chunks on cluster deletion | `[]` | | `image.repository` | PSMDB Container image repository | `percona/percona-server-mongodb` | -| `image.tag` | PSMDB Container image tag | `7.0.12-7` | +| `image.tag` | PSMDB Container image tag | `7.0.14-8-multi` | | `imagePullPolicy` | The policy used to update images | `Always` | | `imagePullSecrets` | PSMDB Container pull secret | `[]` | | `initImage.repository` | Repository for custom init image | `""` | @@ -80,13 +80,12 @@ The chart can be customized using the following configurable parameters: | | | `pmm.enabled` | Enable integration with [Percona Monitoring and Management software](https://www.percona.com/blog/2020/07/23/using-percona-kubernetes-operators-with-percona-monitoring-and-management/) | `false` | | `pmm.image.repository` | PMM Container image repository | `percona/pmm-client` | -| `pmm.image.tag` | PMM Container image tag | `2.42.0` | +| `pmm.image.tag` | PMM Container image tag | `2.43.2` | | `pmm.serverHost` | PMM server related K8S service hostname | `monitoring-service` | | `pmm.containerSecurityContext` | Set the security context for PMM container | `{}` | -| `pmm.resources` | Set resources for PMM container | `{}` | -| `pmm.mongodParams` | PMM mongod params | `""` | -| | -| `pmm.mongosParams` | PMM mongos params | `""` | +| `pmm.resources` | Set resources for PMM container | `{}` | +| `pmm.mongodParams` | PMM mongod params | `""` | +| `pmm.mongosParams` | PMM mongos params | `""` | | | | `replsets.rs0.name` | ReplicaSet name | `rs0` | | `replsets.rs0.size` | ReplicaSet size (pod quantity) | `3` | @@ -256,30 +255,31 @@ The chart can be customized using the following configurable parameters: | `sharding.mongos.expose.nodePort` | Custom port if exposing mongos via NodePort | `""` | | `sharding.mongos.hostAliases` | The IP address for Kubernetes host aliases | `[]` | | | -| `users.name` | The username of the MongoDB application user | `""` | -| `users.db` | Database that the user authenticates against | `""` | -| `users.passwordSecretRef.name` | Name of the secret that contains the user's password | `""` | -| `users.passwordSecretRef.key` | Key in the secret that corresponds to the value of the user's password | `""` | -| `users.roles.role.name` | Name of the MongoDB role assigned to the user. As [built-in roles](https://www.mongodb.com/docs/manual/reference/built-in-roles/#built-in-roles), so [custom roles](https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/docs/deploy-configure.md#define-a-custom-database-role) are supported | `""` | -| `users.roles.role.db` | Database that the MongoDB role applies to | `""` | +| `users.name` | The username of the MongoDB application user | `""` | +| `users.db` | Database that the user authenticates against | `""` | +| `users.passwordSecretRef.name` | Name of the secret that contains the user's password | `""` | +| `users.passwordSecretRef.key` | Key in the secret that corresponds to the value of the user's password | `""` | +| `users.roles.role.name` | Name of the MongoDB role assigned to the user. As [built-in roles](https://www.mongodb.com/docs/manual/reference/built-in-roles/#built-in-roles), so [custom roles](https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/docs/deploy-configure.md#define-a-custom-database-role) are supported | `""` | +| `users.roles.role.db` | Database that the MongoDB role applies to | `""` | +| | +| `roles.role` | Name of the custom role. | `""` | +| `roles.db` | Database in which you want to store the user-defined role. | `admin` | +| `roles.authenticationRestrictions.clientSource` | Array of IP addresses or CIDR blocks from which users assigned this role can connect.MongoDB servers reject connection requests from users with this role if the requests come from a client that is not present in this array. | `""` | +| `roles.authenticationRestrictions.serverAddress` | Array of IP addresses or CIDR blocks to which users assigned this role can connect.MongoDB servers reject connection requests from users with this role if the client requests to connect to a server that is not present in this array. | `""` | +| `roles.privileges.actions` | Name of the role. Valid values are built-in roles. | `[]` | +| `roles.privileges.resource.db` | Database for which the privilege `security.roles.privileges.actions` apply. An empty string ("") indicates that the privilege actions apply to all databases. | `""` | +| `roles.privileges.resource.collection` | Collection for which the privilege `security.roles.privileges.actions` apply. An empty string ("") indicates that the privilege actions apply to all of the database's collections. | `""` | +| `roles.privileges.resource.cluster` | Flag that indicates that the privilege `security.roles.privileges.actions` apply to all databases and collections in the MongoDB deployment. If omitted, defaults to false.If set to true, do not provide values for `security.roles.privileges.resource.database` and `security.roles.privileges.resource.collection`. | `""` | +| `roles.roles.role` | Name of the role to inherit from. | `""` | +| `roles.roles.db` | Name of database that contains the role to inherit from. | `""` | | | -| `roles.role` | Name of the custom role. | `""` | -| `roles.db` | Database in which you want to store the user-defined role. | `"admin"` | -| `roles.authenticationRestrictions.clientSource` | Array of IP addresses or CIDR blocks from which users assigned this role can connect.MongoDB servers reject connection requests from users with this role if the requests come from a client that is not present in this array. | `""` | -| `roles.authenticationRestrictions.serverAddress` | Array of IP addresses or CIDR blocks to which users assigned this role can connect.MongoDB servers reject connection requests from users with this role if the client requests to connect to a server that is not present in this array. | `""` | -| `roles.privileges.actions` | Name of the role. Valid values are built-in roles. | `[]` | -| `roles.privileges.resource.db` | Database for which the privilege `security.roles.privileges.actions` apply. An empty string ("") indicates that the privilege actions apply to all databases. | `""` | -| `roles.privileges.resource.collection` | Collection for which the privilege `security.roles.privileges.actions` apply. An empty string ("") indicates that the privilege actions apply to all of the database's collections. | `""` | -| `roles.privileges.resource.cluster` | Flag that indicates that the privilege `security.roles.privileges.actions` apply to all databases and collections in the MongoDB deployment. If omitted, defaults to false.If set to true, do not provide values for `security.roles.privileges.resource.database` and `security.roles.privileges.resource.collection`. | `""` | -| `roles.roles.role` | Name of the role to inherit from. | `""` | -| `roles.roles.db` | Name of database that contains the role to inherit from. | `""` | | `backup.enabled` | Enable backup PBM agent | `true` | | `backup.annotations` | Backup job annotations | `{}` | | `backup.podSecurityContext` | Set the security context for a Pod | `{}` | | `backup.containerSecurityContext` | Set the security context for a Container | `{}` | | `backup.restartOnFailure` | Backup Pods restart policy | `true` | | `backup.image.repository` | PBM Container image repository | `percona/percona-backup-mongodb` | -| `backup.image.tag` | PBM Container image tag | `2.5.0` | +| `backup.image.tag` | PBM Container image tag | `2.7.0-multi` | | `backup.storages` | Local/remote backup storages settings | `{}` | | `backup.pitr.enabled` | Enable point in time recovery for backup | `false` | | `backup.pitr.oplogOnly` | Start collecting oplogs even if full logical backup doesn't exist | `false` | diff --git a/charts/psmdb-db/values.yaml b/charts/psmdb-db/values.yaml index 0b9ca52a..9e480b31 100644 --- a/charts/psmdb-db/values.yaml +++ b/charts/psmdb-db/values.yaml @@ -50,7 +50,7 @@ upgradeOptions: image: repository: percona/percona-server-mongodb - tag: 7.0.12-7 + tag: 7.0.14-8-multi imagePullPolicy: Always # imagePullSecrets: [] @@ -81,7 +81,7 @@ pmm: enabled: false image: repository: percona/pmm-client - tag: 2.42.0 + tag: 2.43.2 serverHost: monitoring-service # mongodParams: "" # mongosParams: "" @@ -499,7 +499,7 @@ sharding: # users: # - name: my-user # db: admin -# passwordSecretRef: +# passwordSecretRef: # name: my-user-password # key: my-user-password-key # roles: @@ -509,12 +509,12 @@ sharding: # db: admin # - name: my-usr # db: admin -# passwordSecretRef: +# passwordSecretRef: # name: my-user-pwd # key: my-user-pwd-key # roles: # - name: dbOwner -# db: sometest +# db: sometest # roles: # - role: myClusterwideAdmin @@ -554,7 +554,7 @@ backup: enabled: true image: repository: percona/percona-backup-mongodb - tag: 2.5.0 + tag: 2.7.0-multi # annotations: # iam.amazonaws.com/role: role-arn # podSecurityContext: {} diff --git a/charts/psmdb-operator/README.md b/charts/psmdb-operator/README.md index db1bc16d..1cd9b881 100644 --- a/charts/psmdb-operator/README.md +++ b/charts/psmdb-operator/README.md @@ -6,7 +6,7 @@ Useful links: - [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/index.html) ## Pre-requisites -* Kubernetes 1.27+ +* Kubernetes 1.28+ * Helm v3 # Installation diff --git a/charts/psmdb-operator/crds/crd.yaml b/charts/psmdb-operator/crds/crd.yaml index eeb1f93d..89641ef5 100644 --- a/charts/psmdb-operator/crds/crd.yaml +++ b/charts/psmdb-operator/crds/crd.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.15.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: perconaservermongodbbackups.psmdb.percona.com spec: group: psmdb.percona.com @@ -179,7 +179,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.15.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: perconaservermongodbrestores.psmdb.percona.com spec: group: psmdb.percona.com @@ -366,7 +366,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.15.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: perconaservermongodbs.psmdb.percona.com spec: group: psmdb.percona.com @@ -910,6 +910,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -942,6 +944,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1275,6 +1279,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2237,6 +2243,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2457,10 +2465,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -2820,6 +2830,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -2833,6 +2850,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -3081,6 +3099,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -3088,6 +3107,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -3099,6 +3119,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -3107,6 +3128,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -3124,6 +3146,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -3451,6 +3474,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3557,6 +3581,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3638,6 +3663,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3755,6 +3782,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4046,15 +4074,10 @@ spec: additionalProperties: type: string type: object - loadBalancerIP: - type: string loadBalancerSourceRanges: items: type: string type: array - nodePort: - format: int32 - type: integer serviceAnnotations: additionalProperties: type: string @@ -4071,12 +4094,20 @@ spec: externalNodes: items: properties: + horizons: + additionalProperties: + type: string + type: object host: type: string port: type: integer priority: type: integer + tags: + additionalProperties: + type: string + type: object votes: type: integer required: @@ -4122,6 +4153,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4740,6 +4772,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4870,6 +4903,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -4916,6 +4951,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4984,6 +5020,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5204,10 +5242,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -5567,6 +5607,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -5580,6 +5627,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -5828,6 +5876,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -5835,6 +5884,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -5846,6 +5896,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -5854,6 +5905,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -5871,6 +5923,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -6198,6 +6251,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6304,6 +6358,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6385,6 +6440,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6502,6 +6559,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6881,6 +6939,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -6931,6 +6991,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6992,6 +7053,21 @@ spec: format: int32 type: integer type: object + replsetOverrides: + additionalProperties: + properties: + horizons: + additionalProperties: + type: string + type: object + host: + type: string + tags: + additionalProperties: + type: string + type: object + type: object + type: object resources: properties: claims: @@ -6999,6 +7075,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7219,10 +7297,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -7582,6 +7662,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -7595,6 +7682,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -7843,6 +7931,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -7850,6 +7939,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -7861,6 +7951,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -7869,6 +7960,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -7886,6 +7978,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -8213,6 +8306,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8319,6 +8413,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8400,6 +8495,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -8517,6 +8614,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9903,6 +10001,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -10123,10 +10223,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -10486,6 +10588,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -10499,6 +10608,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -10747,6 +10857,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -10754,6 +10865,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -10765,6 +10877,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -10773,6 +10886,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -10790,6 +10904,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -11117,6 +11232,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11223,6 +11339,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11304,6 +11421,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -11421,6 +11540,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11712,15 +11832,10 @@ spec: additionalProperties: type: string type: object - loadBalancerIP: - type: string loadBalancerSourceRanges: items: type: string type: array - nodePort: - format: int32 - type: integer serviceAnnotations: additionalProperties: type: string @@ -11737,12 +11852,20 @@ spec: externalNodes: items: properties: + horizons: + additionalProperties: + type: string + type: object host: type: string port: type: integer priority: type: integer + tags: + additionalProperties: + type: string + type: object votes: type: integer required: @@ -11788,6 +11911,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -12406,6 +12530,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -12536,6 +12661,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -12582,6 +12709,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -12650,6 +12778,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -12870,10 +13000,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -13233,6 +13365,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -13246,6 +13385,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -13494,6 +13634,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -13501,6 +13642,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -13512,6 +13654,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -13520,6 +13663,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -13537,6 +13681,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -13864,6 +14009,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -13970,6 +14116,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -14051,6 +14198,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -14168,6 +14317,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -14547,6 +14697,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -14597,6 +14749,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -14658,6 +14811,21 @@ spec: format: int32 type: integer type: object + replsetOverrides: + additionalProperties: + properties: + horizons: + additionalProperties: + type: string + type: object + host: + type: string + tags: + additionalProperties: + type: string + type: object + type: object + type: object resources: properties: claims: @@ -14665,6 +14833,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -14885,10 +15055,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -15248,6 +15420,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -15261,6 +15440,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -15509,6 +15689,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -15516,6 +15697,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -15527,6 +15709,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -15535,6 +15718,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -15552,6 +15736,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -15879,6 +16064,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -15985,6 +16171,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -16066,6 +16253,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -16183,6 +16372,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -17092,8 +17282,6 @@ spec: additionalProperties: type: string type: object - loadBalancerIP: - type: string loadBalancerSourceRanges: items: type: string @@ -17154,6 +17342,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -17284,6 +17473,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -17333,6 +17524,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -17401,6 +17593,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -17626,10 +17820,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -17989,6 +18185,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -18002,6 +18205,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -18250,6 +18454,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -18257,6 +18462,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -18268,6 +18474,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -18276,6 +18483,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -18293,6 +18501,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -18620,6 +18829,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -18726,6 +18936,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -18807,6 +19018,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -18924,6 +19137,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -19309,4 +19523,4 @@ spec: served: true storage: true subresources: - status: {} + status: {} \ No newline at end of file diff --git a/charts/psmdb-operator/templates/role.yaml b/charts/psmdb-operator/templates/role.yaml index 537c1e86..4d65e6a7 100644 --- a/charts/psmdb-operator/templates/role.yaml +++ b/charts/psmdb-operator/templates/role.yaml @@ -139,6 +139,7 @@ rules: resources: - issuers - certificates + - certificaterequests verbs: - get - list