move template operator patch to a separate file

This commit is contained in:
James Andariese 2023-07-20 13:29:36 -05:00
parent 6d0b1a6633
commit e90843a290
2 changed files with 19 additions and 20 deletions

View File

@ -2,25 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
bases: bases:
- "https://github.com/flanksource/template-operator/releases/download/v0.7.1/operator.yml" - "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 - git::https://github.com/strudelline-net/k8s-proxy-protocol-shim?ref=main
- https://raw.githubusercontent.com/strudelline-net/k8s-proxy-protocol-shim/main/template.yaml
patchesStrategicMerge: patchesStrategicMerge:
- | - template-operator-memory.yaml
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

View File

@ -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