mirror of https://github.com/linkerd/linkerd2.git
charts: fix uninstall issue (#10704)
Now we use label to filter all resources to uninstall, but `httproutes.policy.linkerd.io` does not have label, so every uninstall would not remove it. Signed-off-by: Loong <loong.dai@intel.com>
This commit is contained in:
parent
ed4d240e36
commit
c3c4d743fe
|
|
@ -2,9 +2,12 @@
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
|
||||
creationTimestamp: null
|
||||
name: httproutes.policy.linkerd.io
|
||||
annotations:
|
||||
{{ include "partials.annotations.created-by" . }}
|
||||
labels:
|
||||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||
linkerd.io/control-plane-ns: {{.Release.Namespace}}
|
||||
spec:
|
||||
group: policy.linkerd.io
|
||||
names:
|
||||
|
|
|
|||
|
|
@ -101,9 +101,12 @@ spec:
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
|
||||
creationTimestamp: null
|
||||
name: httproutes.policy.linkerd.io
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
labels:
|
||||
helm.sh/chart: linkerd-crds-1.5.0-edge
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
spec:
|
||||
group: policy.linkerd.io
|
||||
names:
|
||||
|
|
|
|||
|
|
@ -105,9 +105,12 @@ spec:
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
|
||||
creationTimestamp: null
|
||||
name: httproutes.policy.linkerd.io
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
labels:
|
||||
helm.sh/chart: linkerd-crds-
|
||||
linkerd.io/control-plane-ns: linkerd-dev
|
||||
spec:
|
||||
group: policy.linkerd.io
|
||||
names:
|
||||
|
|
|
|||
|
|
@ -105,9 +105,12 @@ spec:
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
|
||||
creationTimestamp: null
|
||||
name: httproutes.policy.linkerd.io
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
labels:
|
||||
helm.sh/chart: linkerd-crds-
|
||||
linkerd.io/control-plane-ns: linkerd-dev
|
||||
spec:
|
||||
group: policy.linkerd.io
|
||||
names:
|
||||
|
|
|
|||
Loading…
Reference in New Issue