properly reflect the changes required by the argo applicationSet
This commit is contained in:
@@ -5,7 +5,6 @@ resources:
|
||||
- ../../base
|
||||
|
||||
namespace: anydev-anyway-backend-prod
|
||||
# nameSuffix: -prod
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
@@ -21,7 +20,3 @@ patches:
|
||||
target:
|
||||
kind: IngressRoute
|
||||
name: anyway-ingress
|
||||
- path: patch-deployment-memcached-address.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: anyway-backend
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/0/value
|
||||
value: "memcached-prod:11211"
|
||||
@@ -1,6 +1,3 @@
|
||||
- op: replace
|
||||
path: /spec/routes/0/match
|
||||
value: Host(`anyway.anydev.info`) || Host(`anyway.kluster.moll.re`)
|
||||
- op: replace
|
||||
path: /spec/routes/0/services/0/name
|
||||
value: anyway-backend-prod
|
||||
value: Host(`anyway.anydev.info`) || Host(`anyway.kluster.moll.re`)
|
||||
|
||||
@@ -4,8 +4,9 @@ kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
namespace: anyway-backend
|
||||
nameSuffix: -stg
|
||||
namespace: anydev-anyway-backend-stg
|
||||
# nameSuffix: "" the suffix is added by argocd when deploying multiple instances through an applicationSet
|
||||
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
@@ -22,12 +23,7 @@ patches:
|
||||
target:
|
||||
kind: IngressRoute
|
||||
name: anyway-ingress
|
||||
- path: patch-deployment-memcached-address.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: anyway-backend
|
||||
- path: patch-deployment.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: anyway-backend
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/env/0/value
|
||||
value: "memcached-stg:11211"
|
||||
@@ -1,6 +1,3 @@
|
||||
- op: replace #action
|
||||
- op: replace #action
|
||||
path: /spec/routes/0/match
|
||||
value: Host(`anyway-stg.anydev.info`) || Host(`anyway-stg.kluster.moll.re`)
|
||||
- op: replace
|
||||
path: /spec/routes/0/services/0/name
|
||||
value: anyway-backend-stg
|
||||
value: Host(`anyway-stg.anydev.info`) || Host(`anyway-stg.kluster.moll.re`)
|
||||
|
||||
Reference in New Issue
Block a user