apiVersion: apps/v1
kind: Deployment
metadata:
  name: auth-svc
spec:
  selector:
    matchLabels:
      app: auth-svc
      environment: dev
      role: authService
      tier: backend
  replicas: 1
  template:
    metadata:
      labels:
        app: auth-svc
        environment: dev
        role: authService
        tier: backend
    spec:
      containers:
      - name: auth-service
        image: nginx
        resources:
          requests:
            cpu: 100m
            memory: 100Mi
        ports:
        - containerPort: 80
        # securityContext:  
        #   # runAsUser: kappa
        #   # runAsNonRoot: true
        #   privileged: false
        #   allowPrivilegeEscalation: false
        #   readOnlyRootFilesystem: true
