diff --git a/CHANGELOG.md b/CHANGELOG.md index 87805a9f0da02a37675d8f2f634be922d8227ccb..39b9692c62427a16206ad6125369b1cc003d024e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ### Changed - Affinity values modified to standardize diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 6824c662300cd6aa01d1add469731521e7a4a5f1..7e5399a0a5d22afd73b64f7aebbc74c5666b7cba 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: twistlock -version: 0.0.3-bb.3 +version: 0.0.3-bb.4 appVersion: 20.12.531 diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index ff9eb7c8eb9cddad64d57d3474891ce62ef6efa2..0df696b489d7a83d0acd3e200bc67a48fc0a43e7 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -29,6 +29,10 @@ spec: nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} {{- end }} + {{- if .Values.tolerations }} + tolerations: + {{ toYaml .Values.tolerations | nindent 8 }} + {{- end }} {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 8 }} @@ -43,6 +47,8 @@ spec: containerPort: 8084 - name: mgmt-http containerPort: 8081 + resources: + {{ toYaml .Values.resources | nindent 10 }} env: - name: HIGH_AVAILABILITY_ENABLED value: "false" diff --git a/chart/values.yaml b/chart/values.yaml index 10b51852b9069ae0beebaec787e61f19c8d0e75d..e93950c40d1d2b43e08cc9e104dc1e6bdde94bd2 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -46,3 +46,17 @@ affinity: {} nodeSelector: {} # node-type: twistlock" + +tolerations: [] + # - key: "key1" + # operator: "Equal" + # value: "value1" + # effect: "NoSchedule" + +resources: + limits: {} + # memory: 256Mi + # cpu: 100m + requests: {} + # memory: 256Mi + # cpu: 100m