-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcr-template.yaml
More file actions
19 lines (19 loc) · 1.05 KB
/
cr-template.yaml
File metadata and controls
19 lines (19 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: secrets.phase.dev/v1alpha1
kind: PhaseSecret
metadata:
name: example-phase-secret
namespace: default
spec:
phaseApp: "your-phase-application" # The name of your Phase application
phaseAppEnv: "production" # OPTIONAL The Phase application environment to fetch secrets from
phaseAppEnvPath: "/" # OPTIONAL Path within the Phase application environment to fetch secrets from
phaseHost: "https://console.phase.dev" # OPTIONAL - URL of a Phase Console instance
pollingInterval: 5 # OPTIONAL - Interval in seconds to poll for secret updates. Default is 60 seconds.
authentication:
serviceToken:
serviceTokenSecretReference:
secretName: "phase-service-token" # Name of the Phase service token with access to your application
secretNamespace: "default"
managedSecretReferences: # Managed secrets in Kubernetes that Phase will sync secrets with
- secretName: "my-application-secret" # Name of the managed secret in Kubernetes that will be consumed by your application
secretNamespace: "default"