Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(helm): remove duplicate keys in resources #4681

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Jul 27, 2022

Summary

kuma.egressLabels and kuma.ingressLabels already include
kuma.selectorLabels. The first Service selector was being
overwritten anyway.

Blocking #4671 but I think this should be an explicit PR.

Checklist prior to review

  • Link to docs PR or issue --
  • Link to UI issue or PR --
  • Is the issue worked on linked? --
  • Unit Tests --
  • E2E Tests --
  • Manual Universal Tests --
  • Manual Kubernetes Tests --
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? --

`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner July 27, 2022 07:08
@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2022

Codecov Report

Merging #4681 (895016a) into master (a4f8c17) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4681      +/-   ##
==========================================
- Coverage   46.48%   46.48%   -0.01%     
==========================================
  Files         684      684              
  Lines       46500    46500              
==========================================
- Hits        21617    21614       -3     
- Misses      22973    22975       +2     
- Partials     1910     1911       +1     
Impacted Files Coverage Δ
pkg/xds/cache/once/cache.go 82.05% <0.00%> (-5.13%) ⬇️
pkg/xds/cache/once/once.go 95.00% <0.00%> (-5.00%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4f8c17...895016a. Read the comment docs.

@michaelbeaumont michaelbeaumont enabled auto-merge (squash) July 27, 2022 07:40
Copy link
Contributor

@lahabana lahabana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha good catch!

@lahabana
Copy link
Contributor

@Mergifyio backport release-1.7 release-1.6 release-1.5

@lahabana
Copy link
Contributor

Needs this to be able to backport: #5592

mergify bot pushed a commit that referenced this pull request Jan 11, 2023
`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)
mergify bot pushed a commit that referenced this pull request Jan 11, 2023
`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

# Conflicts:
#	app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.defaults.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-grafana.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-loki.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-prometheus.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.overrides.golden.yaml
#	app/kumactl/data/install/k8s-deprecated/tracing/jaeger/all-in-one-template.yaml
#	deployments/charts/kuma/templates/egress-deployment.yaml
#	deployments/charts/kuma/templates/ingress-deployment.yaml
mergify bot pushed a commit that referenced this pull request Jan 11, 2023
`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

# Conflicts:
#	app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.defaults.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-grafana.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-loki.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-prometheus.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.overrides.golden.yaml
#	app/kumactl/data/install/k8s-deprecated/tracing/jaeger/all-in-one-template.yaml
#	deployments/charts/kuma/templates/egress-deployment.yaml
#	deployments/charts/kuma/templates/ingress-deployment.yaml
@mergify
Copy link
Contributor

mergify bot commented Jan 11, 2023

backport release-1.7 release-1.6 release-1.5

✅ Backports have been created

lahabana pushed a commit that referenced this pull request Jan 11, 2023
chore(helm): remove duplicate keys in resources (#4681)

`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

Co-authored-by: Mike Beaumont <[email protected]>
lahabana added a commit that referenced this pull request Jan 11, 2023
* chore(helm): remove duplicate keys in resources (#4681)

`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

# Conflicts:
#	app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.defaults.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-grafana.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-loki.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-prometheus.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.overrides.golden.yaml
#	app/kumactl/data/install/k8s-deprecated/tracing/jaeger/all-in-one-template.yaml
#	deployments/charts/kuma/templates/egress-deployment.yaml
#	deployments/charts/kuma/templates/ingress-deployment.yaml

* fix conflicts

Signed-off-by: Charly Molter <[email protected]>

Signed-off-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
lahabana added a commit that referenced this pull request Jan 11, 2023
* chore(helm): remove duplicate keys in resources (#4681)

`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

# Conflicts:
#	app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.defaults.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-grafana.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-loki.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-prometheus.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.overrides.golden.yaml
#	app/kumactl/data/install/k8s-deprecated/tracing/jaeger/all-in-one-template.yaml
#	deployments/charts/kuma/templates/egress-deployment.yaml
#	deployments/charts/kuma/templates/ingress-deployment.yaml

* fix conflicts

Signed-off-by: Charly Molter <[email protected]>

Signed-off-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
lukidzi pushed a commit that referenced this pull request Jan 11, 2023
* chore(helm): remove duplicate keys in resources (#4681)

`kuma.egressLabels` and `kuma.ingressLabels` already include
`kuma.selectorLabels`. The first `Service` `selector` was being
overwritten anyway.

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit 610662a)

# Conflicts:
#	app/kumactl/cmd/install/testdata/install-control-plane.with-egress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-helm-set.yaml
#	app/kumactl/cmd/install/testdata/install-control-plane.with-ingress.golden.yaml
#	app/kumactl/cmd/install/testdata/install-cp-helm/fix4496.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.defaults.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-grafana.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-loki.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.no-prometheus.golden.yaml
#	app/kumactl/cmd/install/testdata/install-observability.overrides.golden.yaml
#	app/kumactl/data/install/k8s-deprecated/tracing/jaeger/all-in-one-template.yaml
#	deployments/charts/kuma/templates/egress-deployment.yaml
#	deployments/charts/kuma/templates/ingress-deployment.yaml

* fix conflicts

Signed-off-by: Charly Molter <[email protected]>

Signed-off-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
Signed-off-by: Lukasz Dziedziak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants