From 74a983c2277f6593d93174aaff726aa21c3c1cf9 Mon Sep 17 00:00:00 2001 From: Nimish Date: Thu, 12 Sep 2024 12:51:14 +0530 Subject: [PATCH] feat: added phaseAppId in kubernetes operator docs --- src/pages/integrations/platforms/kubernetes.mdx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/integrations/platforms/kubernetes.mdx b/src/pages/integrations/platforms/kubernetes.mdx index 0b1eee47..81422384 100644 --- a/src/pages/integrations/platforms/kubernetes.mdx +++ b/src/pages/integrations/platforms/kubernetes.mdx @@ -69,6 +69,10 @@ Create a custom resource file: `phase-secrets-operator-cr.yaml` 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`. +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: + +![hello world](/assets/images/console/settings/application-id.png) + ```yaml apiVersion: secrets.phase.dev/v1alpha1 kind: PhaseSecret @@ -76,7 +80,7 @@ metadata: name: example-phase-secret namespace: default spec: - phaseApp: 'your-phase-app' # The name of your Phase application + phaseAppId: '00000000-0000-0000-0000-000000000000' # The ID of your Phase application phaseAppEnv: 'production' # OPTIONAL - The Phase App 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 @@ -99,7 +103,7 @@ metadata: name: example-phase-secret namespace: default spec: - phaseApp: 'your-phase-app' + phaseAppId: '00000000-0000-0000-0000-000000000000' # The ID of your Phase application phaseAppEnv: 'production' # OPTIONAL - The Phase App Environment to fetch secrets from phaseAppEnvPath: 'certs/' # OPTIONAL Path within the Phase application environment to fetch secrets from phaseHost: 'https://console.phase.dev' # OPTIONAL - URL of a Phase Console instance @@ -220,6 +224,7 @@ metadata: name: example-phase-secret namespace: default spec: + phaseAppId: '00000000-0000-0000-0000-000000000000' phaseAppEnv: 'prod' phaseAppEnvTag: 'certs' phaseHost: 'https://console.phase.dev'