properly reflect the changes required by the argo applicationSet

This commit is contained in:
2025-10-14 12:27:03 +02:00
parent 6a5c203f76
commit 751caf4233
11 changed files with 44 additions and 130 deletions

13
base/name_reference.yaml Normal file
View File

@@ -0,0 +1,13 @@
nameReference:
# Tie target Service metadata.name to IngressRoute's spec.routes.services.name
# Once Service name is changed, the IngressRoute referrerd service name will be changed as well.
- kind: Service
fieldSpecs:
- kind: IngressRoute
path: spec/routes/services/name
# same for the memcached service: since separate overlays may change its name the env variable in the deployment should be updated accordingly
- kind: Service
fieldSpecs:
- kind: Deployment
path: spec/template/spec/containers/env/value