Skip to content

Commit d2ec33b

Browse files
Merge pull request #75 from philips-labs/oidc-nginx-resources
2 parents 740aa00 + 8dff2d9 commit d2ec33b

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

charts/spire/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description: |
2727
- --service-account-signing-key-file=/run/config/pki/sa.key
2828
```
2929
type: application
30-
version: 0.7.0
30+
version: 0.7.1
3131
appVersion: "1.5.1"
3232
keywords: ["spiffe", "spire", "spire-server", "spire-agent", "oidc"]
3333
home: https://github.com/philips-labs/helm-charts/charts/spire

charts/spire/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- This README.md is generated. -->
44

5-
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.1](https://img.shields.io/badge/AppVersion-1.5.1-informational?style=flat-square)
5+
![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.1](https://img.shields.io/badge/AppVersion-1.5.1-informational?style=flat-square)
66

77
A Helm chart for deploying spire-server and spire-agent.
88

@@ -89,6 +89,7 @@ Kubernetes: `>=1.21.0-0`
8989
| oidc.insecureScheme.nginx.image.registry | string | `"docker.io"` | |
9090
| oidc.insecureScheme.nginx.image.repository | string | `"nginx"` | |
9191
| oidc.insecureScheme.nginx.image.version | string | `"1.23.2-alpine"` | |
92+
| oidc.insecureScheme.nginx.resources | object | `{}` | |
9293
| oidc.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
9394
| oidc.podAnnotations | object | `{}` | |
9495
| oidc.podSecurityContext | object | `{}` | |

charts/spire/templates/oidc-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ spec:
8787
mountPath: /etc/nginx/templates/default.conf.template
8888
subPath: default.conf.template
8989
readOnly: true
90+
resources:
91+
{{- toYaml .Values.oidc.insecureScheme.nginx.resources | nindent 12 }}
9092
{{- end }}
9193
volumes:
9294
- name: spiffe-workload-api

charts/spire/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,17 @@ oidc:
214214
# repository: chainguard/nginx
215215
# pullPolicy: IfNotPresent
216216
# version: "1.23.2"
217+
resources: {}
218+
# We usually recommend not to specify default resources and to leave this as a conscious
219+
# choice for the user. This also increases chances charts run on environments with little
220+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
221+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
222+
# requests:
223+
# cpu: 50m
224+
# memory: 32Mi
225+
# limits:
226+
# cpu: 100m
227+
# memory: 64Mi
217228

218229
config:
219230
logLevel: info

0 commit comments

Comments
 (0)