Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AsmiKloud authored Jun 25, 2024
1 parent 891ec4e commit 598a141
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion server/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ spec:
labels:
app: {{ .Release.Name }}
spec:
serviceAccount: {{ .Release.Name }}
serviceAccountName: {{ .Release.Name }}
volumes:
- name: secrets-store-inline
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: {{ .Release.Name }}
containers:
- env:
- name: DB_USERNAME
Expand Down Expand Up @@ -118,10 +127,14 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
name: {{ .Release.Name }}
volumeMounts:
- name: secrets-store-inline
mountPath: "/mnt/secrets-store"
readOnly: true
resources:
limits:
cpu: {{ .Values.resources.limits.cpu }}
memory: {{ .Values.resources.limits.memory }}
requests:
cpu: {{ .Values.resources.requests.cpu }}
memory: {{ .Values.resources.requests.memory }}
memory: {{ .Values.resources.requests.memory }}

0 comments on commit 598a141

Please sign in to comment.