Skip to content

Commit

Permalink
fix(charts/cog-ai-model/templates/deployment.yaml): Remove sidecar Re…
Browse files Browse the repository at this point in the history
…dis consumer configuration
  • Loading branch information
sergiotejon committed Feb 8, 2024
1 parent a62b00f commit 1162767
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions charts/cog-ai-model/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,6 @@ spec:
volumeMounts:
- name: model-data-volume
mountPath: {{ .Values.config.modelMountDir }}
{{- if .Values.sidecar.redisConsumer.enabled }}
- name: {{ .Chart.Name }}-{{.Values.sidecar.redisConsumer.name }}
securityContext:
{{- toYaml .Values.sidecar.redisConsumer.securityContext | nindent 12 }}
image: "{{ .Values.sidecar.redisConsumer.image.repository }}:{{ .Values.sidecar.redisConsumer.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.sidecar.redisConsumer.image.pullPolicy }}
{{- with .Values.sidecar.redisConsumer.envs }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.sidecar.redisConsumer.envsFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.sidecar.redisConsumer.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.sidecar.redisConsumer.readinessProbe }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.sidecar.redisConsumer.resources | nindent 12 }}
{{- end }}
volumes:
- name: model-data-volume
hostPath:
Expand Down

0 comments on commit 1162767

Please sign in to comment.