--- apiVersion: apps/v1 kind: Deployment metadata: name: agola-runservice spec: replicas: 1 selector: matchLabels: app: agola component: runservice template: metadata: labels: app: agola component: runservice spec: serviceAccount: agola containers: - name: agola image: {{ agola_image }} command: - /bin/agola - serve - "--config" - /mnt/agola/config/config.yml - "--components" - runservice - --embedded-etcd env: ports: - containerPort: 4000 volumeMounts: - name: config-volume mountPath: /mnt/agola/config - name: agola-localdata mountPath: /mnt/agola/local volumes: - name: config-volume secret: secretName: agola - name: agola-localdata emptyDir: {}