Skip to content

Commit 74a983c

Browse files
committed
feat: added phaseAppId in kubernetes operator docs
1 parent d5d6493 commit 74a983c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/pages/integrations/platforms/kubernetes.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@ Create a custom resource file: `phase-secrets-operator-cr.yaml`
6969

7070
A Basic custom resource to sync all secrets from a `production` environment in an App in the Phase Console to your Kubernetes cluster as `my-application-secret`, type `Opaque`.
7171

72+
You can get the AppID by going to your application settings in the Phase Console, hovering over UUID under the App section and clicking the `Copy` button:
73+
74+
![hello world](/assets/images/console/settings/application-id.png)
75+
7276
```yaml
7377
apiVersion: secrets.phase.dev/v1alpha1
7478
kind: PhaseSecret
7579
metadata:
7680
name: example-phase-secret
7781
namespace: default
7882
spec:
79-
phaseApp: 'your-phase-app' # The name of your Phase application
83+
phaseAppId: '00000000-0000-0000-0000-000000000000' # The ID of your Phase application
8084
phaseAppEnv: 'production' # OPTIONAL - The Phase App Environment to fetch secrets from
8185
phaseAppEnvPath: '/' # OPTIONAL Path within the Phase application environment to fetch secrets from
8286
phaseHost: 'https://console.phase.dev' # OPTIONAL - URL of a Phase Console instance
@@ -99,7 +103,7 @@ metadata:
99103
name: example-phase-secret
100104
namespace: default
101105
spec:
102-
phaseApp: 'your-phase-app'
106+
phaseAppId: '00000000-0000-0000-0000-000000000000' # The ID of your Phase application
103107
phaseAppEnv: 'production' # OPTIONAL - The Phase App Environment to fetch secrets from
104108
phaseAppEnvPath: 'certs/' # OPTIONAL Path within the Phase application environment to fetch secrets from
105109
phaseHost: 'https://console.phase.dev' # OPTIONAL - URL of a Phase Console instance
@@ -220,6 +224,7 @@ metadata:
220224
name: example-phase-secret
221225
namespace: default
222226
spec:
227+
phaseAppId: '00000000-0000-0000-0000-000000000000'
223228
phaseAppEnv: 'prod'
224229
phaseAppEnvTag: 'certs'
225230
phaseHost: 'https://console.phase.dev'

0 commit comments

Comments
 (0)