move template operator patch to a separate file
This commit is contained in:
parent
6d0b1a6633
commit
e90843a290
|
@ -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
|
|
||||||
|
|
17
template-operator/template-operator-memory.yaml
Normal file
17
template-operator/template-operator-memory.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user