update deployment for multi-environment setup
This commit is contained in:
18
overlays/stg/kustomization.yaml
Normal file
18
overlays/stg/kustomization.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
namespace: anyway-stg
|
||||
|
||||
images:
|
||||
- name: backend-image
|
||||
newName: git.kluster.moll.re/anydev/anyway-backend
|
||||
newTag: unstable
|
||||
|
||||
patches:
|
||||
- path: patch-ingress.yaml
|
||||
target:
|
||||
kind: IngressRoute
|
||||
name: anyway-ingress
|
3
overlays/stg/patch-ingress.yaml
Normal file
3
overlays/stg/patch-ingress.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- op: replace #action
|
||||
path: /spec/routes/0/match
|
||||
value: Host(`anyway-stg.anydev.info`) || Host(`anyway-stg.kluster.moll.re`)
|
Reference in New Issue
Block a user