delete -R parameter in init container step (#1264)

This commit is contained in:
majinghe
2025-12-25 18:14:50 +08:00
committed by GitHub
parent 89c3ae77a4
commit a083fca17a
4 changed files with 10 additions and 10 deletions

View File

@@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.76
version: 0.0.77
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.0-alpha.73"
appVersion: "1.0.0-alpha.77"

View File

@@ -66,7 +66,7 @@ spec:
- -c
- |
mkdir -p /data /logs
chown -R 10001:10001 /data /logs
chown 10001:10001 /data /logs
volumeMounts:
- name: data
mountPath: /data

View File

@@ -87,7 +87,7 @@ spec:
mkdir -p /data
fi
mkdir -p {{ $logDir }}
chown -R 10001:10001 /data {{ $logDir }}
chown 10001:10001 /data {{ $logDir }}
volumeMounts:
{{- if eq (int .Values.replicaCount) 4 }}
{{- range $i := until (int .Values.replicaCount) }}