Skip to content

Commit

Permalink
charts: drop chart version from resource labels
Browse files Browse the repository at this point in the history
Fixes #846

Signed-off-by: Francesco Giudici <[email protected]>
  • Loading branch information
fgiudici committed Sep 30, 2024
1 parent 3df501d commit 7c1f6f9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: machineinventories.elemental.cattle.io
spec:
Expand Down Expand Up @@ -322,7 +321,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: machineinventoryselectors.elemental.cattle.io
spec:
Expand Down Expand Up @@ -533,7 +531,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: machineinventoryselectortemplates.elemental.cattle.io
spec:
Expand Down Expand Up @@ -772,7 +769,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: machineregistrations.elemental.cattle.io
spec:
Expand Down Expand Up @@ -1149,7 +1145,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: managedosimages.elemental.cattle.io
spec:
Expand Down Expand Up @@ -2691,7 +2686,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: managedosversionchannels.elemental.cattle.io
spec:
Expand Down Expand Up @@ -3199,7 +3193,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: managedosversions.elemental.cattle.io
spec:
Expand Down Expand Up @@ -3609,7 +3602,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: metadata.elemental.cattle.io
spec:
Expand Down Expand Up @@ -3670,7 +3662,6 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'
release-name: '{{ .Release.Name }}'
name: seedimages.elemental.cattle.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/version: {{ .Chart.Version }}
name: {{ .Release.Name }}
spec:
replicas: {{ .Values.replicas }}
Expand Down
1 change: 0 additions & 1 deletion config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ commonLabels:
release-name: '{{ .Release.Name }}'
cluster.x-k8s.io/provider: infrastructure-elemental
cluster.x-k8s.io/v1beta1: v1beta1
helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version }}'

commonAnnotations:
app.kubernetes.io/instance: '{{ .Release.Name }}'
Expand Down

0 comments on commit 7c1f6f9

Please sign in to comment.