Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pb82 committed Jul 29, 2019
1 parent 1efd7c6 commit 693fe38
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NAMESPACE ?= application-monitoring
PROJECT ?= application-monitoring-operator
REG=quay.io
SHELL=/bin/bash
TAG ?= 0.0.20
TAG ?= 0.0.21
PKG=github.com/integr8ly/application-monitoring-operator
TEST_DIRS?=$(shell sh -c "find $(TOP_SRC_DIRS) -name \\*_test.go -exec dirname {} \\; | sort | uniq")
TEST_POD_NAME=application-monitoring-operator-test
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
serviceAccountName: application-monitoring-operator
containers:
- name: application-monitoring-operator
image: quay.io/integreatly/application-monitoring-operator:0.0.20
image: quay.io/integreatly/application-monitoring-operator:0.0.21
ports:
- containerPort: 60000
name: metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ func (r *ReconcileApplicationMonitoring) watchAdditionalScrapeConfigs(cr *applic

go func() {
for update := range events.ResultChan() {
if update.Type != watch.Error {
secret := update.Object.(*corev1.Secret)
if update.Type != watch.Error && secret.Name == cr.Spec.AdditionalScrapeConfigSecretName {
log.Info(fmt.Sprintf("watch event of type '%v' received for additional scrape config", update.Type))
err = r.createOrUpdateAdditionalScrapeConfig(cr)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/applicationmonitoring/kubeHelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ func (h *KubeHelperImpl) startSecretWatch(cr *v1alpha1.ApplicationMonitoring) (w
LabelSelector: fmt.Sprintf("monitoring-key=%s", cr.Spec.LabelSelector),
}
return h.k8client.CoreV1().Secrets(cr.Namespace).Watch(opts)
}
}
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

var (
Version = "0.0.20"
Version = "0.0.21"
)

0 comments on commit 693fe38

Please sign in to comment.