Secret Type - DOCKERCFG
The DOCKERCFG-Type is for syncing the Pull-Credentials for secured Docker repositories. The data has to be saved in a specific format inside a KV Secret Engine.
Based on your used Key Value Secret Engine please see the following instructions.
How To for KV Engine V1:
As already described the Pull-Credentials must be saved in a specific format inside a KV Secret Engine:
After this you can apply the following Vault Resource to Kubernetes:
Now you should see a Vault resource in Kubernetes and the created Docker Pull-Credentials:
How To for KV Engine V2:
As already described the Pull-Credentials must be saved in a specific format inside a KV2 Secret Engine:
After this you can apply the following Vault Resource to Kubernetes:
Now you should see a Vault resource in Kubernetes and the created Docker Pull-Credentials:
Supported Values in dockerCfgConfiguration
Change Adjustment Callback
For more details please see Change Detection!
Last updated