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

replace patchesStrategicMerge with patches #1689

Merged
merged 20 commits into from
Apr 19, 2023

Conversation

smeet07
Copy link
Contributor

@smeet07 smeet07 commented Apr 12, 2023

Background

Fixes

#1564

Change Summary

Additional Notes

Testing Procedure

Related PRs or Issues

@smeet07 smeet07 requested a review from a team as a code owner April 12, 2023 17:06
@smeet07
Copy link
Contributor Author

smeet07 commented Apr 13, 2023

R: @NimJay

@bourgeoisor
Copy link
Member

This pipeline is failing: https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/.github/workflows/kustomize-build-ci.yaml

@smeet07 could look into this + add some more context in the description?

@smeet07
Copy link
Contributor Author

smeet07 commented Apr 13, 2023

This pipeline is failing: https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/.github/workflows/kustomize-build-ci.yaml

@smeet07 could look into this + add some more context in the description?

The patchesStrategicMerge has been deprecated and hence needs to be replaced by patches

@smeet07
Copy link
Contributor Author

smeet07 commented Apr 13, 2023

@bourgeoisor The error suggests that there is some syntax error in https://github.com/smeet07/microservices-demo/blob/patch-2/kustomize/components/cymbal-branding/kustomization.yaml but there isn't any according to me, could you help me find out if there is any

@smeet07
Copy link
Contributor Author

smeet07 commented Apr 18, 2023

@NimJay

@minherz
Copy link
Contributor

minherz commented Apr 19, 2023

@NimJay , you probably will need to fix the problem with the required code-tests and deployment-tests checks using the recommended technique.

Copy link
Contributor

@minherz minherz left a comment

Choose a reason for hiding this comment

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

the syntax for patches is incorrect. The problem is not only in the cymbal-branding component but in all components that have inline patch.
See examples for inline patching. TL;DR; you need to define a field patch: for each element of the patches list.

I fixed it for you.

@minherz minherz merged commit bf30937 into GoogleCloudPlatform:main Apr 19, 2023
mrcrgl pushed a commit to fiberfjord/microservices-demo that referenced this pull request Sep 11, 2023
* replace patchesStrategicMerge with patches
* chore: fix inline patching syntax

---------

Co-authored-by: minherz <minherz@gmail.com>
D-Mwanth pushed a commit to D-Mwanth/microservices-demo that referenced this pull request Mar 6, 2024
* replace patchesStrategicMerge with patches
* chore: fix inline patching syntax

---------

Co-authored-by: minherz <minherz@gmail.com>
This pull request was closed.
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