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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user