UNCLASSIFIED

Commit 0a2e0615 authored by Sam's avatar Sam
Browse files

fix: made imagePullSecrets funtional

parent 9092336a
......@@ -48,9 +48,9 @@ spec:
hostAliases:
{{ toYaml .Values.nexus.hostAliases | indent 8 }}
{{- end }}
{{- if .Values.nexus.imagePullSecret }}
{{- with .Values.nexus.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8}}
{{- end }}
{{- if .Values.deployment.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }}
......
{{- if .Values.nexus.imagePullSecret -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "nexus.name" . }}
data:
.dockerconfigjson: {{ .Values.nexus.imagePullSecret }}
type: kubernetes.io/dockerconfigjson
{{- end }}
\ No newline at end of file
......@@ -121,9 +121,8 @@ nexus:
# hostnames:
# - "example.com"
# - "www.example.com"
imagePullSecrets: []
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment