Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
29518b30
Commit
29518b30
authored
Nov 01, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow configuring capabilities for container deployed via ix-chart
parent
5c18d21d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
75 deletions
+19
-75
charts/ix-chart/2109.0.0/default_values.yaml
charts/ix-chart/2109.0.0/default_values.yaml
+0
-37
test/ix-chart/2111.0.0/default_values.yaml
test/ix-chart/2111.0.0/default_values.yaml
+0
-37
test/ix-chart/2111.0.0/questions.yaml
test/ix-chart/2111.0.0/questions.yaml
+11
-0
test/ix-chart/2111.0.0/templates/_workload.tpl
test/ix-chart/2111.0.0/templates/_workload.tpl
+5
-1
test/ix-chart/2111.0.0/test_values.yaml
test/ix-chart/2111.0.0/test_values.yaml
+3
-0
test/ix-chart/2111.0.0/values.yaml
test/ix-chart/2111.0.0/values.yaml
+0
-0
No files found.
charts/ix-chart/2109.0.0/default_values.yaml
deleted
100644 → 0
View file @
5c18d21d
# Default values for ix-chart.
image
:
repository
:
debian
pullPolicy
:
IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag
:
"
latest"
# Restart / Update policy
updateStrategy
:
RollingUpdate
# Container CMD / entrypoint
containerCommand
:
[]
containerArgs
:
[]
containerEnvironmentVariables
:
[]
# Network related configuration
externalInterfaces
:
[]
portForwardingList
:
[]
hostNetwork
:
false
dnsPolicy
:
Default
dnsConfig
:
nameservers
:
[]
searches
:
[]
# Storage related configuration
hostPathVolumes
:
[]
volumes
:
[]
# Probes
# Liveness Probe
livenessProbe
:
null
# Workload type
workloadType
:
"
Deployment"
gpuConfiguration
:
{}
test/ix-chart/2111.0.0/default_values.yaml
deleted
100644 → 0
View file @
5c18d21d
# Default values for ix-chart.
image
:
repository
:
debian
pullPolicy
:
IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag
:
"
latest"
# Restart / Update policy
updateStrategy
:
RollingUpdate
# Container CMD / entrypoint
containerCommand
:
[]
containerArgs
:
[]
containerEnvironmentVariables
:
[]
# Network related configuration
externalInterfaces
:
[]
portForwardingList
:
[]
hostNetwork
:
false
dnsPolicy
:
Default
dnsConfig
:
nameservers
:
[]
searches
:
[]
# Storage related configuration
hostPathVolumes
:
[]
volumes
:
[]
# Probes
# Liveness Probe
livenessProbe
:
null
# Workload type
workloadType
:
"
Deployment"
gpuConfiguration
:
{}
test/ix-chart/2111.0.0/questions.yaml
View file @
29518b30
...
@@ -514,3 +514,14 @@ questions:
...
@@ -514,3 +514,14 @@ questions:
schema
:
schema
:
type
:
boolean
type
:
boolean
default
:
false
default
:
false
-
variable
:
capabilities
label
:
"
Capabilities"
description
:
"
With
Linux
capabilities,
you
can
grant
certain
privileges
to
a
process
without
granting
all
the
privileges
of
the
root
user."
schema
:
type
:
list
items
:
-
variable
:
capability
description
:
"
Add
Capability"
label
:
"
Add
Capability"
schema
:
type
:
string
test/ix-chart/2111.0.0/templates/_workload.tpl
View file @
29518b30
...
@@ -56,7 +56,11 @@ containers:
...
@@ -56,7 +56,11 @@ containers:
- name: {{ .Chart.Name }}
- name: {{ .Chart.Name }}
{{- include "volumeMountsConfiguration" . | indent 2}}
{{- include "volumeMountsConfiguration" . | indent 2}}
securityContext:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
privileged: {{ .Values.securityContext.privileged }}
{{ if .Values.securityContext.capabilities }}
capabilities:
add: {{ toYaml .Values.securityContext.capabilities | nindent 8 }}
{{ end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- include "containerCommand" . | indent 2 }}
{{- include "containerCommand" . | indent 2 }}
...
...
test/ix-chart/2111.0.0/test_values.yaml
View file @
29518b30
...
@@ -37,3 +37,6 @@ livenessProbe: null
...
@@ -37,3 +37,6 @@ livenessProbe: null
workloadType
:
"
Deployment"
workloadType
:
"
Deployment"
gpuConfiguration
:
{}
gpuConfiguration
:
{}
securityContext
:
privileged
:
false
capabilities
:
[]
test/ix-chart/2111.0.0/values.yaml
deleted
100644 → 0
View file @
5c18d21d
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