Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lagougou authored Mar 15, 2024
1 parent 2e29cb0 commit ce436e3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,27 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
- name: {{ .Release.Name }}-rpc
command:
- python
- manage.py
- airdrop_server
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
tcpSocket:
port: 50251
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 50251
initialDelaySeconds: 30
periodSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
initContainers:
- name: {{ .Release.Name }}-migrate
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down

0 comments on commit ce436e3

Please sign in to comment.