Skip to content

Commit

Permalink
Merge pull request #370 from keel-hq/feature/helm_issue_367
Browse files Browse the repository at this point in the history
Feature/helm issue 367
  • Loading branch information
rusenask authored Apr 23, 2019
2 parents 0241b8f + b93d462 commit d6ba949
Show file tree
Hide file tree
Showing 135 changed files with 11,192 additions and 446 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:

# specify any bash command here prefixed with `run: `
- run: make build
- run: go get github.com/mfridman/tparse
- run: make test
lint-scripts:
docker:
Expand Down
54 changes: 50 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,6 @@
name="k8s.io/apimachinery"
branch="release-1.9"

# [[constraint]]
# name="k8s.io/client-go"
# branch="release-6.0"

# [[constraint]]
# name="k8s.io/api"
# branch="release-1.9"


[[constraint]]
name = "k8s.io/helm"
version = "2.5.0"

[prune]
go-tests = true
unused-packages = true
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ aarch64:
arm: build-binaries compress fetch-certs armhf aarch64

test:
go test -v `go list ./... | egrep -v /tests`
# go test -v `go list ./... | egrep -v /tests`
go test -json -v `go list ./... | egrep -v /tests` -cover | tparse -all -smallscreen

build:
@echo "++ Building keel"
Expand Down
4 changes: 4 additions & 0 deletions provider/helm/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ func getImages(vals chartutil.Values) ([]*types.TrackedImage, error) {
Policy: keelCfg.Plc,
}

if imageDetails.ImagePullSecret != "" {
trackedImage.Secrets = append(trackedImage.Secrets, imageDetails.ImagePullSecret)
}

images = append(images, trackedImage)
}

Expand Down
Loading

0 comments on commit d6ba949

Please sign in to comment.