GET
/
apis
/
cloud.streamnative.io
/
v1alpha1
/
namespaces
/
{namespace}
/
secrets
/
{name}
{
  "apiVersion": "<string>",
  "data": {},
  "instanceName": "",
  "kind": "<string>",
  "location": "",
  "metadata": {
    "annotations": {},
    "clusterName": "<string>",
    "creationTimestamp": "2023-11-07T05:31:56Z",
    "deletionGracePeriodSeconds": 123,
    "deletionTimestamp": "2023-11-07T05:31:56Z",
    "finalizers": [
      ""
    ],
    "generateName": "<string>",
    "generation": 123,
    "labels": {},
    "managedFields": [
      {
        "apiVersion": "<string>",
        "fieldsType": "<string>",
        "fieldsV1": {},
        "manager": "<string>",
        "operation": "<string>",
        "subresource": "<string>",
        "time": "2023-11-07T05:31:56Z"
      }
    ],
    "name": "<string>",
    "namespace": "<string>",
    "ownerReferences": [
      {
        "apiVersion": "",
        "blockOwnerDeletion": true,
        "controller": true,
        "kind": "",
        "name": "",
        "uid": ""
      }
    ],
    "resourceVersion": "<string>",
    "selfLink": "<string>",
    "uid": "<string>"
  },
  "poolMemberRef": {
    "name": "",
    "namespace": ""
  },
  "spec": {},
  "status": {},
  "tolerations": [
    {
      "effect": "<string>",
      "key": "<string>",
      "operator": "<string>",
      "value": "<string>"
    }
  ]
}

Path Parameters

name
string
required

name of the Secret

namespace
string
required

object name and auth scope, such as for teams and projects

Query Parameters

pretty
string

If 'true', then the output is pretty printed.

Response

OK

Secret

instanceName
string
default:""
required
location
string
default:""
required
apiVersion
string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

data
object

the value should be base64 encoded

kind
string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
object

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

poolMemberRef
object

PoolMemberRef is the pool member to deploy the secret. admission controller will infer this information automatically PoolMemberReference is a reference to a pool member with a given name.

spec
object
status
object
tolerations
object[]