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
Security Tools
Twistlock
Commits
4b06329a
Commit
4b06329a
authored
Apr 06, 2021
by
tunde
Committed by
Ryan Garcia
Apr 06, 2021
Browse files
Add Support for Tolerations and Resources in Deployment object
parent
fb6bca31
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
chart/Chart.yaml
chart/Chart.yaml
+1
-1
chart/templates/deployment.yaml
chart/templates/deployment.yaml
+6
-0
chart/values.yaml
chart/values.yaml
+14
-0
No files found.
CHANGELOG.md
View file @
4b06329a
...
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
...
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
---
---
## [0.0.3-bb.4] - 2021-04-06
### Added
-
Resource and Toleration Values
## [0.0.3-bb.3] - 2021-04-05
## [0.0.3-bb.3] - 2021-04-05
### Changed
### Changed
-
Affinity values modified to standardize
-
Affinity values modified to standardize
...
...
chart/Chart.yaml
View file @
4b06329a
apiVersion
:
v2
apiVersion
:
v2
name
:
twistlock
name
:
twistlock
version
:
0.0.3-bb.
3
version
:
0.0.3-bb.
4
appVersion
:
20.12.531
appVersion
:
20.12.531
chart/templates/deployment.yaml
View file @
4b06329a
...
@@ -29,6 +29,10 @@ spec:
...
@@ -29,6 +29,10 @@ spec:
nodeSelector
:
nodeSelector
:
{{
toYaml .Values.nodeSelector | nindent 8
}}
{{
toYaml .Values.nodeSelector | nindent 8
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.tolerations
}}
tolerations
:
{{
toYaml .Values.tolerations | nindent 8
}}
{{
- end
}}
{{
- if .Values.affinity
}}
{{
- if .Values.affinity
}}
affinity
:
affinity
:
{{
toYaml .Values.affinity | nindent 8
}}
{{
toYaml .Values.affinity | nindent 8
}}
...
@@ -43,6 +47,8 @@ spec:
...
@@ -43,6 +47,8 @@ spec:
containerPort
:
8084
containerPort
:
8084
-
name
:
mgmt-http
-
name
:
mgmt-http
containerPort
:
8081
containerPort
:
8081
resources
:
{{
toYaml .Values.resources | nindent 10
}}
env
:
env
:
-
name
:
HIGH_AVAILABILITY_ENABLED
-
name
:
HIGH_AVAILABILITY_ENABLED
value
:
"
false"
value
:
"
false"
...
...
chart/values.yaml
View file @
4b06329a
...
@@ -46,3 +46,17 @@ affinity: {}
...
@@ -46,3 +46,17 @@ affinity: {}
nodeSelector
:
{}
nodeSelector
:
{}
# node-type: twistlock"
# node-type: twistlock"
tolerations
:
[]
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
resources
:
limits
:
{}
# memory: 256Mi
# cpu: 100m
requests
:
{}
# memory: 256Mi
# cpu: 100m
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