Skip to content

Commit cc0331f

Browse files
steveiliop56claude
andcommitted
feat: add extraObjects support
Allows deploying additional Kubernetes manifests (e.g. SealedSecrets with OIDC credentials) alongside the chart without a separate Helm release. Closes #16 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bea983c commit cc0331f

4 files changed

Lines changed: 21 additions & 0 deletions

File tree

charts/tinyauth/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The tiniest authentication and authorization server you have ever seen.
1616
| autoscaling.targetMemoryUtilizationPercentage | int | `80` | |
1717
| deploymentStrategy.type | string | `"RollingUpdate"` | |
1818
| env | list | `[]` | |
19+
| extraObjects | list | `[]` | |
1920
| fullnameOverride | string | `""` | |
2021
| httpRoute.annotations | object | `{}` | |
2122
| httpRoute.enabled | bool | `false` | |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{- range .Values.extraObjects }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{- end }}

charts/tinyauth/values.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"default": [],
4444
"type": "array"
4545
},
46+
"extraObjects": {
47+
"default": [],
48+
"type": "array"
49+
},
4650
"fullnameOverride": {
4751
"type": "string"
4852
},

charts/tinyauth/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,18 @@ httpRoute:
407407
type: PathPrefix
408408
value: /
409409

410+
# Extra Kubernetes objects to deploy alongside the chart.
411+
# Useful for deploying additional manifests (e.g. SealedSecrets containing OIDC
412+
# client credentials) without needing a separate Helm release. Each item is a
413+
# raw Kubernetes manifest and may use template expressions.
414+
extraObjects: [] # @schema default: []
415+
# - apiVersion: v1
416+
# kind: Secret
417+
# metadata:
418+
# name: my-extra-secret
419+
# stringData:
420+
# key: value
421+
410422
# Additional environment variables for the container
411423
env: [] # @schema default: []
412424
# - name: CUSTOM_VAR

0 commit comments

Comments
 (0)