diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d6f3b2a75f..a2fcca4870a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Data sorting option () - Options to change font size & position of text labels on the canvas () - Add "tag" return type for automatic annotation in Nuclio () +- Helm chart: Make user-data-permission-fix optional () - Advanced identity access management system, using open policy agent () - Organizations to create "shared space" for different groups of users () - Dataset importing to a project () diff --git a/helm-chart/templates/cvat_backend/deployment.yml b/helm-chart/templates/cvat_backend/deployment.yml index 1f0c701f933..86cd22d2fab 100644 --- a/helm-chart/templates/cvat_backend/deployment.yml +++ b/helm-chart/templates/cvat_backend/deployment.yml @@ -116,6 +116,7 @@ spec: {{- toYaml . | nindent 10 }} {{- end }} initContainers: + {{- if .Values.cvat.backend.permissionFix.enabled }} - name: user-data-permission-fix image: busybox command: ["/bin/chmod", "-R", "777", "/home/django"] @@ -141,6 +142,7 @@ spec: {{- with .Values.cvat.backend.additionalVolumeMounts }} {{- toYaml . | nindent 10 }} {{- end }} + {{- end }} {{- with .Values.cvat.backend.affinity }} affinity: {{- toYaml . | nindent 8 }} diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 17ed7649edc..f4d1b6137c9 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -12,6 +12,8 @@ cvat: replicas: 1 image: openvino/cvat_server tag: latest + permissionFix: + enabled: true labels: {} # test: test annotations: {}