JAVA-20281 GitHub Issue: Error in kubernetes resource in spring cloud modules (#14532)

This commit is contained in:
anuragkumawat 2023-09-26 14:58:58 +05:30 committed by GitHub
parent 1efb25df79
commit 36ba51772a
1 changed files with 5 additions and 3 deletions

View File

@ -14,22 +14,24 @@ spec:
selector:
service: mongo
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mongo
spec:
replicas: 1
selector:
matchLabels:
name: mongodb-service
template:
metadata:
labels:
service: mongo
name: mongodb-service
name: mongodb-service
spec:
containers:
- args:
- mongod
- --smallfiles
image: mongo:latest
name: mongo
env: