Skip to content

Commit

Permalink
Update sensor deployment (argoproj#116)
Browse files Browse the repository at this point in the history
* Deply sensor as deployment if repeatable else deploy it as job

* Nuking refresh namespace

* Updated sensor and gateway specs to add ImageVersion to use specific image versions for internal components

* Fixing issue with K8 events

* Fixing issue with K8 events

Signed-off-by: vpage <[email protected]>
  • Loading branch information
VaibhavPage authored and magaldima committed Oct 29, 2018
1 parent 8d971bf commit c9d7d0c
Show file tree
Hide file tree
Showing 50 changed files with 1,101 additions and 662 deletions.
127 changes: 67 additions & 60 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ required = [

[[constraint]]
name = "github.com/Shopify/sarama"
version = "1.16.0"
version = "1.19.0"

[[constraint]]
name = "github.com/stretchr/testify"
Expand Down
18 changes: 17 additions & 1 deletion cmd/controllers/gateway/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2018 BlackRock, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package main

import (
Expand Down Expand Up @@ -27,7 +43,7 @@ func main() {
}

// create new gateway controller
controller := gateway.NewGatewayController(restConfig, configMap)
controller := gateway.NewGatewayController(restConfig, configMap, namespace)
// watch for configuration updates for the controller
err = controller.ResyncConfig(namespace)
if err != nil {
Expand Down
Loading

0 comments on commit c9d7d0c

Please sign in to comment.