feat: Add ispon
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 50s
lint-test-helm / validate-kubeconform (pull_request) Successful in 54s
render-manifests / render-manifests (pull_request) Successful in 1m32s

This commit is contained in:
2026-04-22 10:43:03 -05:00
parent 7ee6ce8477
commit dbd2b1c0f9
4 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{{/*
Common labels
*/}}
{{- define "custom.labels" -}}
{{ include "custom.selectorLabels" $ }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "custom.selectorLabels" -}}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
{{- end }}

View File

@@ -0,0 +1,18 @@
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: isponsorblocktv-config
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: isponsorblocktv-config
{{- include "custom.labels" . | nindent 4 }}
spec:
provider: openbao
parameters:
baoAddress: "http://openbao-internal.openbao:8200"
roleName: isponsorblocktv
objects: |
- objectName: config.json
fileName: config.json
secretPath: secret/data/cl01tl/isponsorblocktv/config
secretKey: config.json