Skip to content

Commit

Permalink
Remove resource request in manifest (#152) (#155)
Browse files Browse the repository at this point in the history
The current helm chart requests cpu and memeory resource for
kube-rbac-proxy, which is not supposed to.

This commit removes the resource request in the helm chart. This
commit also removes the workaround to force generate helm chart.
This commit will not generate new DM image.

Test passed:
Deploy an AIOSX system with the new helm chart.

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
  • Loading branch information
yjian118 committed Dec 16, 2022
1 parent 51b71fc commit 1ffff21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# needs to be re-built therefore this Makefile will only invoke that command
# if it determines that any packaged files have changed. This behaviour
# can be overridden with this variable.
HELM_FORCE ?= 1
HELM_FORCE ?= 0

# Image URL to use all building/pushing image targets
DEFAULT_IMG ?= wind-river/cloud-platform-deployment-manager
Expand Down
6 changes: 3 additions & 3 deletions docs/charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ entries:
wind-river-cloud-platform-deployment-manager:
- apiVersion: v1
appVersion: "1.0"
created: "2022-12-10T23:01:07.108494214-05:00"
created: "2022-12-15T12:33:43.676988525-05:00"
description: A Helm chart for the Deployment Manager
digest: f0e3e54e9cffbe6d81f694978dce67d8502b2be6b7c60492d4e6fd02ad0da92b
digest: aa1b91cf45a83f378b52c3885a0828f4f7977c81b637b0182f3bece1359d1d1a
icon: https://www.windriver.com/resources/images/wr-logo-red-2018.png
name: wind-river-cloud-platform-deployment-manager
urls:
- wind-river-cloud-platform-deployment-manager-2.0.10.tgz
version: 2.0.10
generated: "2022-12-10T23:01:07.105628574-05:00"
generated: "2022-12-15T12:33:43.676153918-05:00"
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,6 @@ spec:
- containerPort: {{ .Values.rbacProxy.port }}
name: https
protocol: TCP
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 64Mi
{{- end }}
- args:
{{- if .Values.manager.debugger.enabled }}
Expand Down

0 comments on commit 1ffff21

Please sign in to comment.