Add common method for defining cpu/memory/gpu limitations

This commit is contained in:
M. Rehan
2022-07-25 00:31:20 +05:00
parent 19d8da5c40
commit d39c5bbb9c
622 changed files with 359 additions and 357 deletions

View File

@@ -1,6 +0,0 @@
dependencies:
- name: common
repository: file://../../../library/common/2206.0.0
version: 2206.0.0
digest: sha256:b5cc6b211cae3adaa3ab8bd5eca73e34c178b11b3daad489e27e0f72190bb115
generated: "2022-06-28T00:19:51.02504434+05:00"

View File

@@ -2,8 +2,8 @@ apiVersion: v1
appVersion: v1.35.1
dependencies:
- name: common
repository: file://../../../library/common/2206.0.0
version: 2206.0.0
repository: file://../../../library/common/2207.0.0
version: 2207.0.0
description: Real-time performance monitoring, done right!
home: https://www.netdata.cloud/
icon: https://netdata.github.io/helmchart/logo.png
@@ -16,4 +16,4 @@ sources:
- https://github.com/netdata/helmchart
- https://github.com/netdata/netdata
upstream_version: 3.7.12
version: 1.0.8
version: 1.0.9

Binary file not shown.

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../../library/common/2207.0.0
version: 2207.0.0
digest: sha256:f17f3d458ca0210a52e39da0dce35034e900b36f2040d4b19bed46a7aae91506
generated: "2022-07-25T00:20:48.220631642+05:00"

View File

@@ -28,7 +28,7 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{ include "common.resources.limitaion" . | nindent 10 }}
{{ include "common.resources.limitation" . | nindent 10 }}
env:
{{ $envList := (default list .Values.environmentVariables) }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}