k3s/namespaces/core/core-secrets.yaml
Jonathan Leech-Pepin 2e57d7f308
Add minio and setup backups
- Fix pgdump backups by adding needed secret
- Ensure nested kustomizations grab pgdump and minio
2025-04-01 18:41:50 -04:00

27 lines
923 B
YAML

apiVersion: secrets.infisical.com/v1alpha1
kind: InfisicalSecret
metadata:
name: core-secrets
namespace: infisical
labels:
label-to-be-passed-to-managed-secret: homelab
annotations:
example.com/annotation-to-be-passed-to-managed-secret: "homelab"
spec:
hostAPI: https://app.infisical.com/api
resyncInterval: 10
authentication:
# Universal Auth
universalAuth:
secretsScope:
projectSlug: homelab-n-f-yj
envSlug: prod
secretsPath: "/core" # Root is "/"
recursive: true # Whether or not to use recursive mode (Fetches all secrets in an environment from a given secret path, and all folders inside the path) / defaults to false
credentialsRef:
secretName: universal-auth-credentials
secretNamespace: infisical
managedSecretReference:
secretName: core-secrets
secretNamespace: core
creationPolicy: "Orphan" ## Owner | Orphan