apiVersion: apps/v1 kind: Deployment metadata: name: frontend spec: replicas: 1 selector: matchLabels: app: frontend template: metadata: labels: app: frontend spec: containers: - image: phico/frontend:2.0 imagePullPolicy: Always name: frontend ports: - name: frontend containerPort: 4200 env: - name: BACKEND_URI valueFrom: configMapKeyRef: name: frontend-config key: backend-uri - name: GUESTBOOK_NAME valueFrom: configMapKeyRef: name: frontend-config key: guestbook-name