diff --git a/tutor/templates/kustomization.yml b/tutor/templates/kustomization.yml index 1bfb637..7388f05 100644 --- a/tutor/templates/kustomization.yml +++ b/tutor/templates/kustomization.yml @@ -59,8 +59,12 @@ configMapGenerator: app.kubernetes.io/name: redis {{ patch("kustomization-configmapgenerator") }} +{%- if patch("k8s-override") || patch("kustomization-patches-strategic-merge") %} patchesStrategicMerge: +{%- if patch("k8s-override") %} - k8s/override.yml +{%- endif %} {{ patch("kustomization-patches-strategic-merge") }} +{%- endif %} {{ patch("kustomization") }}