Skip to content

Commit 2cbd1b4

Browse files
author
Peng Zhou
committed
update contents in charts
1 parent 681351b commit 2cbd1b4

4 files changed

Lines changed: 171 additions & 105 deletions

File tree

charts/marklogic-operator-kubernetes/templates/manager-rbac.yaml

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,6 @@ rules:
2222
- patch
2323
- update
2424
- watch
25-
- apiGroups:
26-
- ""
27-
resources:
28-
- persistentvolumeclaims
29-
verbs:
30-
- get
31-
- list
32-
- patch
33-
- update
34-
- watch
35-
- apiGroups:
36-
- ""
37-
resources:
38-
- persistentvolumeclaims/status
39-
verbs:
40-
- get
41-
- apiGroups:
42-
- ""
43-
resources:
44-
- persistentvolumes
45-
verbs:
46-
- get
47-
- list
48-
- watch
4925
- apiGroups:
5026
- apps
5127
resources:
@@ -102,23 +78,6 @@ rules:
10278
- patch
10379
- update
10480
- watch
105-
- apiGroups:
106-
- storage.k8s.io
107-
resources:
108-
- storageclasses
109-
verbs:
110-
- get
111-
- list
112-
- watch
113-
- apiGroups:
114-
- ""
115-
- events.k8s.io
116-
resources:
117-
- events
118-
verbs:
119-
- create
120-
- patch
121-
- update
12281
---
12382
apiVersion: rbac.authorization.k8s.io/v1
12483
kind: ClusterRoleBinding
@@ -187,22 +146,6 @@ rules:
187146
- patch
188147
- update
189148
- watch
190-
- apiGroups:
191-
- ""
192-
resources:
193-
- persistentvolumeclaims
194-
verbs:
195-
- get
196-
- list
197-
- patch
198-
- update
199-
- watch
200-
- apiGroups:
201-
- ""
202-
resources:
203-
- persistentvolumeclaims/status
204-
verbs:
205-
- get
206149
- apiGroups:
207150
- apps
208151
resources:
@@ -259,15 +202,6 @@ rules:
259202
- patch
260203
- update
261204
- watch
262-
- apiGroups:
263-
- ""
264-
- events.k8s.io
265-
resources:
266-
- events
267-
verbs:
268-
- create
269-
- patch
270-
- update
271205
---
272206
apiVersion: rbac.authorization.k8s.io/v1
273207
kind: RoleBinding
@@ -288,38 +222,4 @@ subjects:
288222
name: '{{ include "marklogic-operator-kubernetes.serviceAccountName" $ }}'
289223
namespace: '{{ $.Release.Namespace }}'
290224
{{- end }}
291-
---
292-
apiVersion: rbac.authorization.k8s.io/v1
293-
kind: ClusterRole
294-
metadata:
295-
name: marklogic-operator-storageclass-reader
296-
labels:
297-
{{- include "marklogic-operator-kubernetes.labels" $ | nindent 4 }}
298-
rules:
299-
- apiGroups:
300-
- storage.k8s.io
301-
resources:
302-
- storageclasses
303-
verbs:
304-
- get
305-
- list
306-
- watch
307-
---
308-
apiVersion: rbac.authorization.k8s.io/v1
309-
kind: ClusterRoleBinding
310-
metadata:
311-
name: marklogic-operator-storageclass-readerbinding
312-
labels:
313-
app.kubernetes.io/component: rbac
314-
app.kubernetes.io/created-by: marklogic-operator-kubernetes
315-
app.kubernetes.io/part-of: marklogic-operator-kubernetes
316-
{{- include "marklogic-operator-kubernetes.labels" $ | nindent 4 }}
317-
roleRef:
318-
apiGroup: rbac.authorization.k8s.io
319-
kind: ClusterRole
320-
name: marklogic-operator-storageclass-reader
321-
subjects:
322-
- kind: ServiceAccount
323-
name: '{{ include "marklogic-operator-kubernetes.serviceAccountName" $ }}'
324-
namespace: '{{ $.Release.Namespace }}'
325225
{{- end }}

charts/marklogic-operator-kubernetes/templates/marklogiccluster-crd.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8433,6 +8433,14 @@ spec:
84338433
type: object
84348434
enabled:
84358435
type: boolean
8436+
resizeStrategy:
8437+
default: parallel
8438+
description: VolumeResizeStrategy defines how PVC resize requests
8439+
are submitted.
8440+
enum:
8441+
- parallel
8442+
- sequential
8443+
type: string
84368444
size:
84378445
type: string
84388446
storageClassName:
@@ -9295,6 +9303,14 @@ spec:
92959303
type: object
92969304
enabled:
92979305
type: boolean
9306+
resizeStrategy:
9307+
default: parallel
9308+
description: VolumeResizeStrategy defines how PVC resize requests
9309+
are submitted.
9310+
enum:
9311+
- parallel
9312+
- sequential
9313+
type: string
92989314
size:
92999315
type: string
93009316
storageClassName:

charts/marklogic-operator-kubernetes/templates/marklogicgroup-crd.yaml

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,6 +4042,14 @@ spec:
40424042
type: object
40434043
enabled:
40444044
type: boolean
4045+
resizeStrategy:
4046+
default: parallel
4047+
description: VolumeResizeStrategy defines how PVC resize requests
4048+
are submitted.
4049+
enum:
4050+
- parallel
4051+
- sequential
4052+
type: string
40454053
size:
40464054
type: string
40474055
storageClassName:
@@ -4981,6 +4989,147 @@ spec:
49814989
type: string
49824990
stage:
49834991
type: string
4992+
volumeResizeStatus:
4993+
properties:
4994+
activePVC:
4995+
type: string
4996+
completionTime:
4997+
format: date-time
4998+
type: string
4999+
currentSize:
5000+
type: string
5001+
deferredObservedGeneration:
5002+
format: int64
5003+
type: integer
5004+
deferredTargetSize:
5005+
type: string
5006+
failedPVCs:
5007+
items:
5008+
properties:
5009+
message:
5010+
type: string
5011+
name:
5012+
type: string
5013+
reason:
5014+
type: string
5015+
type: object
5016+
type: array
5017+
firstStartedTime:
5018+
format: date-time
5019+
type: string
5020+
lastTransitionTime:
5021+
format: date-time
5022+
type: string
5023+
markers:
5024+
description: Internal crash-recovery workflow markers for resize
5025+
reconciliation.
5026+
items:
5027+
type: string
5028+
type: array
5029+
message:
5030+
type: string
5031+
nextRetryTime:
5032+
format: date-time
5033+
type: string
5034+
observedGeneration:
5035+
format: int64
5036+
type: integer
5037+
operationID:
5038+
type: string
5039+
phase:
5040+
enum:
5041+
- Validating
5042+
- ResizingPVCs
5043+
- WaitingForPVCResize
5044+
- SynchronizingStatefulSet
5045+
- RestartingPods
5046+
- WaitingForPodsReady
5047+
- VerifyingResizeOutcome
5048+
- Completed
5049+
- Stalled
5050+
- Failed
5051+
type: string
5052+
pvcStatuses:
5053+
items:
5054+
properties:
5055+
checkpointType:
5056+
enum:
5057+
- OnlineComplete
5058+
- OfflinePending
5059+
- OfflineComplete
5060+
type: string
5061+
lastMessage:
5062+
type: string
5063+
lastReason:
5064+
type: string
5065+
lastTransitionTime:
5066+
format: date-time
5067+
type: string
5068+
name:
5069+
type: string
5070+
observedCapacity:
5071+
type: string
5072+
podName:
5073+
type: string
5074+
requestedSize:
5075+
type: string
5076+
restartRequired:
5077+
type: boolean
5078+
state:
5079+
enum:
5080+
- Pending
5081+
- ResizeSubmitted
5082+
- WaitingForCheckpoint
5083+
- Checkpointed
5084+
- RestartPending
5085+
- Restarted
5086+
- Failed
5087+
type: string
5088+
type: object
5089+
type: array
5090+
pvcsCheckpointed:
5091+
format: int32
5092+
type: integer
5093+
reason:
5094+
enum:
5095+
- ResizeFailed
5096+
- PartialResizeFailure
5097+
- ResizeRateLimited
5098+
- StorageQuotaExceeded
5099+
- ResizeForbidden
5100+
- InvalidResizeRequest
5101+
- StorageClassNotExpandable
5102+
- ShrinkNotSupported
5103+
- PVCNotBound
5104+
- ConcurrentResize
5105+
- StatefulSetSyncFailed
5106+
- PodRecoveryFailed
5107+
- TemplateUpdateInterrupted
5108+
- MarkLogicHealthCheckFailed
5109+
- Paused
5110+
- MaxRetriesExceeded
5111+
- MaxOperationTimeExceeded
5112+
type: string
5113+
resizeStrategy:
5114+
description: VolumeResizeStrategy defines how PVC resize requests
5115+
are submitted.
5116+
enum:
5117+
- parallel
5118+
- sequential
5119+
type: string
5120+
retryCount:
5121+
format: int32
5122+
type: integer
5123+
targetSize:
5124+
type: string
5125+
totalPvcs:
5126+
format: int32
5127+
type: integer
5128+
warnings:
5129+
items:
5130+
type: string
5131+
type: array
5132+
type: object
49845133
type: object
49855134
type: object
49865135
served: true

config/crd/bases/marklogic.progress.com_marklogicgroups.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5032,6 +5032,12 @@ spec:
50325032
lastTransitionTime:
50335033
format: date-time
50345034
type: string
5035+
markers:
5036+
description: Internal crash-recovery workflow markers for resize
5037+
reconciliation.
5038+
items:
5039+
type: string
5040+
type: array
50355041
message:
50365042
type: string
50375043
nextRetryTime:
@@ -5131,11 +5137,6 @@ spec:
51315137
totalPvcs:
51325138
format: int32
51335139
type: integer
5134-
markers:
5135-
description: Internal crash-recovery workflow markers for resize reconciliation.
5136-
items:
5137-
type: string
5138-
type: array
51395140
warnings:
51405141
items:
51415142
type: string

0 commit comments

Comments
 (0)