Skip to content

Commit

Permalink
Merge pull request #1275 from consideRatio/fix-extraImages-lint
Browse files Browse the repository at this point in the history
Fix prePuller.extraImages linting etc
  • Loading branch information
consideRatio authored May 12, 2019
2 parents eaf87a2 + 142f743 commit 236fb48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions doc/source/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ your `config.yaml`:

```yaml
prePuller:
hook:
enabled: false
hook:
enabled: false
```
### Pre-pulling and changes in cluster size
Expand Down Expand Up @@ -264,10 +264,10 @@ of additional images.

```yaml
prePuller:
extraImages:
ubuntu-xenial:
name: ubuntu
tag: 16.04
extraImages:
ubuntu-xenial:
name: ubuntu
tag: 16.04
```

This snippet will pre-pull the `ubuntu:16.04` image on all nodes, for example. You can
Expand Down
2 changes: 1 addition & 1 deletion doc/source/optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ the following paths:
- `singleuser.image`
- `singleuser.profileList[].kubespawner_override.image`
- `singleuser.extraContainers[].image`
- `prePuller.extraImages[].someName`
- `prePuller.extraImages.someName`

#### Additional sources
- `singleuser.networkTools.image`
Expand Down
6 changes: 5 additions & 1 deletion tools/templates/lint-and-validate-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,11 @@ prePuller:
continuous:
enabled: true
extraImages:
- name: mock-user/mock-image
mockImage1:
name: mock-user/mock-image1
tag: mock-tag
mockImage2:
name: mock-user/mock-image2
tag: mock-tag


Expand Down

0 comments on commit 236fb48

Please sign in to comment.