mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 09:31:43 +02:00
fix unit test for new subPathExpr feature (#2638)
* fix unit test for new subPathExpr feature * add subPathExpr flag to CRD and re-sort
This commit is contained in:
@@ -68,6 +68,8 @@ spec:
|
||||
# matchLabels:
|
||||
# environment: dev
|
||||
# service: postgres
|
||||
# subPath: $(NODE_NAME)/$(POD_NAME)
|
||||
# isSubPathExpr: true
|
||||
additionalVolumes:
|
||||
- name: empty
|
||||
mountPath: /opt/empty
|
||||
|
||||
@@ -85,10 +85,14 @@ spec:
|
||||
- mountPath
|
||||
- volumeSource
|
||||
properties:
|
||||
isSubPathExpr:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
subPath:
|
||||
type: string
|
||||
targetContainers:
|
||||
type: array
|
||||
nullable: true
|
||||
@@ -97,10 +101,6 @@ spec:
|
||||
volumeSource:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
subPath:
|
||||
type: string
|
||||
isSubPathExpr:
|
||||
type: boolean
|
||||
allowedSourceRanges:
|
||||
type: array
|
||||
nullable: true
|
||||
@@ -634,6 +634,8 @@ spec:
|
||||
required:
|
||||
- size
|
||||
properties:
|
||||
isSubPathExpr:
|
||||
type: boolean
|
||||
iops:
|
||||
type: integer
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user