diff --git a/templates/onlyoffice-deployment.yaml b/templates/onlyoffice-deployment.yaml
index e0470a6c6721c7b20c209e9b0e733b395fe59bc7..0f37a4fde5bee184b5ebe8b3027b3b4a98cf883e 100644
--- a/templates/onlyoffice-deployment.yaml
+++ b/templates/onlyoffice-deployment.yaml
@@ -98,7 +98,7 @@ spec:
             - name: REDIS_SERVER_HOST
               value: "{{ .Release.Name }}-redis-master"
             - name: REDIS_SERVER_PORT
-              value: "{{ .Values.redis.master.service.port }}"
+              value: "{{ .Values.redis.master.service.ports.redis }}"
             - name: SKIP_FONTS_GENERATION
               value: "{{ .Values.onlyoffice.skipFontsGeneration }}"
             - name: USE_UNAUTHORIZED_STORAGE