Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Kubernetes Secret

...

Kubernetes Secrets let Secret lets you store and manage sensitive information, such as your passwords, OAuth tokens, and ssh keys. Storing confidential information SSH Keys. It is recommended that you store your credentials in a Secret is safer and more flexible than putting defining it verbatim in a Pod  definition or in a a container image. See Secrets design document for more information. Secret can be credentials/ hidden configuration which Your Secret credentials are hidden configurations and can be referenced by containers during runtime
Note: Kubernetes Secrets must be created .

Notes

  • You can create a Kubernetes Secret within a namespace.

...

  • Once you create a Secret within a namespace, it can be

...

  • accessed only by the deployments

...

  • within the current namespace

...

To create a Kubernetes Secret on your HCP portal:

  1. Login to

...

Click on Action Button  Click on New Secret

...

Enter a name: app1-secret1

...

Select Namespace: production

...

  1. your HCP Portal account.

  2. Click Service Orchestration and navigate to Containers > Click open your provisioned Kubernetes Cluster > Click Action > Click New Secret.

  3. Enter these details in the New Secret dialog:

    1. Enter a Name for your Kubernetes Secret.

    2. From the Namespace drop-down list, select a namespace for which you want to create the Secret.

    3. Select the Secret Type from the drop-down list.

...