Skip to content

Prior helm install of stable/prometheus-operator chart not reflected in helm-diff output #168

@mojochao

Description

@mojochao

I have installed the stable/prometheus chart into my cluster with helm install prometheus-operator stable/prometheus-operator command with helm v3 and it shows up in my release listing.

$ helm version
version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"}

$ helm plugin list
NAME    	VERSION   	DESCRIPTION
2to3    	0.2.0     	migrate and cleanup Helm v2 configuration and releases in-place to Helm v3
diff    	3.0.0-rc.7	Preview helm upgrade changes as a diff
helm-git	0.5.0     	Get non-packaged Charts directly from Git.
registry	0.7.0     	This plugin provides app-registry client to Helm.
        	          	usage:
        	          	  $ helm registr...

$ helm list -n monitoring
NAME               	NAMESPACE 	REVISION	UPDATED                             	STATUS  	CHART                    	APP VERSION
prometheus-operator	monitoring	1       	2019-11-25 14:59:45.309477 -0600 CST	deployed	prometheus-operator-8.2.4	0.34.0

Running a helm -n monitoring diff upgrade prometheus-operator stable/prometheus-operator --reuse-values command shows a diff containing adds of resources already present in the cluster from the prior helm install prometheus-operator stable/prometheus-operator command, and I expected to see no diff.

This is the only chart in my cluster that behaves this way when a helm diff upgrade command is run for them.

Are my expectations wrong or is this a bug? Does the helm-diff plugin correctly handle helm v3 namespace-scoped releases? It certainly seems to for all other charts I've used.

Many thanks in advance for any info or diagnostic advice!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions