Skip to content

Commit f5d1091

Browse files
authored
Merge pull request #75082 from bergerhoffer/OCPBUGS-32769
OCPBUGS#32769: Adding dockercfg to list of types of secrets
2 parents dedf8a3 + e2da62e commit f5d1091

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

modules/nodes-pods-secrets-about.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ which is the default.
6464

6565
Specify one of the following types to trigger minimal server-side validation to ensure the presence of specific key names in the secret data:
6666

67-
* `kubernetes.io/service-account-token`. Uses a service account token.
68-
* `kubernetes.io/basic-auth`. Use with Basic Authentication.
69-
* `kubernetes.io/ssh-auth`. Use with SSH Key Authentication.
70-
* `kubernetes.io/tls`. Use with TLS certificate authorities.
67+
* `kubernetes.io/basic-auth`: Use with Basic authentication
68+
* `kubernetes.io/dockercfg`: Use as an image pull secret
69+
* `kubernetes.io/dockerconfigjson`: Use as an image pull secret
70+
* `kubernetes.io/service-account-token`: Use to obtain a legacy service account API token
71+
* `kubernetes.io/ssh-auth`: Use with SSH key authentication
72+
* `kubernetes.io/tls`: Use with TLS certificate authorities
7173

7274
Specify `type: Opaque` if you do not want validation, which means the secret does not claim to conform to any convention for key names or values.
7375
An _opaque_ secret, allows for unstructured `key:value` pairs that can contain arbitrary values.
@@ -78,7 +80,7 @@ You can specify other arbitrary types, such as `example.com/my-secret-type`. The
7880
but indicate that the creator of the secret intended to conform to the key/value requirements of that type.
7981
====
8082

81-
For examples of different secret types, see the code samples in _Using Secrets_.
83+
For examples of creating different types of secrets, see _Understanding how to create secrets_.
8284

8385
[id="nodes-pods-secrets-about-keys_{context}"]
8486
== Secret data keys

0 commit comments

Comments
 (0)