Edit deployment.yaml

This commit is contained in:
inikulin 2025-07-23 12:15:49 +00:00
parent 048d4c79ae
commit 9ebd05b559

View File

@ -39,11 +39,16 @@ spec:
- sh - sh
- -c - -c
- | - |
cp /usr/lib/jvm/java-21-amazon-corretto/lib/security/cacerts /tmp/cacerts/cacerts && cp /usr/lib/jvm/java-21-amazon-corretto/lib/security/cacerts /tmp/cacerts/cacerts
keytool -import -trustcacerts -storepass changeit -noprompt \ if keytool -list -keystore /tmp/cacerts/cacerts -storepass changeit -alias gemcert > /dev/null 2>&1; then
-alias gemcert \ echo "Certificate with alias gemcert already exists, skipping import"
-file /app/resources/RootCA_${CERT_ALIAS}.crt \ else
-keystore /tmp/cacerts/cacerts echo "Importing certificate with alias gemcert"
keytool -import -trustcacerts -storepass changeit -noprompt \
-alias gemcert \
-file /app/resources/RootCA_${CERT_ALIAS}.crt \
-keystore /tmp/cacerts/cacerts
fi
containers: containers:
- name: message-app - name: message-app
image: "{{ .Values.global.dockerRegistryPrefix }}{{ .Chart.Name }}:{{ .Values.image.tag }}" image: "{{ .Values.global.dockerRegistryPrefix }}{{ .Chart.Name }}:{{ .Values.image.tag }}"
@ -64,9 +69,15 @@ spec:
- name: DEEPLINK_PORT - name: DEEPLINK_PORT
value: {{ .Values.env.deeplink.port | quote }} value: {{ .Values.env.deeplink.port | quote }}
- name: LIVEKIT_API_KEY - name: LIVEKIT_API_KEY
value: {{ .Values.env.livekit.api_key | quote }} valueFrom:
secretKeyRef:
name: {{ .Values.secrets.livekit.name }}
key: {{ .Values.secrets.livekit.apiKeyKey }}
- name: LIVEKIT_SECRET - name: LIVEKIT_SECRET
value: {{ .Values.env.livekit.secret | quote }} valueFrom:
secretKeyRef:
name: {{ .Values.secrets.livekit.name }}
key: {{ .Values.secrets.livekit.secretKey }}
- name: KEYSPACE - name: KEYSPACE
value: {{ .Values.env.keyspace | quote }} value: {{ .Values.env.keyspace | quote }}
- name: SEARCH_HOST - name: SEARCH_HOST