UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
Nexus
Commits
0a2e0615
Commit
0a2e0615
authored
Apr 16, 2021
by
Sam
Browse files
fix: made imagePullSecrets funtional
parent
9092336a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
chart/templates/deployment.yaml
chart/templates/deployment.yaml
+2
-2
chart/templates/image-pull-secret.yaml
chart/templates/image-pull-secret.yaml
+0
-10
chart/values.yaml
chart/values.yaml
+1
-2
No files found.
chart/templates/deployment.yaml
View file @
0a2e0615
...
@@ -48,9 +48,9 @@ spec:
...
@@ -48,9 +48,9 @@ spec:
hostAliases
:
hostAliases
:
{{
toYaml .Values.nexus.hostAliases | indent 8
}}
{{
toYaml .Values.nexus.hostAliases | indent 8
}}
{{
- end
}}
{{
- end
}}
{{
-
if
.Values.nexus.imagePullSecret
}}
{{
-
with
.Values.nexus.imagePullSecret
s
}}
imagePullSecrets
:
imagePullSecrets
:
{{
- toYaml . | nindent 8
}}
{{
- toYaml . | nindent 8
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.deployment.terminationGracePeriodSeconds
}}
{{
- if .Values.deployment.terminationGracePeriodSeconds
}}
terminationGracePeriodSeconds
:
{{
.Values.deployment.terminationGracePeriodSeconds
}}
terminationGracePeriodSeconds
:
{{
.Values.deployment.terminationGracePeriodSeconds
}}
...
...
chart/templates/image-pull-secret.yaml
deleted
100644 → 0
View file @
9092336a
{{
- 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
chart/values.yaml
View file @
0a2e0615
...
@@ -121,9 +121,8 @@ nexus:
...
@@ -121,9 +121,8 @@ nexus:
# hostnames:
# hostnames:
# - "example.com"
# - "example.com"
# - "www.example.com"
# - "www.example.com"
imagePullSecrets
:
[]
imagePullSecrets
:
[]
nameOverride
:
"
"
nameOverride
:
"
"
fullnameOverride
:
"
"
fullnameOverride
:
"
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment