Skip to main content

Secret



Resource Icon

Resource Overview

A Kubernetes resource used to store important information in the form of individual properties, entire files, or JSON blobs.

Associated Resources

Parent Resource

Connected Resources

Resource Setting Values

  • service_name : Name of the Secret resource

  • namespace : Namespace where the Secret resource will be deployed

  • annotations : A key-value used to display necessary information in the Kubernetes system

  • labels : To distinguish objects, the user arbitrarily specifies the desired value

  • type : Secret type - Opaque,kubernetes.io/basic-auth,kubernetes.io/service-account-token,kubernetes.io/dockerconfigjson

  • immutable : Prevent data stored in the secret from being updated (only object metadata can be modified) - false,true

  • data : Data to be entered in secret

    • data.name : Name of the data to be included in the secret - Opaque,kubernetes.io/asic-auth
      • data.secret : Data to be entered in secret - Opaque,kubernetes.io/basic-auth
    • data.name : Name of the private Docker registry - kubernetes.io/dockerconfigjson
      • data.username : Username for authenticating with the private Docker registry - kubernetes.io/dockerconfigjson
      • data.password : Password for authenticating with the private Docker registry - kubernetes.io/dockerconfigjson

Reference Materials