feat: move to chart and namespace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user