diff --git a/config/variants/postgres/kustomization.yaml b/config/variants/postgres/kustomization.yaml index e32f1a1c27..d5ad977cf8 100644 --- a/config/variants/postgres/kustomization.yaml +++ b/config/variants/postgres/kustomization.yaml @@ -5,3 +5,29 @@ resources: components: - ./wait/ - ../../image/oss/ + +#replacements: +#- source: +# kind: Secret +# name: my-secret +# targets: +# - select: +# name: ingress-kong +# kind: Deployment +# fieldPaths: +# - spec.template.spec.containers.[name=proxy].env.[name=KONG_ROUTER_FLAVOR].value +patches: +- patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: ingress-kong + namespace: kong + spec: + template: + spec: + containers: + - name: proxy + env: + - name: KONG_ROUTER_FLAVOR + value: traditional_compatible