apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - ../../base

namespace: anyway-backend
nameSuffix: -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
  - path: patch-deployment-memcached-address.yaml
    target:
      kind: Deployment
      name: anyway-backend