#! serviceA-deployment.yaml
# Generated code, do not edit
apiVersion: apps/v1
kind: Deployment
metadata:
    name: servicea
    namespace: {{ .Values.namespace }}
    labels:
        com.docker.compose.project: bridge
        com.docker.compose.service: serviceA
        app.kubernetes.io/managed-by: Helm
spec:
    replicas: {{ .Values.deployment.defaultReplicas }}
    selector:
        matchLabels:
            com.docker.compose.project: bridge
            com.docker.compose.service: serviceA
    strategy:
        type: {{ .Values.deployment.strategy }}
    template:
        metadata:
            labels:
                com.docker.compose.project: bridge
                com.docker.compose.service: serviceA
                com.docker.compose.network.private-network: "true"
        spec:
            containers:
                - name: servicea
                  image: {{ .Values.serviceA.image }}
                  imagePullPolicy: {{ .Values.serviceA.imagePullPolicy }}
                  resources:
                    limits:
                        cpu: {{ .Values.resources.defaultCpuLimit }}
                        memory: {{ .Values.resources.defaultMemoryLimit }}
                  ports:
                    - name: servicea-8080
                      containerPort: 8080
                  volumeMounts:
                    - name: etc-my-config1-txt
                      mountPath: /etc/my-config1.txt
                      subPath: my-config
                      readOnly: true
            volumes:
                - name: etc-my-config1-txt
                  configMap:
                    name: {{ .Values.projectName }}
                    items:
                        - key: my-config
                          path: my-config
