From e90843a290937f35e86a563c977220cbf1dd1adb Mon Sep 17 00:00:00 2001 From: James Andariese Date: Thu, 20 Jul 2023 13:29:36 -0500 Subject: [PATCH] move template operator patch to a separate file --- template-operator/kustomization.yaml | 22 ++----------------- .../template-operator-memory.yaml | 17 ++++++++++++++ 2 files changed, 19 insertions(+), 20 deletions(-) create mode 100644 template-operator/template-operator-memory.yaml diff --git a/template-operator/kustomization.yaml b/template-operator/kustomization.yaml index 8ee5367..1314908 100644 --- a/template-operator/kustomization.yaml +++ b/template-operator/kustomization.yaml @@ -2,25 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization bases: - "https://github.com/flanksource/template-operator/releases/download/v0.7.1/operator.yml" -- https://raw.githubusercontent.com/strudelline-net/k8s-proxy-protocol-shim/main/crd.yaml -- https://raw.githubusercontent.com/strudelline-net/k8s-proxy-protocol-shim/main/template.yaml +- git::https://github.com/strudelline-net/k8s-proxy-protocol-shim?ref=main patchesStrategicMerge: -- | - apiVersion: apps/v1 - kind: Deployment - metadata: - name: template-operator-controller-manager - namespace: template-operator - spec: - template: - spec: - containers: - - name: manager - resources: - limits: - cpu: 500m - memory: 500Mi - requests: - cpu: 100m - memory: 120Mi +- template-operator-memory.yaml diff --git a/template-operator/template-operator-memory.yaml b/template-operator/template-operator-memory.yaml new file mode 100644 index 0000000..892c700 --- /dev/null +++ b/template-operator/template-operator-memory.yaml @@ -0,0 +1,17 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: template-operator-controller-manager + namespace: template-operator +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: 500m + memory: 500Mi + requests: + cpu: 100m + memory: 120Mi