Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/configuration/config.yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ DockerConfig:
KanikoConfig:
- `cache` *bool* if true the last image build is used as cache repository
- `namespace` *string* specifies the namespace where the build pod should be started
- `pullSecret` *string* mount this pullSecret instead of creating one to authenticate to the registry
- `pullSecret` *string* mount this pullSecret instead of creating one to authenticate to the registry (see [kaniko](https://github.com/covexo/devspace/tree/master/examples/kaniko) for an example)

### images[].build.options
BuildOptions:
Expand Down
10 changes: 5 additions & 5 deletions examples/kaniko/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ As a third option you can provide the pullSecret to use for kaniko yourself. Mak
apiVersion: v1
kind: Secret
data:
# .dockerconfigjson encoded in base64 e.g.:
# You need to specify the .dockerconfigjson (which will be mounted in the executor pod in /root/.docker/config.json) encoded in base64 e.g.:
# {
# "auths": {
# "myRegistryUrl": {
# "auth": "base64Encoded(user:password/token)",
# "email": "myemail@test.de"
# "<registryUrl>": {
# "auth": "<base64Encoded(user:password/token)>",
# "email": "<myemail@test.de>"
# }
# }
# }
.dockerconfigjson: BASE64EncodedDockerConfigJson
.dockerconfigjson: <BASE64EncodedDockerConfigJson>
```

Now specify the pullsecret name as the pull secret to use for kaniko in the .devspace/config:
Expand Down