Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #122 from nre-learning/revert-120
Browse files Browse the repository at this point in the history
Finish reverting 120
  • Loading branch information
Mierdin authored Jul 30, 2019
2 parents b7ed6c6 + e9ab460 commit 005f4d0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scheduler/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,13 @@ func (ls *LessonScheduler) createPod(ep *pb.Endpoint, networks []string, req *Le
// Privileged status is currently required by both the lite and full vqfx versions.
// It may also be required by other images we bring on board.
privilegedImages := map[string]string{
"antidotelabs/container-vqfx": "",
// "antidotelabs/vqfx:snap2": "",
// "antidotelabs/vqfx:snap3": "",
// "antidotelabs/vqfx-full:18.1R1.9": "",

// TODO(mierdin): Fix these once the new image is available
// "antidotelabs/container-vqfx": "",
"antidotelabs/vqfx:snap1": "",
"antidotelabs/vqfx:snap2": "",
"antidotelabs/vqfx:snap3": "",
"antidotelabs/vqfx-full:18.1R1.9": "",
}
if _, ok := privilegedImages[ep.Image]; ok {
b := true
Expand Down

0 comments on commit 005f4d0

Please # to comment.