Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
ce2849cc
Commit
ce2849cc
authored
May 26, 2021
by
Richard Kugler
Committed by
Daniel Kemp
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow use of securityContext
Update Deployment with securityContext for pod and Container
parent
2fb90f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
deployment.yaml
...nfs-subdir-external-provisioner/templates/deployment.yaml
+4
-0
No files found.
charts/nfs-subdir-external-provisioner/templates/deployment.yaml
View file @
ce2849cc
...
@@ -24,6 +24,8 @@ spec:
...
@@ -24,6 +24,8 @@ spec:
{{
- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8
}}
{{
- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8
}}
spec
:
spec
:
serviceAccountName
:
{{
template "nfs-subdir-external-provisioner.serviceAccountName" .
}}
serviceAccountName
:
{{
template "nfs-subdir-external-provisioner.serviceAccountName" .
}}
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
{{
- if .Values.nodeSelector
}}
{{
- if .Values.nodeSelector
}}
nodeSelector
:
nodeSelector
:
{{
toYaml .Values.nodeSelector | indent 8
}}
{{
toYaml .Values.nodeSelector | indent 8
}}
...
@@ -43,6 +45,8 @@ spec:
...
@@ -43,6 +45,8 @@ spec:
-
name
:
{{
.Chart.Name
}}
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
volumeMounts
:
volumeMounts
:
-
name
:
{{
.Values.nfs.volumeName
}}
-
name
:
{{
.Values.nfs.volumeName
}}
mountPath
:
/persistentvolumes
mountPath
:
/persistentvolumes
...
...
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