apiVersion: apps/v1 kind: Deployment metadata: name: agecemorg-deployment labels: app: agecemorg spec: replicas: 1 selector: matchLabels: app: agecemorg template: metadata: labels: app: agecemorg spec: containers: - name: agecemorg image: git.agecem.com/agecem/agecem-org:latest command: ['agecem-org', 'server', '--config', '/etc/agecemorg/config.yaml'] imagePullPolicy: Always ports: - containerPort: 8080 volumeMounts: - name: config-secret mountPath: '/etc/agecemorg/' readOnly: true - name: localtime mountPath: /etc/localtime readOnly: true volumes: - name: config-secret secret: secretName: agecemorg-config-secret items: - key: config.yaml path: config.yaml #- key: cert.pem # path: cert.pem #- key: key.pem # path: key.pem - name: localtime hostPath: path: /etc/localtime type: File