Skip to content

Commit

Permalink
Remove testing leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
meln5674 committed May 28, 2022
1 parent 345f8dc commit 04bdf2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Expand Up @@ -13,7 +13,7 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/grafana-operator/grafana-operator
newTag: vtesting
newTag: v4.4.1

# Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics
Expand Down
2 changes: 0 additions & 2 deletions controllers/grafanadashboard/dashboard_pipeline.go
Expand Up @@ -151,7 +151,6 @@ func (r *DashboardPipelineImpl) obtainJson() error {
}

if r.Dashboard.Spec.GzipConfigMapRef != nil {
r.Logger.Info("TODO: REMOVE --- gzipConfigMapRef was provided")
err := r.loadDashboardFromConfigMap(r.Dashboard.Spec.GzipConfigMapRef, true)
if err != nil {
r.Logger.Error(err, "failed to get config map, falling back to raw json")
Expand All @@ -161,7 +160,6 @@ func (r *DashboardPipelineImpl) obtainJson() error {
}

if r.Dashboard.Spec.GzipJson != nil {
r.Logger.Info("TODO: REMOVE --- gzipJson was provided")
jsonBytes, err := v1alpha1.Gunzip(r.Dashboard.Spec.GzipJson)
if err != nil {
r.Logger.Error(err, "failed to decode/decompress gzipped json")
Expand Down
2 changes: 1 addition & 1 deletion deploy/manifests/latest/deployment.yaml
Expand Up @@ -62,7 +62,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/grafana-operator/grafana-operator:vtesting
image: quay.io/grafana-operator/grafana-operator:v4.4.1
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down

0 comments on commit 04bdf2b

Please sign in to comment.