apiVersion: apps/v1
kind: Deployment
metadata:
  name: employee-server-app-deploy
spec:
  replicas: 3
  selector:
    matchLabels:
      app: employee-server-app
  template:
    metadata:
      labels:
        app: employee-server-app
    spec:
      containers:
      - image: employee-server-kubernetes-app:latest
        name: container1
        ports:
        - containerPort: 5000
        imagePullPolicy: IfNotPresent
        envFrom:
        - configMapRef:
            name: server-side-configs
        - secretRef:
            name: server-side-secrets