Skip to content

Commit

Permalink
Remove unnecessary configurations and volumes [SMAR-2514]
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-nereca committed Apr 4, 2024
1 parent 49d7ffa commit 41a7aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions templates/_components.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ Template used for resolving SF dbSynchronizationLeader name
{{- end -}}

{{/*
Template used for resolving labels for graphqlApi component
Template used for resolving labels for dbSynchronizationLeader component
*/}}
{{- define "smartface.dbSynchronizationLeader.labels" }}
{{- include "smartface.labels" . }}
app.kubernetes.io/component: "dbSynchronizationLeader"
{{- end -}}

{{/*
Template used for resolving selector labels for graphqlApi component
Template used for resolving selector labels for dbSynchronizationLeader component
*/}}
{{- define "smartface.dbSynchronizationLeader.selectorLabels" }}
{{- include "smartface.selectorLabels" . }}
Expand Down
5 changes: 0 additions & 5 deletions templates/db-synchronization-leader-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ spec:
{{- include "smartface.authenticationConfig" . | nindent 8 }}
{{- end }}
{{- include "smartface.commonEnv" . | nindent 8 }}
{{- include "smartface.dbConfig" . | nindent 8 }}
{{- include "smartface.s3Config" . | nindent 8 }}
{{- include "smartface.rmqConfig" . | nindent 8 }}
- name: "Multitenancy__UseMultitenancy"
Expand All @@ -67,10 +66,6 @@ spec:
value: {{ .Values.dbSynchronizationLeader.containerPort | quote }}
resources:
{{- toYaml .Values.dbSynchronizationLeader.resources | nindent 10 }}
volumeMounts:
{{- include "smartface.licVolumeMount" . | nindent 8 }}
volumes:
{{- include "smartface.licVolume" . | nindent 8 }}
{{- with .Values.dbSynchronizationLeader.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 41a7aa6

Please sign in to comment.