Skip to content

Commit

Permalink
ee imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelsaabna committed Mar 11, 2024
1 parent 10f3ae3 commit 2e20677
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
18 changes: 11 additions & 7 deletions helm-charts/mend-renovate-ee/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ spec:
{{- if .Values.renovateServer.mendRnvLogHistoryTTLDays }}
- name: MEND_RNV_LOG_HISTORY_TTL_DAYS
value: {{ .Values.renovateServer.mendRnvLogHistoryTTLDays | quote }}
{{ - end }}
{{ - if .Values.renovateServer.mendRnvLogHistoryCleanupCron }}
{{- end }}
{{- if .Values.renovateServer.mendRnvLogHistoryCleanupCron }}
- name: MEND_RNV_LOG_HISTORY_CLEANUP_CRON
value: {{ .Values.renovateServer.mendRnvLogHistoryCleanupCron }}
{{ - end }}
{{- end }}
{{- if .Values.renovateServer.logLevel }}
- name: LOG_LEVEL
value: {{ .Values.renovateServer.logLevel | quote }}
Expand Down Expand Up @@ -211,19 +211,23 @@ spec:
{{- end }}
{{- with .Values.renovateServer.livenessProbe }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.renovateServer.resources | nindent 12 }}
{{- toYaml .Values.renovateServer.resources | nindent 12 }}
volumeMounts:
- name: {{ .Release.Name }}-database-volume
- name: { { .Release.Name } }-database-volume
mountPath: /database
{{- if ne (len .Values.renovateServer.extraVolumeMounts) 0 }}
{{ toYaml .Values.renovateServer.extraVolumeMounts | nindent 12 | trim }}
{{- end }}
{{- with .Values.renovateServer.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- if .Values.renovateServer.imagePullSecrets }}
imagePullSecrets:
- name: .Values.renovateServer.imagePullSecrets
{{- end }}
{{- end }}
volumes:
- name: {{ .Release.Name }}-database-volume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ spec:
{{- end }}
{{- with .Values.renovateWorker.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- if .Values.renovateWorker.imagePullSecrets }}
imagePullSecrets:
- name: .Values.renovateWorker.imagePullSecrets
{{- end }}
{{- end }}
volumes:
- name: {{ .Release.Name }}-config-js-volume
Expand Down
6 changes: 6 additions & 0 deletions helm-charts/mend-renovate-ee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ renovateServer:

containerSecurityContext: { }

# name of the image pull secret
imagePullSecrets: ""

# This allows renovate to finish running for a repo and then gracefully exit
terminationGracePeriodSeconds: 60

Expand Down Expand Up @@ -247,6 +250,9 @@ renovateWorker:

podSecurityContext: { }

# name of the image pull secret
imagePullSecrets: ""

# This allows renovate to finish running for a repo and then gracefully exit
terminationGracePeriodSeconds: 60

Expand Down

0 comments on commit 2e20677

Please sign in to comment.