diff --git a/charts/dragonfly-operator/templates/deployment.yaml b/charts/dragonfly-operator/templates/deployment.yaml index be8da36..0c24699 100644 --- a/charts/dragonfly-operator/templates/deployment.yaml +++ b/charts/dragonfly-operator/templates/deployment.yaml @@ -50,12 +50,7 @@ spec: name: https protocol: TCP resources: - limits: - cpu: 500m - memory: 128Mi - requests: - cpu: 5m - memory: 64Mi + {{- toYaml .Values.rbacProxy.resources | nindent 12 }} - name: manager args: diff --git a/charts/dragonfly-operator/values.yaml b/charts/dragonfly-operator/values.yaml index 4af9ba3..18e67b7 100644 --- a/charts/dragonfly-operator/values.yaml +++ b/charts/dragonfly-operator/values.yaml @@ -50,13 +50,13 @@ rbacProxy: # Overrides the image tag whose default is the chart appVersion. tag: v0.13.1 - resources: {} -# limits: -# cpu: 500m -# memory: 128Mi -# requests: -# cpu: 10m -# memory: 64Mi + resources: + limits: + cpu: 500m + memory: 128Mi + requests: + cpu: 10m + memory: 64Mi securityContext: allowPrivilegeEscalation: false