cahe 2 years ago
parent 15f2b4b515
commit 99e5e4b969

@ -4,14 +4,14 @@ resources:
- mycrd.yaml
patches:
- patch: |
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
apiVersion: apps/v1
kind: Deployment
metadata:
name: mycrd
name: argocd-configplugin-tester-deployment
# empty patch
- patch: |
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
apiVersion: apps/v1
kind: Deployment
metadata:
name: mycrd
name: argocd-configplugin-tester-deployment
# empty patch

@ -1,7 +1,31 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mycrd
name: argocd-configplugin-tester-deployment
labels:
app: argocd-configplugin-tester
creationTimestamp: null
spec: {}
spec:
selector:
matchLabels:
app: argocd-configplugin-tester
replicas: 2
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: argocd-configplugin-tester
spec:
containers:
- name: nginx
image: nginx
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
ports:
- containerPort: 80

Loading…
Cancel
Save