diff --git a/website/source/docs/providers/kubernetes/r/secret.html.markdown b/website/source/docs/providers/kubernetes/r/secret.html.markdown index ba01c7203..ccb3f7154 100644 --- a/website/source/docs/providers/kubernetes/r/secret.html.markdown +++ b/website/source/docs/providers/kubernetes/r/secret.html.markdown @@ -33,6 +33,22 @@ resource "kubernetes_secret" "example" { } ``` +## Example Usage (Docker config) + +```hcl +resource "kubernetes_secret" "example" { + metadata { + name = "docker-cfg" + } + + data { + ".dockercfg" = "${file("${path.module}/.docker/config.json")}" + } + + type = "kubernetes.io/dockercfg" +} +``` + ## Argument Reference The following arguments are supported: