Allow to configure resources per object

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:03 +01:00
committed by Marco Franssen
parent fb5985ada4
commit 569412b5d4
5 changed files with 81 additions and 15 deletions
@@ -59,6 +59,8 @@ spec:
port: 8080
initialDelaySeconds: 15
periodSeconds: 60
resources:
{{- toYaml .Values.agent.resources | nindent 12 }}
# This is the container which runs the SPIFFE CSI driver.
- name: spiffe-csi-driver
image: ghcr.io/spiffe/spiffe-csi-driver:nightly
@@ -90,6 +92,8 @@ spec:
name: mountpoint-dir
securityContext:
privileged: true
resources:
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
# This container runs the CSI Node Driver Registrar which takes care
# of all the little details required to register a CSI driver with
# the kubelet.
@@ -108,6 +112,8 @@ spec:
# directory
- name: kubelet-plugin-registration-dir
mountPath: /registration
resources:
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
volumes:
- name: spire-config
configMap:
+1 -1
View File
@@ -66,7 +66,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.oidc.resources | nindent 12 }}
{{- if .Values.oidc.insecureScheme.enabled }}
- name: nginx
securityContext:
@@ -76,7 +76,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.server.resources | nindent 12 }}
- name: {{ .Chart.Name }}-workload-registrar
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}