Allow to configure oidc nginx container resources

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:06 +01:00
committed by Marco Franssen
parent 0e480c6057
commit be163d26cc
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ Kubernetes: `>=1.21.0-0`
| oidc.insecureScheme.nginx.image.registry | string | `"docker.io"` | |
| oidc.insecureScheme.nginx.image.repository | string | `"nginx"` | |
| oidc.insecureScheme.nginx.image.version | string | `"1.23.2-alpine"` | |
| oidc.insecureScheme.nginx.resources | object | `{}` | |
| oidc.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
| oidc.podAnnotations | object | `{}` | |
| oidc.podSecurityContext | object | `{}` | |
@@ -87,6 +87,8 @@ spec:
mountPath: /etc/nginx/templates/default.conf.template
subPath: default.conf.template
readOnly: true
resources:
{{- toYaml .Values.oidc.insecureScheme.nginx.resources | nindent 12 }}
{{- end }}
volumes:
- name: spiffe-workload-api
+11
View File
@@ -214,6 +214,17 @@ oidc:
# repository: chainguard/nginx
# pullPolicy: IfNotPresent
# version: "1.23.2"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# requests:
# cpu: 50m
# memory: 32Mi
# limits:
# cpu: 100m
# memory: 64Mi
config:
logLevel: info