Skip to content

Commit 8850305

Browse files
authored
Merge pull request #310 from covexo/issue-307
Improve kaniko example
2 parents 2f84f99 + c36e5dd commit 8850305

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/docs/configuration/config.yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ DockerConfig:
109109
KanikoConfig:
110110
- `cache` *bool* if true the last image build is used as cache repository
111111
- `namespace` *string* specifies the namespace where the build pod should be started
112-
- `pullSecret` *string* mount this pullSecret instead of creating one to authenticate to the registry
112+
- `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)
113113

114114
### images[].build.options
115115
BuildOptions:

examples/kaniko/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ As a third option you can provide the pullSecret to use for kaniko yourself. Mak
3939
apiVersion: v1
4040
kind: Secret
4141
data:
42-
# .dockerconfigjson encoded in base64 e.g.:
42+
# You need to specify the .dockerconfigjson (which will be mounted in the executor pod in /root/.docker/config.json) encoded in base64 e.g.:
4343
# {
4444
# "auths": {
45-
# "myRegistryUrl": {
46-
# "auth": "base64Encoded(user:password/token)",
47-
# "email": "myemail@test.de"
45+
# "<registryUrl>": {
46+
# "auth": "<base64Encoded(user:password/token)>",
47+
# "email": "<myemail@test.de>"
4848
# }
4949
# }
5050
# }
51-
.dockerconfigjson: BASE64EncodedDockerConfigJson
51+
.dockerconfigjson: <BASE64EncodedDockerConfigJson>
5252
```
5353
5454
Now specify the pullsecret name as the pull secret to use for kaniko in the .devspace/config:

0 commit comments

Comments
 (0)