---
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    sas.com/duname: filesservice
    sas.com/version: 2.10.1
  labels:
    app.kubernetes.io/name: files
    helm.sh/chart: files-2.10.1
  name: files
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: files
  template:
    metadata:
      labels:
        app: files
        app.kubernetes.io/name: files
    spec:
      containers:
      - env:
        - name: SAS_URL_SERVICE_TEMPLATE
          value: http://va40.itviya-dev0.sas.com
        envFrom:
        - configMapRef:
            name: convoy-shared-config
        - configMapRef:
            name: convoy-java-config
        image: repulpmaster.unx.sas.com/va-125.0.0-x64_redhat_linux_7-docker-testready/sas-files:2.10.1-20190817.1566003978971
        imagePullPolicy: IfNotPresent
        name: files
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        resources: {}
      initContainers:
      - envFrom:
        - configMapRef:
            name: convoy-shared-config
        image: docker.sas.com/dapage/init-blocker:1.6
        name: init-blocker
