properly reflect the changes required by the argo applicationSet
This commit is contained in:
13
base/name_reference.yaml
Normal file
13
base/name_reference.yaml
Normal 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
|
||||
Reference in New Issue
Block a user