mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 06:26:16 +00:00
45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
apiVersion: secrets.infisical.com/v1alpha1
|
|
kind: InfisicalSecret
|
|
metadata:
|
|
name: infisicalsecret-sample
|
|
labels:
|
|
label-to-be-passed-to-managed-secret: sample-value
|
|
annotations:
|
|
example.com/annotation-to-be-passed-to-managed-secret: "sample-value"
|
|
spec:
|
|
hostAPI: https://app.infisical.com/api
|
|
resyncInterval: 10
|
|
authentication:
|
|
# Make sure to only have 1 authentication method defined, serviceToken/universalAuth.
|
|
# If you have multiple authentication methods defined, it may cause issues.
|
|
serviceToken:
|
|
serviceTokenSecretReference:
|
|
secretName: service-token
|
|
secretNamespace: default
|
|
secretsScope:
|
|
envSlug: <env-slug>
|
|
secretsPath: <secrets-path> # Root is "/"
|
|
recursive: true # Wether 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
|
|
|
|
universalAuth:
|
|
secretsScope:
|
|
projectSlug: <project-slug>
|
|
envSlug: <env-slug> # "dev", "staging", "prod", etc..
|
|
secretsPath: "<secrets-path>" # Root is "/"
|
|
recursive: true # Wether 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: default
|
|
|
|
managedSecretReference:
|
|
secretName: managed-secret
|
|
secretNamespace: default
|
|
creationPolicy: "Orphan" ## Owner | Orphan
|
|
# secretType: kubernetes.io/dockerconfigjson
|
|
|
|
# # To be depreciated soon
|
|
# tokenSecretReference:
|
|
# secretName: service-token
|
|
# secretNamespace: default
|