Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Local Path Provisioner
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Local Path Provisioner
Commits
b821f903
Commit
b821f903
authored
Sep 3, 2020
by
Helge Waastad
Committed by
Sheng Yang
Sep 3, 2020
Browse files
Options
Downloads
Patches
Plain Diff
Add any imagepullsecrets to serviceaccount
fix the usage of template (and not include) in serviceaccount.yaml
parent
66e91612
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/chart/templates/serviceaccount.yaml
+5
-2
5 additions, 2 deletions
deploy/chart/templates/serviceaccount.yaml
with
5 additions
and
2 deletions
deploy/chart/templates/serviceaccount.yaml
+
5
−
2
View file @
b821f903
...
...
@@ -2,11 +2,14 @@
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
{{
includ
e "local-path-provisioner.
fulln
ame" .
}}
name
:
{{
templat
e "local-path-provisioner.
serviceAccountN
ame" .
}}
labels
:
{{
include "local-path-provisioner.labels" . | indent 4
}}
{{
-
if
.Values.
defaultSettings.registry
Secret
}}
{{
-
with
.Values.
imagePull
Secret
s
}}
imagePullSecrets
:
{{
- toYaml . | nindent 2
}}
{{
- end
}}
{{
- if .Values.defaultSettings.registrySecret
}}
-
name
:
{{
.Values.defaultSettings.registrySecret
}}
{{
- end
}}
{{
- end
}}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment