-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix breaking examples #5024
fix breaking examples #5024
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
app.name=Staging Kinflate Demo | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: The README.md specifies an
Apparently the justification there is that maintenance is easier if we separate the credentials out into a separate file: https://github.com/kubernetes-sigs/kustomize/blob/master/examples/springboot/README.md?plain=1#L95-L99. Feel free to ignore this comment. I don't think it's important, only an observation. |
||
spring.jpa.hibernate.ddl-auto=update | ||
spring.datasource.url=jdbc:mysql://<production_db_ip>:3306/db_example | ||
spring.datasource.username=root | ||
spring.datasource.password=admin |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resources: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. error caused by There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Just saw Katrina's comment! |
||
- deployment.yaml | ||
- service.yaml | ||
configMapGenerator: | ||
- name: demo-configmap | ||
# behavior: merge | ||
files: | ||
- application.properties |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
resources: | ||
- ../../base | ||
patchesStrategicMerge: | ||
- patch.yaml | ||
- healthcheck_patch.yaml | ||
- memorylimit_patch.yaml | ||
patches: | ||
- path: patch.yaml | ||
- path: healthcheck_patch.yaml | ||
- path: memorylimit_patch.yaml | ||
namePrefix: production- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed legacy patch syntax is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used in other examples - is it worth updating those as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cailynse
I think I searched and fixed other examples where the removed legacy patch was used.
Could you find other places for it was used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry! I misunderstood, I was thinking
patchesStrategicMerge
which is being used in many placesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't worry!