feat: move to chart and namespace
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 28s
lint-test-helm / validate-kubeconform (pull_request) Failing after 1m1s

This commit is contained in:
2026-04-25 21:00:14 -05:00
parent ee27e911dc
commit 098513db8a
5 changed files with 142 additions and 113 deletions

View File

@@ -1,36 +1,36 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: garage-directus-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: garage-directus-secret
{{- include "custom.labels" . | nindent 4 }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: openbao
data:
- secretKey: ACCESS_KEY_ID
remoteRef:
key: /garage/home-infra/directus-assets
property: ACCESS_KEY_ID
- secretKey: ACCESS_REGION
remoteRef:
key: /garage/home-infra/directus-assets
property: ACCESS_REGION
- secretKey: ACCESS_SECRET_KEY
remoteRef:
key: /garage/home-infra/directus-assets
property: ACCESS_SECRET_KEY
- secretKey: SRC_ENDPOINT
remoteRef:
key: /garage/config
property: ENDPOINT_LOCAL
- secretKey: DEST_ENDPOINT
remoteRef:
key: /garage/config
property: ENDPOINT_REMOTE
# apiVersion: external-secrets.io/v1
# kind: ExternalSecret
# metadata:
# name: garage-directus-secret
# namespace: {{ .Release.Namespace }}
# labels:
# app.kubernetes.io/name: garage-directus-secret
# {{- include "custom.labels" . | nindent 4 }}
# spec:
# secretStoreRef:
# kind: ClusterSecretStore
# name: openbao
# data:
# - secretKey: ACCESS_KEY_ID
# remoteRef:
# key: /garage/home-infra/directus-assets
# property: ACCESS_KEY_ID
# - secretKey: ACCESS_REGION
# remoteRef:
# key: /garage/home-infra/directus-assets
# property: ACCESS_REGION
# - secretKey: ACCESS_SECRET_KEY
# remoteRef:
# key: /garage/home-infra/directus-assets
# property: ACCESS_SECRET_KEY
# - secretKey: SRC_ENDPOINT
# remoteRef:
# key: /garage/config
# property: ENDPOINT_LOCAL
# - secretKey: DEST_ENDPOINT
# remoteRef:
# key: /garage/config
# property: ENDPOINT_REMOTE
---
apiVersion: external-secrets.io/v1