Skip to content

Commit de3d564

Browse files
authored
Merge pull request #101 from marklogic/feature/CLD-720-mountPath-removal
CLD-720 remove monthPath from values file
2 parents e77b95f + c338215 commit de3d564

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@
3232
- [Port Forward](#port-forward)
3333
- [Forward to Pod](#forward-to-pod)
3434
- [Forward to Service](#forward-to-service)
35+
- [Security Context](#security-context)
36+
- [Network Policy](#network-policy)
37+
- [Pod Priorty](#pod-priorty)
3538
- [Notice](#notice)
3639
- [Uninstalling the Chart](#uninstalling-thechart)
3740
- [Parameters](#parameters)
38-
- [Known Issues and Limitations](#Known-Issues-and-Limitations)
41+
- [Known Issues and Limitations](#known-issues-and-limitations)
3942

4043

4144
# Introduction
@@ -476,7 +479,6 @@ This table describes the list of available parameters for Helm Chart.
476479
| `persistence.size` | Size of storage request for MarkLogic data volume | `10Gi` |
477480
| `persistence.annotations` | Annotations for Persistence Volume Claim (PVC) | `{}` |
478481
| `persistence.accessModes` | Access mode for persistence volume | `["ReadWriteOnce"]` |
479-
| `persistence.mountPath` | The path for the mounted persistence data volume | `/var/opt/MarkLogic` |
480482
| `extraVolumes` | Extra list of additional volumes for MarkLogic statefulset | `[]` |
481483
| `extraVolumeMounts` | Extra list of additional volumeMounts for MarkLogic container | `[]` |
482484
| `extraContainerPorts` | Extra list of additional containerPorts for MarkLogic container | `[]` |

charts/templates/configmap.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ data:
3939
{{- if .Values.logCollection.files.errorLogs }}
4040
[INPUT]
4141
Name tail
42-
Path {{ .Values.persistence.mountPath }}/Logs/*ErrorLog.txt
42+
Path /var/opt/MarkLogic/Logs/*ErrorLog.txt
4343
Read_from_head true
4444
Tag kube.marklogic.logs.error
4545
Path_Key path
@@ -50,7 +50,7 @@ data:
5050
{{- if .Values.logCollection.files.accessLogs }}
5151
[INPUT]
5252
Name tail
53-
Path {{ .Values.persistence.mountPath }}/Logs/*AccessLog.txt
53+
Path /var/opt/MarkLogic/Logs/*AccessLog.txt
5454
Read_from_head true
5555
tag kube.marklogic.logs.access
5656
Path_Key path
@@ -61,7 +61,7 @@ data:
6161
{{- if .Values.logCollection.files.requestLogs }}
6262
[INPUT]
6363
Name tail
64-
Path {{ .Values.persistence.mountPath }}/Logs/*RequestLog.txt
64+
Path /var/opt/MarkLogic/Logs/*RequestLog.txt
6565
Read_from_head true
6666
tag kube.marklogic.logs.request
6767
Path_Key path
@@ -72,7 +72,7 @@ data:
7272
{{- if .Values.logCollection.files.crashLogs }}
7373
[INPUT]
7474
Name tail
75-
Path {{ .Values.persistence.mountPath }}/Logs/CrashLog.txt
75+
Path /var/opt/MarkLogic/Logs/CrashLog.txt
7676
Read_from_head true
7777
tag kube.marklogic.logs.crash
7878
Path_Key path
@@ -82,7 +82,7 @@ data:
8282
{{- if .Values.logCollection.files.auditLogs }}
8383
[INPUT]
8484
Name tail
85-
Path {{ .Values.persistence.mountPath }}/Logs/AuditLog.txt
85+
Path /var/opt/MarkLogic/Logs/AuditLog.txt
8686
Read_from_head true
8787
tag kube.marklogic.logs.audit
8888
Path_Key path

charts/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
imagePullPolicy: {{ .Values.image.pullPolicy}}
9494
volumeMounts:
9595
- name: datadir
96-
mountPath: {{ .Values.persistence.mountPath }}
96+
mountPath: /var/opt/MarkLogic
9797
{{- if .Values.extraVolumeMounts }}
9898
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
9999
{{- end }}
@@ -268,7 +268,7 @@ spec:
268268
imagePullPolicy: IfNotPresent
269269
volumeMounts:
270270
- name: datadir
271-
mountPath: {{ .Values.persistence.mountPath }}
271+
mountPath: /var/opt/MarkLogic
272272
{{- if .Values.extraVolumeMounts }}
273273
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
274274
{{- end }}

charts/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ persistence:
9191
annotations: {}
9292
accessModes:
9393
- ReadWriteOnce
94-
mountPath: /var/opt/MarkLogic
9594

9695
# specify extra list of volumes
9796
extraVolumes: []

0 commit comments

Comments
 (0)